Skip to content

Commit 2851930

Browse files
repo: fill the knockout data + cut scratch/noise for open-source
Make the tree read as finished (complete-or-remove, everything kept locally): Fill: - games/README.md: rebuild the Knockout (073-104) table with real matchups, correct fixture links, and final results (was 32x 'TBD' + 32 dead placeholder links) - add the one missing game.md (101 Spain-France SF); now all 104 folders complete Cut noise (git rm --cached + gitignore, kept on disk): - predictions/: keep only the curated per-game baselines/; drop ~300 scratch dumps - analysis/: generated daily/drift briefs (ops output) - results/match_stats/: abandoned 6/104 enrichment (read by zero code); scrub its footnotes in 4 teams/*/stats.{json,md} + workflows/DAILY.md - research/: curate to the polished studies + add research/README.md index; drop 7 dated session-scratch snapshots Professional polish: - add CI (.github/workflows/ci.yml: pytest + validators + offline smoke) + README badge - data/README.md: add a Data sources & attribution section 186 tests pass; validators 104/52/48 green; offline scoring clean.
1 parent 811e818 commit 2851930

352 files changed

Lines changed: 197 additions & 110950 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
# Fast, self-contained checks: unit tests, data validators, and an offline scoring
4+
# smoke test. No secrets and no network access are required.
5+
on:
6+
push:
7+
branches: [main]
8+
pull_request:
9+
workflow_dispatch:
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v5
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: "3.11"
24+
cache: "pip"
25+
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install -r bot/requirements.txt
30+
31+
- name: Run unit tests
32+
run: PYTHONPATH=. python -m pytest bot/tests -q
33+
34+
- name: Validate data (results · referees · team stats)
35+
run: |
36+
PYTHONPATH=. python scripts/validate_results.py
37+
PYTHONPATH=. python scripts/validate_referee_stats.py
38+
PYTHONPATH=. python scripts/validate_team_stats.py
39+
40+
- name: Offline scoring smoke test (no API key)
41+
run: PYTHONPATH=. python -m bot run --offline --date 2026-06-11

.gitignore

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,26 @@ data/footballdata/
2222
data/api_cache/
2323
data/players/player_sot_rates.json
2424

25-
# Dry-run prediction run-dumps (ISO-timestamped); keep named files + baselines/
26-
predictions/*T*Z.jsonl
27-
predictions/*T*Z.md
28-
29-
# Transient text->market_id fire maps (working artifacts)
25+
# Prediction scratch dumps (kept locally); only the curated per-game baselines are tracked
26+
predictions/*
27+
!predictions/baselines/
3028
predictions/baselines/**/_fire_map.json
3129

30+
# Generated daily score/drift briefs (kept locally, not part of the public repo)
31+
analysis/
32+
33+
# Abandoned per-game box-score enrichment (6/104; kept locally)
34+
results/match_stats/
35+
36+
# Session-scratch research snapshots (superseded by results/RETROSPECTIVE.md; kept locally)
37+
research/INVESTIGATION_2026-07-01.md
38+
research/HEALTHCHECK.md
39+
research/STRATEGY_RESEARCH_2026-06-22.md
40+
research/LESSONS_R32_84-88.md
41+
research/API_DECISION.md
42+
research/EXPERIMENT_ROADMAP.md
43+
research/AUDIT_weaknesses.md
44+
3245
# raw screenshot dump (curated subset lives in docs/results/)
3346
docs/results-screnshots/
3447

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<img src="https://img.shields.io/badge/Peak-%2311-3FB950?style=flat-square&labelColor=0B1B33" alt="Peak rank">
1212
<img src="https://img.shields.io/badge/Score-3%2C410.67-F4C430?style=flat-square&labelColor=0B1B33" alt="Score">
1313
<img src="https://img.shields.io/badge/Beat%20crowd-67%25%20of%201%2C196-F4C430?style=flat-square&labelColor=0B1B33" alt="Beat crowd">
14+
<img src="https://img.shields.io/github/actions/workflow/status/DataAthleteChamp/probabilitycup-jumptrading/ci.yml?style=flat-square&labelColor=0B1B33&label=CI" alt="CI">
1415
<img src="https://img.shields.io/badge/license-MIT-4FB6FF?style=flat-square&labelColor=0B1B33" alt="License">
1516
<img src="https://img.shields.io/badge/python-3.11-4FB6FF?style=flat-square&labelColor=0B1B33" alt="Python">
1617
<img src="https://img.shields.io/badge/dry--run-by%20default-4FB6FF?style=flat-square&labelColor=0B1B33" alt="Dry-run by default">

analysis/2026-06-11.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

analysis/2026-06-12.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

analysis/2026-06-13.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

analysis/2026-06-14-civ-ecu.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)