9/17
Part 4 of 7 · Many triesLearn and do
Count from real tries instead of assuming they're independent
Real tries aren't independent: a task the agent misunderstands, it tends to misunderstand every time. So run each task n times, count the c that pass, and ask what share of the ways to pick k of those n tries contain a pass, or contain only passes. HumanEval did this with n = 200 samples per task.
print(f"pass@3 {pass_at_k(10, 6, 3):.3f}, pass^3 {pass_hat_k(10, 6, 3):.3f}")
An agent passed 6 of 10 tries on a task. Drawing 3 of those tries, about how often are all 3 passes?
Pick one to see what it prints.
Pick an answer above to see the rest