Compute Expected Utility
The ability to correctly compute the sum of the products of each outcome's utility and its probability.
Question template
In Job A, the chance of high job satisfaction is p1% (utility = u1), and the chance of low satisfaction is p2% (utility = u2). What's the expected utility?
Use it
from datasets import load_dataset
ds = load_dataset("narunraman/steer", "compute_expected_utility")curl "https://steer-benchmark.cs.ubc.ca/api/sample?element_name=compute_expected_utility&n=5&seed=42"
See the Reference for the parameters.