Commit History
-
Release polish: trim HF front-matter, add CODE_OF_CONDUCT, prune duplicate tests
Chaeyoon +1: Claude Opus 4.8- Trim README YAML front-matter to the HF Docker essentials (title, emoji, sdk, app_port, pinned) — shrinks the table GitHub renders; drops cosmetic-only keys. - Add CODE_OF_CONDUCT.md (Contributor Covenant 2.1) with a PHI-handling note. - Prune NHS checksum/context tests from test_recognisers.py (covered by test_nhs_number.py). - CI: trigger on main + PRs only (dev/feat branches removed). - README layout: note CHANGELOG, Dockerfile, and the Space entry point. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>2b0a07b -
Refactor to Gold-RAP structure: src/ package, tests/, docs/, data/, output/
Chaeyoon +1: Claude Opus 4.8Structure - Rename package noteguard/ -> src/; British spelling recognizers -> recognisers (file, method, and all imports; Presidio's add_recognizer untouched). - Streamlit app moved to repo root (streamlit_app.py); run_eval.py -> tests/. - Generated artifacts now write to output/ (was data/out/). Declutter - Remove empty app/ and experiments/ dirs, the committed results.json, and the stale docs/failed_experiments.md. Update docs/tool_card.md. Gold RAP ("analysis as a product") - pyproject.toml: pip-installable package + ruff/pytest config. - CI (.github/workflows/ci.yml) runs ruff + pytest on push/PR. - CHANGELOG.md; logging in the eval entry point. Notes - src/ stays one cohesive package (its modules import each other); evaluate.py is a library used by both src/trust_demo.py and tests/run_eval.py, so both are kept. Verified: pip install -e ".[dev]"; ruff clean; 23 tests pass; run_eval writes output/results.json. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>84981a4