lllin000_PaperForge/tests/cli
LLLin000 fc1dca429c Unify PFResult envelope: data.matches with consistent field names, --deep flag
- search.py: normalize FTS results to unified field set (score from rank,
  add text/heading/source keys). Result key unchanged (already 'matches').
- retrieve.py: rename data.chunks to data.matches in standard and deep paths.
  Map field names: paper_id->zotero_key, chunk_text->text, section_path->heading.
  Expand enrichment SQL to fetch journal and domain.
  --deep flag already wired in CLI parser.
- tests/cli/test_json_contracts.py: add contract tests verifying PFResult
  envelope shape, data.matches key presence, unified field names,
  --deep flag acceptance, and field type correctness.
2026-07-10 23:15:16 +08:00
..
snapshots/test_json_contracts/test_status_json_snapshot_regression/status_json chore: update status JSON snapshot for legacy backfilled fields 2026-06-05 13:00:40 +08:00
__init__.py feat(52-golden-datasets-cli-contracts): add CLI contract tests with snapshot integration 2026-05-08 23:32:03 +08:00
conftest.py test: lock OCR phase2 figure inventory contract 2026-06-05 00:08:30 +08:00
test_contract_helpers.py test: lock OCR phase2 figure inventory contract 2026-06-05 00:08:30 +08:00
test_error_codes.py test: lock OCR phase2 figure inventory contract 2026-06-05 00:08:30 +08:00
test_json_contracts.py Unify PFResult envelope: data.matches with consistent field names, --deep flag 2026-07-10 23:15:16 +08:00
test_text_contracts.py feat(52-golden-datasets-cli-contracts): add CLI contract tests with snapshot integration 2026-05-08 23:32:03 +08:00