A suite is a JSON plan for the documents, quantities and delivery conditions you want to generate. Use it to repeat a controlled test or compare matched versions of the same source.
--preflight option lists the planned documents and reports unsupported settings without creating output files.PAIRED SUITES
Hold the source still while delivery changes
In a paired suite, one source fixes the pristine content, model, layout, and seed. Each variant changes only declared delivery settings such as no_text, messed_up_text, scan_preset, and scan_strength. Every job receives a stable fixture_id and variant_id.
Pair clean and image-only
The bundled first_run.json plans two authored policy memos in clean and image-only conditions: four PDFs from two source groups. Paired quality is 100; use a mixture when you need visible character corruption.
Compare delivery truth
Canonical pages remain pristine. A modified PDF records delivered pages and matching geometry, so a scan test can be analyzed as a delivery condition rather than a new document.
Export the bundled starters to a new directory:
Run commands from the folder described in platform setup, and use a new output folder for each example.
Windows PowerShell
& '.\_internal\DocumentGenerator_v2.0_cli.exe' demo --write-examples suite-examplesLinux AppImage
./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli demo --write-examples suite-examplesLinux Flatpak
flatpak run com.docsetgenerator.DocSetGenerator --cli demo --write-examples suite-examplesPreview the plan without writing files:
Windows PowerShell
& '.\_internal\DocumentGenerator_v2.0_cli.exe' generate --suite suite-examples/first_run.json --preflightLinux AppImage
./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli generate --suite suite-examples/first_run.json --preflightLinux Flatpak
flatpak run com.docsetgenerator.DocSetGenerator --cli generate --suite suite-examples/first_run.json --preflightGenerate the suite into output/pairs:
Windows PowerShell
& '.\_internal\DocumentGenerator_v2.0_cli.exe' generate --suite suite-examples/first_run.json --output output/pairs --workers 4 --validateLinux AppImage
./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli generate --suite suite-examples/first_run.json --output output/pairs --workers 4 --validateLinux Flatpak
flatpak run com.docsetgenerator.DocSetGenerator --cli generate --suite suite-examples/first_run.json --output output/pairs --workers 4 --validateMIXTURE SUITES
Give each slice its own question
A mixture suite gives each group its own document type, count and settings. Give each group a distinct ID, especially when a type appears more than once.
{
"suite_version": "1.0",
"name": "mixed-ocr-damage",
"seed": 1234,
"reference_date": "2026-10-01",
"mode": "mixture",
"slices": [
{"id": "invoices-heavy", "type": "invoice", "count": 4, "options": {"quality": 30}},
{"id": "letters-clean", "type": "letter", "count": 6}
]
}
Quality is a delivery option with its own limits. Keep scan damage, visible character corruption, corrupt hidden text, and image-only output distinct in the plan.
SPLITS + COVERAGE
Keep related variants together
| Record | What it answers |
|---|---|
source_id | Which normalized pristine source a clean, image-only, and scan variant came from. |
fixture_id / variant_id | Which matched suite fixture and delivery condition produced a case. |
| Linked case or packet group | Which business documents or packet children must share a split assignment. |
suite.json | The resolved job list, including planned cells and conditions. |
coverage.json | Planned, produced, failed, and missing cells plus achieved split ratios. |
Existing split assignments stay stable when compatible variants are appended. If a new relationship connects groups with conflicting assignments, reconciliation is deterministic. Similar prose or a shared authored scenario in ordinary documents can still cross splits; grouping is based on recorded identities, not a promise of unseen writing styles.
REPLAY
Replay the recorded jobs
Replay the recipe that the generation step above wrote to output/pairs, into a new folder:
Windows PowerShell
& '.\_internal\DocumentGenerator_v2.0_cli.exe' generate --recipe output/pairs/dataset_recipe.json --output output/replayed --workers 4Linux AppImage
./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli generate --recipe output/pairs/dataset_recipe.json --output output/replayed --workers 4Linux Flatpak
flatpak run com.docsetgenerator.DocSetGenerator --cli generate --recipe output/pairs/dataset_recipe.json --output output/replayed --workers 4Recipes save the options and resources used for each job. For exact replay, use the same application build and resources; byte-for-byte output can differ between builds. The desktop’s Load saved settings… action imports supported settings for review. Use the CLI to replay recorded jobs.
The coverage report lists any documents that could not be generated. Packets require every planned document. If a run is interrupted, keep any recovery folder reported by the app until recovery completes.