table_all_corpora: the problem count was hardcoded as 1055; it is 855 (154+45+206+78+132+240) - now computed. Totals unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
vvs
2026-09-21 20:20:11 +01:00
co-authored by Claude Opus 5
parent 94d81f24d8
commit 80610e5c27
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ A' PER PROBLEM against each rival: wins/ties/losses (sign-test p); total differe
applied+GSL (132) chand 48/52/32 p=0.09 +0% brent 59/52/21 p=3e-05 -8% toms7 111/16/5 p=4e-27 -21% applied+GSL (132) chand 48/52/32 p=0.09 +0% brent 59/52/21 p=3e-05 -8% toms7 111/16/5 p=4e-27 -21%
FOURTH (240) chand 177/35/28 p=1e-27 -36% brent 143/60/37 p=7e-16 -56% toms7 178/44/18 p=3e-34 -55% FOURTH (240) chand 177/35/28 p=1e-27 -36% brent 143/60/37 p=7e-16 -56% toms7 178/44/18 p=3e-34 -55%
ALL SIX CORPORA (1055 problems): Aprime 13032 A 14460 base 21565 chandrupatla 16481 brent 24565 toms748 23649 ALL SIX CORPORA (855 problems): Aprime 13032 A 14460 base 21565 chandrupatla 16481 brent 24565 toms748 23649
+2 -1
View File
@@ -45,7 +45,8 @@ def main():
line += f" {rv[:5]} {w}/{len(a) - w - l}/{l} p={sign_p(w, l):.1g} {100 * (ta - to) / to:+.0f}%" line += f" {rv[:5]} {w}/{len(a) - w - l}/{l} p={sign_p(w, l):.1g} {100 * (ta - to) / to:+.0f}%"
print(line) print(line)
tot = {k: sum(cost(v) for s in NAMES for v in R[k][s].values()) for k in R} tot = {k: sum(cost(v) for s in NAMES for v in R[k][s].values()) for k in R}
print("\nALL SIX CORPORA (1055 problems):", n_all = sum(len(R["Aprime"][s]) for s in NAMES)
print(f"\nALL SIX CORPORA ({n_all} problems):",
" ".join(f"{k} {tot[k]}" for k in ("Aprime", "A", "base", "chandrupatla", "brent", "toms748"))) " ".join(f"{k} {tot[k]}" for k in ("Aprime", "A", "base", "chandrupatla", "brent", "toms748")))