# benchmark_protocol.py def preregister(question, metric, threshold, budget): return {"question": question, "metric": metric, "threshold": threshold, "budget": budget, "selfPromotionAllowed": False} def independent_decision(protocol, evidence): passed = evidence["score"] >= protocol["threshold"] return {"accepted": bool(passed), "decisionBasis": evidence["evidenceId"]}