__pycache__/
*.py[cod]
.venv/
venv/
*.egg-info/
dist/
build/
.pytest_cache/
.ruff_cache/
.env
*.jsonl
# EXCEPTION (2026-08-21): the citation-eval corpus is hand-built ground truth, not a
# downloaded corpus. It IS the artifact the eval rests on. The blanket *.jsonl rule
# silently excluded it from every commit for two days - `git add -A` reported success
# and touched nothing. Keep these tracked.
!evals/citation_eval/corpus_build/**/*.jsonl
!evals/citation_eval/runs/**/*.jsonl
# SEALED HOLDOUT (named rule added 2026-09-14). This file was already excluded by the
# blanket *.jsonl above, and it MUST stay excluded — a holdout present in a clone is not
# held out. But until today nothing NAMED it, so the seal held by accident: the blanket
# rule catches it, its sibling holdout_manifest.json is tracked, and that same blanket
# rule has already wrongly excluded something (see the 2026-08-21 exception above).
#
# A future negation reaching harness/ — say !evals/citation_eval/**/*.jsonl, which the
# two exceptions above do NOT reach — would start committing the sealed draw, and all
# three tests in tests/test_holdout_is_sealed.py would keep passing, because they guard
# the CONTENTS seal (no sealed item in the pool or the fixtures) and not the
# DISTRIBUTION seal. Named here so the exclusion is deliberate, and pinned by
# tests/test_the_holdout_seal_is_not_accidental.py so a regression fails loudly.
evals/citation_eval/harness/holdout_sealed.jsonl
# EXCEPTION (2026-09-18): per-item shadow-run scores. These are RESULTS, not a
# corpus — each is ~200KB and exists so a re-analysis (a threshold sweep, a
# calibration recut) costs nothing instead of another paid run. Without this the
# blanket rule above would have swallowed them exactly as it swallowed the
# hand-built corpus in 2026-08-21, and `git add` would have reported success.
#
# Deliberately scoped to reports/ and placed AFTER the sealed-holdout line above,
# so it cannot reach evals/citation_eval/** and cannot un-seal the draw — which is
# the specific hazard that line warns about.
!reports/*.jsonl
# EXCEPTION (2026-09-24): the real-series fabrication set, a drawn eval set whose
# selection rule was committed before the draw (evals/real_series_fabrication_set.py).
# Same shape as the two exceptions above: without this the blanket rule
# swallows it. Scoped to its own directory, after the sealed-holdout line, so it
# cannot reach evals/citation_eval/harness/.
!evals/reporter_miss_cost_set/*.jsonl
# Third-party eval corpora are downloaded, not vendored — see
# evals/lephantomcite.py for the fetch command.
evals/corpus/
.DS_Store

# Coverage-hole snapshot — a BUILD PRODUCT, deterministically rebuilt by
# evals/citation_eval/coverage_hole/build_snapshot.py from the live corpus.
#
# ⚠️ Note the distinction from the *.jsonl rule above, which wrongly excluded the
# hand-built eval corpus for two days: that data was the artefact and could not be
# regenerated. This is 132 MB of derived sqlite that can. **Its manifest — the
# withheld cluster ids and both snapshot hashes — IS the evidence and IS
# committed.** Ignore the build, keep the proof.
evals/citation_eval/coverage_hole/*.sqlite
evals/citation_eval/coverage_hole/beacon.snapshot.json

# Generated eval fixtures — build products of harness/build_fixtures.py, which is
# deterministic given the labeled corpus. The MANIFEST is committed: it records
# which label each document carries, and that is what a blind reviewer's answers
# get scored against.
evals/citation_eval/harness/fixtures/*.md
