Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 3.13 KB

CLAUDE.md

File metadata and controls

52 lines (41 loc) · 3.13 KB

Evalbar - working notes for Claude

A calibrated CT-win-probability eval bar for CS2 rounds (one map: de_inferno). The model is a ~70K-param GraphTemporalTransformer over a 20s/4Hz token window. See README.md for the pipeline.

GPU box workflow (Vast.ai)

Training runs on a rented Vast.ai RTX 4070 Ti Super (~$0.137/hr). It is NOT left running; the box is created per session and destroyed after. Drive it from this repo, not the web console:

  • /gpu up - create the cheapest matching box, provision it (clone, deps, dataset, wandb), and wait until it is ready. Backed by infra/vast.sh up.
  • /gpu status - show the current box and whether provisioning finished.
  • /gpu ssh -- <cmd> / infra/vast.sh ssh - run a command on the box (alias vast-evalbar).
  • /gpu sync - rsync local src/ to the box (editable install picks it up).
  • /gpu down - destroy the box (billing stops; dataset re-pulls from R2 next time).

The Mac orchestrates; the box is a pure GPU executor. Do NOT install Claude Code on the box (agent reasoning does not need a GPU). One-time setup (Vast API key, R2 bucket) is in infra/SETUP.md. The dataset lives in Cloudflare R2 (free tier, free egress); destroy-when-done is $0 idle, the only per-session data cost being Vast's metered inbound bandwidth to re-pull the 5.4GB (~$0.05-0.30/up; the offer search caps inet_down_cost to avoid gouging hosts). Always /gpu down when finished; never leave the box running.

Experiment methodology (learned the hard way)

  • Always multi-seed. Seed-to-seed std on val ct_win is ~0.012, larger than most config gaps. Report mean +/- std over >=5 seeds; treat any single-config delta below ~0.012 as no effect. Single-seed rankings are noise.
  • The deployable model is a 4-5 seed ensemble (~0.517), not the best single seed (0.5148, which is the lucky tail; the honest single-model mean is ~0.534).
  • The binding constraint is independent match-group count (~95), not model size, features, or training knobs. Estimated irreducible log-loss is ~0.47-0.48; the keeper covers ~80-85% of the reducible signal. Headroom is mid-round (30-90s) and needs more diverse data.
  • Confirmed null (do not re-litigate without new data): player-skill features, the v8 bomb-timer features, and the aux-weight sweep. Tier-1 only for training (do not blend skill tiers).

Keeper config

tiny_pg, full v8 dataset, batch 128, aux-weight 0.85, ~6 epochs (best epoch ~3; longer overfits). bf16 is auto-selected on CUDA. torch.compile is OFF by default (it recompiles on the ~60 variable batch sizes and hangs in validation; --compile is experimental only). Dataset QA is skipped by default (--qa to re-enable). Ensemble: infra/ensemble.py (pass per-seed run dirs -> per-seed log-loss, noise floor, averaged-prob ensemble). wandb: wandb.ai/paulphys/evalbar-neural.

Conventions

  • Writing: plain technical ASCII. No emojis, no em-dashes, no AI-lingo, no SOTA bragging. State numbers directly.
  • Git: commit straight to main (solo repo), do not branch first, do not push unless asked, no Co-Authored-By trailer.
  • Cost: destroy the box when done. Confirm outward-facing / irreversible actions before doing them.