1.4 KiB
1.4 KiB
Step 0: sample-smoke-conversions
Read First
- /AGENTS.md
- /PLAN.md
- /PROGRESS.md
- /docs/HARNESS.md
- /docs/IMPLEMENTATION_PLAN.md
- /docs/PRD.md
- /docs/CONVERSION_POLICY.md
- /phases/6-cli-runtime-resume/index.json
Task
Create controlled sample smoke conversion tests for the MVP corpus.
The tests should exercise the end-to-end pipeline on a small selected subset or page range first, then document which full documents are suitable for manual or slower regression runs.
Sprint Contract
- Done means: at least one text-layer sample and one mixed/scanned-risk sample can be converted in a controlled test path.
- Hard thresholds: tests have runtime bounds; sample selection comes from
samples/metadata.json; generated output is checked with quality gates. - Files owned:
tests/, sample metadata updates if needed,PROGRESS.md,phases/7-mvp-quality-hardening/index.json. - Dependencies: CLI/runtime and renderer phases complete.
Acceptance Criteria
python scripts\validate_workspace.py
.\venv\python.exe -m pytest tests
Verification
- Run the acceptance commands.
- Record sample coverage and any skipped slow tests in
PROGRESS.md. - Update this phase index.
Do Not
- Do not make every validation run process all long PDFs if runtime becomes impractical.
- Do not commit generated
output/bundles. - Do not weaken quality gates to pass broken output.