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
+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}%"
print(line)
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")))