Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/venue_bias.py, comparing visiting-team corrected distances at a venue against those same teams' away shots elsewhere in the same season.shot_eventsorvenue_bias_corrections.Residual-regime failure
The residual gate still fails in regime-aware mode, but not because
max |z| >= 2is an automatic veto. The remaining blockers are candidate venue-seasons classified as blocking (unexplained_or_confounded,population_shift_detected, orinsufficient_evidence) rather than supportedpersistent_biasortemporary_supported_regime.Latest artifact result:
delta = -0.000015)removed = -0.013, limit0.500)10blocking regimes,18supported regimes,max |z| = 4.067)5blocking regimes,22supported regimes,max |z| = 3.572)28candidate residuals,17supported by paired visiting-team evidenceVerification
wsl bash -lc "python3 -m venv /tmp/test-venv && /tmp/test-venv/bin/pip install -q pytest requests numpy scipy scikit-learn && /tmp/test-venv/bin/python -m pytest -q tests/test_venue_bias.py tests/test_validation.py tests/test_venue_correction_validation_export.py tests/test_venue_correction_validation_from_db.py"->81 passedpython scripts/check_knowledge_base_update.py --base-ref origin/main-> passedgit diff --check origin/main...HEAD-> cleangit diff --check-> cleanKnowledge base
Updated
knowledge_base/wiki/concepts/venue-scorekeeper-bias.md,knowledge_base/index.md, andknowledge_base/log.mdfor the paired/stratified distance evidence and refreshed live scorecard result.