Guide · Review and packets

Prepare synthetic records for eDiscovery workflow tests

Generate Bates-stamped PDFs and assemble mixed-document packets with a known owner for every page. Use the metadata and page boundaries to check your ingestion, splitting and review tools.

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

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 --validate

Linux 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 --validate

Linux 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 --validate

The 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-examples

Linux AppImage

./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli demo --write-examples ediscovery-examples

Linux Flatpak

flatpak run com.docsetgenerator.DocSetGenerator --cli demo --write-examples ediscovery-examples

Preview the plan without writing files:

Windows PowerShell

& '.\_internal\DocumentGenerator_v2.0_cli.exe' generate --suite ediscovery-examples/linked_packet.json --preflight

Linux AppImage

./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli generate --suite ediscovery-examples/linked_packet.json --preflight

Linux Flatpak

flatpak run com.docsetgenerator.DocSetGenerator --cli generate --suite ediscovery-examples/linked_packet.json --preflight

Generate the packets:

Windows PowerShell

& '.\_internal\DocumentGenerator_v2.0_cli.exe' generate --suite ediscovery-examples/linked_packet.json --output output/mixed-packets --workers 2 --validate

Linux AppImage

./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli generate --suite ediscovery-examples/linked_packet.json --output output/mixed-packets --workers 2 --validate

Linux Flatpak

flatpak run com.docsetgenerator.DocSetGenerator --cli generate --suite ediscovery-examples/linked_packet.json --output output/mixed-packets --workers 2 --validate

Create 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-split

Linux AppImage

./DocumentGenerator_v2.0.0_Linux-x86_64.AppImage --cli evaluate bundle --dataset output/mixed-packets --task split --out handoff/packet-split

Linux Flatpak

flatpak run com.docsetgenerator.DocSetGenerator --cli evaluate bundle --dataset output/mixed-packets --task split --out handoff/packet-split

Children 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 workflowsNot 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.

See packet workflows for setup and scoring, review and quarantine for page decisions, and the first run for a small generated dataset.