docpresser

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: Apache-2.0, MIT

README

Docpresser

Qualification and synthetic-workload harness for structured documents (YAML, JSON/I-JSON/JCS, XML, XHTML, SVG; OOXML and PDF in later profiles).

Status: initial architecture and build packet. Commands, subject drivers, and measurements described in the documentation below are planned until implemented and verified by execution evidence.

Docpresser generates or binds deterministic workload packs (including pinned 3leaps/structcorpus releases), drives document readers, emitters, canonicalizers, and extractors inside bounded out-of-process execution environments, and independently verifies retained evidence against the selected input pack.

Results separate four distinct axes and never collapse them into a single composite score:

  • Correctness: outcome against the pack's format or profile expectations (pass, fail, unsupported, inconclusive).
  • Adversarial containment: bounded structured refusal versus process crash, stack exhaustion, timeout, or out-of-memory termination under hostile inputs.
  • Migration divergence: structured behavioral differences between dialects or engines (for example YAML 1.2.2 Core Schema versus legacy YAML 1.1 scalars and merge keys), reported without treating an incumbent engine as the format oracle.
  • Telemetry: throughput, latency percentiles, peak physical RSS, and memory amplification ratios tied to recorded binary, toolchain, and host facts.

Documentation

Contributing

Read AGENTS.md alongside the canonical 3leaps Crucible role catalog and fierce-collaboration review standard.

License

Licensed under either of Apache-2.0 or MIT at your option.

Directories

Path Synopsis
cmd
docpresser command
internal
cmd
containment
Package containment supervises out-of-process subject drivers with wall-clock timeouts, process-group termination, isolated scratch directories, output caps, and child resource telemetry.
Package containment supervises out-of-process subject drivers with wall-clock timeouts, process-group termination, isolated scratch directories, output caps, and child resource telemetry.
driver
Package driver implements the out-of-process JSON/NDJSON subject driver client backed by the containment supervisor.
Package driver implements the out-of-process JSON/NDJSON subject driver client backed by the containment supervisor.
evidence
Package evidence records schema-validated run observations and manifests inside a confined evidence directory.
Package evidence records schema-validated run observations and manifests inside a confined evidence directory.
generate
Package generate produces deterministic synthetic structured-document packs using a seeded SplitMix64 PRNG.
Package generate produces deterministic synthetic structured-document packs using a seeded SplitMix64 PRNG.
model
Package model defines the governed data structures for docpresser/v0 packs, observations, run manifests, and verification reports.
Package model defines the governed data structures for docpresser/v0 packs, observations, run manifests, and verification reports.
oracle
Package oracle implements the zero-trust offline verifier for docpresser/v0 evidence bundles against their bound or generated packs.
Package oracle implements the zero-trust offline verifier for docpresser/v0 evidence bundles against their bound or generated packs.
pack
Package pack manages deterministic offline corpus packs and synthetic workload packs.
Package pack manages deterministic offline corpus packs and synthetic workload packs.
runner
Package runner orchestrates pack execution across target and baseline subject drivers and records the resulting evidence bundle.
Package runner orchestrates pack execution across target and baseline subject drivers and records the resulting evidence bundle.
schemas
docpresser/v0
Package v0 embeds and validates the governed docpresser/v0 JSON schemas.
Package v0 embeds and validates the governed docpresser/v0 JSON schemas.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL