39 lines
1.4 KiB
Markdown
39 lines
1.4 KiB
Markdown
# 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
|
|
```powershell
|
|
python scripts\validate_workspace.py
|
|
.\venv\python.exe -m pytest tests
|
|
```
|
|
|
|
## Verification
|
|
1. Run the acceptance commands.
|
|
2. Record sample coverage and any skipped slow tests in `PROGRESS.md`.
|
|
3. 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.
|