You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Close the CI/CD gap so dikw-data has the same deterministic floor as dikw-core
before Phase 1 dataset construction begins.
- pyproject: ruff + mypy (strict) config, mirroring dikw-core; ignore RUF001/2/3
(false positives on this bilingual zh/en codebase's embedded CJK text) and
scope-ignore E702 to the one procedural-pictogram generator.
- .pre-commit-config.yaml: local ruff + mypy hooks (uv run), matching CI.
- .github/workflows/ci.yml: uv sync -> ruff -> mypy src -> pytest -> validate
every dataset (shape gate, $0, no provider keys). Matrix 3.12/3.13.
- .github/workflows/eval-gate.yml + tools/check_baselines.py: a dataset change
(datasets/**) must land a new dated reports/BASELINES.md entry naming a
retrieval metric; override with the `no-baseline-needed` label. Unit-tested.
- .gitignore: track reports/BASELINES.md (the baseline log) while keeping per-run
artifacts ignored; ignore .impeccable/.
- Apply ruff autofixes (import sorting, unused-import / whitespace cleanup) across
scripts/, src/, web/, tests/ so the existing tree passes the new gate. Fix 3
real lint findings (RUF005 in run_eval.py, dead code in generate_queries_local)
and 2 mypy findings (unused ignore; int**int Any-widening in llm_client).
All green locally: ruff clean, mypy clean, 50 tests pass, 3 datasets validate.
Co-authored-by: Le He <[email protected]>
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
0 commit comments