Skip to content

score: proper scoring, calibration and aggregation; wagwan-score CLI - #62

Merged
SMC17 merged 1 commit into
mainfrom
engine/scoring
Nov 17, 2026
Merged

SMC17 merged 1 commit into
mainfrom
engine/scoring

Conversation

@SMC17

@SMC17 SMC17 commented Nov 17, 2026

Copy link
Copy Markdown
Owner

The scoring half of #23 (labels and baselines remain). Joins the existing Zig package instead of adding a second one. See commit for evidence.

🤖 Generated with Claude Code

The scoring layer for predict (#23) and for every forecast this project
and its owner make: Brier, log and spherical scores; Brier skill; Murphy
reliability/resolution/uncertainty decomposition with a calibration
table; linear, log-odds and geometric pooling with extremizing; median
and trimmed mean; CRPS for normal and ensemble forecasts. wagwan-score
scores any CSV of probability,outcome rows (zig build score -- file.csv).

Every expected value in the tests was computed independently in Python
before the Zig was written, and propriety is tested directly (expected
loss is minimized at the true probability). zig build test: 8/8 -> 18/18
on Zig 0.16.0; the replay demo is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SMC17
SMC17 merged commit 09a59a5 into main Nov 17, 2026
@SMC17
SMC17 deleted the engine/scoring branch November 17, 2026 17:51
SMC17 added a commit that referenced this pull request Nov 17, 2026
score: proper scoring, calibration and aggregation; wagwan-score CLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant