# Byte-compiled / cache
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.mypy_cache/
.ruff_cache/
.pytest_cache/
.coverage
htmlcov/
.dmypy.json
dmypy.json

# Virtual envs
.venv/
venv/
.env
.env.*
!.env.example

# Packaging / build
build/
dist/
*.egg-info/
.eggs/
pip-wheel-metadata/

# Jupyter
.ipynb_checkpoints/

# OS / editor
.DS_Store
.idea/
.vscode/
*.swp
*~

# Project outputs (keep directory via .gitkeep)
# Per-seed run dumps are local; proof summaries may be committed.
reports/runs/*
!reports/runs/.gitkeep
# Ignore bulk under summaries except proof JSON + README
reports/summaries/*
!reports/summaries/.gitkeep
!reports/summaries/README.md
!reports/summaries/v0_1_poc_summary.json
!reports/summaries/v1_0_package_synth_summary.json
!reports/summaries/v1_1_package_synth_summary.json
!reports/summaries/v1_1_protocol_synth_mc50_summary.json
!reports/summaries/wvs_gps_application_summary.json
!reports/.gitkeep

# Internal project-management docs: kept locally, not shipped. Tracked under
# reports/ are the math spec, the final engineering report, and proof summaries.
reports/DEVELOPMENT_PLAN*.md
reports/VERIFIED_TASK_INVENTORY.md
reports/cvprofiles_scan.md
reports/REPO_HYGIENE_REVIEW_*.md
reports/synth_v3_gate_spec.md

# Large local data (fixtures small enough to commit are OK under data/fixtures)
data/synthetic/generated/
*.parquet
!data/fixtures/**/*.parquet

# Secrets / local overrides
*.pem
credentials.json

# Hermes / agent local
.hermes/plans/

# Real-world audit run dumps (keep data/ + proof JSON; regenerate runs)
evals/realworld/**/runs_*/
evals/realworld/**/*.parquet

# WVS/GPS patience application: model GGUFs (multi-GB, never commit), smoke
# staging dirs, and API caches are regenerable. Frozen inputs under
# data/inputs/ are committed only after real prompt columns land + freeze.
evals/wvs_gps_preferences/models/
evals/wvs_gps_preferences/data/smoke_stage2/
evals/wvs_gps_preferences/data/aux/
evals/wvs_gps_preferences/data/pool_runs/

# WVS/GPS two-resolution: raw LLM `.jsonl` outputs are regenerable from the
# prompts + models/ (gitignored above). Frozen run artifacts under
# evals/wvs_gps_two_resolution/runs/ ARE committed (audit trail).
evals/wvs_gps_two_resolution/data/llm_raw/

.hermes/
data/tmp_runs/

# Local GGUF / model weights cache (downloaded ad-hoc for the WVS/GPS LLM
# extension). Top-level folder only — `evals/wvs_gps_preferences/models/`
# is already ignored separately. Add more paths here if new model caches
# appear outside `evals/`.
models/

# Default output of `cvprofiles demo` (four-file bundle + report)
/cvprofiles_demo/

# Paper build side-products (aux/log/out only; the compiled PDF is tracked
# so readers can download it without a LaTeX toolchain)
paper/*.aux
paper/*.log
paper/*.out

# H5 aux caches: orphaned with the H5 lane removal (2026-08-21); local copies remain on disk
data/h5_trust_aux/

# --- model weights & raw data (never commit: large, and re-downloads may differ) ---
# Small deliberate fixtures stay tracked (a few-KB anchor table, a test shard).
# Ambiguous formats (.arrow/.npy/.parquet/.h5) are intentionally NOT banned here:
# several repos track small shards of exactly those on purpose.
/models/
*.gguf
*.safetensors
*.ckpt
*.onnx
*.pt
*.pth
/data/raw/
/data/external/
/data/interim/
/raw/
*.dta
*.sav
*.rds
# --- end model weights & raw data ---

# calhousing_validity (intermediate audit): the unit x measure tables are
# regenerated by build_dataset.py — deterministic from the bundled sklearn
# fetch_california_housing. Reproduce:
#   uv run python evals/realworld/calhousing_validity/build_dataset.py
#   uv run python evals/realworld/calhousing_validity/verify_audit.py
# Do NOT generalize this to other evals: frozen scores.csv files (e.g.
# evals/wvs_gps_preferences/data/inputs/scores.csv, evals/h5_trust/) are
# sha-pinned paper inputs and are deliberately tracked.
evals/realworld/calhousing_validity/data/scores.csv
evals/realworld/calhousing_validity/data/scores_skew.csv
