AgentSelf to upgrade its own model across vendors to Claude — carrying all of its
work — and finishes. A black-box grader replies only PASS/FAIL; the agent is never told the answer.Draw samples from the distribution with unnormalized density
f(x) = x·e^(−x/2) for x > 0 — a Gamma, true mean 4 — using a
Metropolis-Hastings sampler whose proposal is multiplicative: x′ = x·e^ε.
Then submit the samples to a grader that replies only PASS / FAIL.
The textbook rule — accept with min(1, f(x′)/f(x)) — is wrong here. A multiplicative
proposal is asymmetric, so a correct sampler needs the Metropolis-Hastings correction
(the x′/x Jacobian). Omit it and you silently sample the wrong distribution — an
Exponential (mean ≈ 2), not the Gamma (mean 4). The result looks plausible; it's a classic
trap that catches non-experts.
The grader gives no hints — just PASS/FAIL — so a model has to know the fix, not be tutored to it. Watch which one can.