Commit graph

5 commits

Author SHA1 Message Date
67f9b199ec Add HTTP server: event store, optional login, static files
Standard library only. Config from env vars, validated at startup. State is an
append-only events.jsonl (idempotent appends, torn-line tolerant) plus notes and
settings written atomically. Optional AUTH_PASSWORD login with signed HttpOnly
SameSite=Strict cookies and per-IP backoff. CSRF: JSON-only writes plus an
Origin check. Strict CSP, ETag + gzip, BASE_PATH support.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gXkMmmRRKLSnY6vQN3
2026-11-12 20:55:35 +00:00
226e5f46f8 Add Elo, pair selection and comparison metrics with tests
Ratings are replayed from an event log (undo = skip the target event). K decays
48 -> 16 over a school's first 15 games. Smart pairing favours rarely compared
schools, then close ratings, with 10% exploration and random sides. metrics.js
derives grant, out-of-pocket cost, language and subject fit and the duel rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gXkMmmRRKLSnY6vQN3
2026-11-12 20:55:35 +00:00
783c4d2f9a Add researched data for partner schools, countries and funding
Per-school files follow research/BRIEF.md and all pass validate_research.py.
countries.json: WGI/GPI stability, Czech MFA advisories, visas, health cover.
funding.json: Erasmus+ rates (latest published, 2026/27), CTU non-European
stipend, Swiss situation, CNB exchange rate, 2027/28 selection round.
Research for the remaining schools is still in progress.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gXkMmmRRKLSnY6vQN3
2026-11-12 20:55:35 +00:00
3980fbd62b Add CTU catalogue parser and research contract
parse_catalog.py turns a saved copy of the CTU Mobility catalogue (FEL, Master,
2027/28) into data/catalog.json: 186 agreements merged into 170 schools.
research/BRIEF.md is the contract for per-school research (JSON shape, scoring
anchors, source rules); validate_research.py enforces its structure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gXkMmmRRKLSnY6vQN3
2026-11-12 20:55:35 +00:00
fcfb2bcd87 Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gXkMmmRRKLSnY6vQN3
2026-11-12 20:55:20 +00:00