Build your test records
Test Bates numbering, metadata, and page ownership
V2 can stamp generated PDFs with a configurable Bates prefix and starting number. A current run records the document and page relationships in its manifest and annotations. A packet SuiteSpec can then assemble PDF children in deterministic order, optionally add blank separators, and write packet_truth.json so each physical page maps to a logical child.
Use these synthetic records to test ingestion, page splitting, metadata handling and review workflows in your own system. See the supported workflows below before choosing an integration.
Configurable main generator
Stamp a selected PDF set with explicit numbering
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' generate --type invoice memo --count 2 --seed 42 --output output/bates-pdfs --bates --bates-prefix CASE --bates-start 1001 --validateLinux AppImage
./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli generate --type invoice memo --count 2 --seed 42 --output output/bates-pdfs --bates --bates-prefix CASE --bates-start 1001 --validateLinux Flatpak
flatpak run com.docsetgenerator.DocSetGenerator --cli generate --type invoice memo --count 2 --seed 42 --output output/bates-pdfs --bates --bates-prefix CASE --bates-start 1001 --validateThe prefix accepts 1–40 ASCII letters, digits, underscores, or hyphens; the starting number is positive. The generator advances numbering across page counts and checks that the complete identifier fits the page. Keep the output folder and recipe together when a reviewer needs to reproduce the run.
Mixed-document packets
Assemble a packet when page boundaries are the test
A packet plan in a PDF SuiteSpec, such as "packets":{"size":[2,5],"blank_separators":true}, assembles generated documents into packets. The bundled linked_packet.json starter is a complete example. Export the starters to a new folder:
Windows PowerShell
& '.\_internal\DocumentGenerator_v2.0_cli.exe' demo --write-examples ediscovery-examplesLinux AppImage
./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli demo --write-examples ediscovery-examplesLinux Flatpak
flatpak run com.docsetgenerator.DocSetGenerator --cli demo --write-examples ediscovery-examplesPreview the plan without writing files:
Windows PowerShell
& '.\_internal\DocumentGenerator_v2.0_cli.exe' generate --suite ediscovery-examples/linked_packet.json --preflightLinux AppImage
./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli generate --suite ediscovery-examples/linked_packet.json --preflightLinux Flatpak
flatpak run com.docsetgenerator.DocSetGenerator --cli generate --suite ediscovery-examples/linked_packet.json --preflightGenerate the packets:
Windows PowerShell
& '.\_internal\DocumentGenerator_v2.0_cli.exe' generate --suite ediscovery-examples/linked_packet.json --output output/mixed-packets --workers 2 --validateLinux AppImage
./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli generate --suite ediscovery-examples/linked_packet.json --output output/mixed-packets --workers 2 --validateLinux Flatpak
flatpak run com.docsetgenerator.DocSetGenerator --cli generate --suite ediscovery-examples/linked_packet.json --output output/mixed-packets --workers 2 --validateCreate a split-task bundle for your parser:
Windows PowerShell
& '.\_internal\DocumentGenerator_v2.0_cli.exe' evaluate bundle --dataset output/mixed-packets --task split --out handoff/packet-splitLinux AppImage
./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli evaluate bundle --dataset output/mixed-packets --task split --out handoff/packet-splitLinux Flatpak
flatpak run com.docsetgenerator.DocSetGenerator --cli evaluate bundle --dataset output/mixed-packets --task split --out handoff/packet-splitChildren are grouped in fixed order. Blank separator pages have an explicit role, and split evaluation scores boundaries and document classes separately. Packet assembly keeps linked children together and applies Bates stamping once after assembly when the suite requests it.
Supported workflows
Check what your integration needs
| Supported workflows | Not included |
|---|---|
| Bates-stamped generated PDFs with metadata and hashes. | Concordance, Opticon, Relativity, or other industry load-file adapters. |
| Deterministic mixed PDF packets and page-to-child truth. | General email-attachment dossiers or arbitrary source-record ingestion. |
| Manual artifact quarantine and split evaluation for supported packet inputs; page review for supported individual documents. | Packet-page Label Studio review, privilege truth, legal conclusions, redaction truth, or an in-app legal review system. |
Related workflows
See packet workflows for setup and scoring, review and quarantine for page decisions, and the first run for a small generated dataset.