Personal Best (Gold) -- unreachable and easily hacked

The grader for the Personal Best challenges reads GRADES, GATE_COSTS, tape_cost, baseline_cost

etc. as module globals at call time, and submission_circ executes in that same module. A single

line inside submission_circ (the only editable block) changes the grade without actually optimizing circuits.

Reproduction (one line added under in submission_circ)

GRADES\['Gold'\] = 10.0

With an ordinary 4^n - 1 rotation circuit (21.0% saving, i.e. Silver), returns “grade”: “Gold” and check() passes.

A second variant produces a more plausible report by changing the cost of the gates

GATE_COSTS\[qp.RZ\] = GATE_COSTS\[qp.RY\] = GATE_COSTS\[qp.RX\] = 17

which reports “saving_at_5_qubits”: “69.5%”, “cost”: [255, 1071, 4335, 17391], and passes.

I verified both locally against the unmodified template.

I don’t know why this problem was framed like this, but hopefully it is used to test the breach of agent usage.