Article proof-reading: the introduction no longer says the four new corpora were unseen (three were used to close the last two gaps; only the fourth was run once after the code was frozen); a repeated clause in 8.2 merged. verify_article also recomputes every sign-test p printed in Section 9. Server: 411 OK, 0 BAD; regression x2 1226 passed, 0 failed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -800,6 +800,12 @@ def verify_flat_regime_and_oos():
|
||||
check("applied, variant carried: totals", (sum(cost(v) for v in app["A"].values()),
|
||||
sum(cost(v) for v in app["chandrupatla"].values())),
|
||||
(1580, 1382))
|
||||
# every sign-test p the paper prints in Section 9, at the precision printed
|
||||
for (w, l), printed in (((103, 31), "3e-10"), ((31, 10), "0.001"), ((108, 65), "0.001"),
|
||||
((44, 20), "0.004"), ((48, 32), "0.09"), ((177, 28), "1e-27"),
|
||||
((107, 22), "1e-14"), ((43, 15), "0.0003"), ((105, 67), "0.005"),
|
||||
((38, 30), "0.4")):
|
||||
check(f"sign test p for {w}:{l}", f"{sign_p(w, l):.1g}", printed)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user