Scan your whole stack
Are you using tracebook-conformance?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.7.1
tracebook-conformance was last scanned on 25 Nov 2026 at version 0.7.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.7.1 LATEST | 25 Nov 2026 | No rules fired |
| 0.7.0 | 25 Nov 2026 | No rules fired |
Findings for v0.7.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.7.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Tracebook runs the same normalized order-lifecycle trace against an inspectable reference engine and your Rust, C++, Java, Python, or other candidate. It stops at the first semantic difference, explains what drifted, and reduces the failure to a deterministic JSONL reproducer.
Give it an engine. Get back the smallest trace that proves where it disagrees.
Quick start · Real failure · Profiles · Qualification · Adapters · CI · Architecture · Research
Tracebook requires Python 3.10-3.13. Install the dependency-light conformance distribution and materialize the current hash-verified adversarial suite:
If this environment already contains tracebook-sim 0.5.x, remove that
legacy package owner before installing either 0.7.1 distribution:
python -m pip uninstall -y tracebook-sim
python -m pip install "tracebook-conformance==0.7.1"
tracebook-conformance sample ./tracebook-suite-v2 --suite-version v2
tracebook-conformance --help
Suite v2 is the current default; the explicit option makes the copied contract
unambiguous if a later release adds another suite. These commands do not
require a source checkout, NumPy, or psutil. Install
tracebook-sim==0.7.1 instead when you need the simulator, benchmark,
profiling, visualization, replay, or corpus commands. Users migrating that
distribution from 0.5.x must use the uninstall-first handoff above:
python -m pip install "tracebook-sim==0.7.1"
The package-boundary decision documents the one-time ownership handoff and recovery command. A candidate engine remains a separate process by design. Once it speaks the versioned NDJSON protocol, run a deterministic campaign:
tracebook-conformance campaign \
--profile fifo-limit-v1 \
--seed 42 \
--traces 25 \
--events-per-trace 200 \
--candidate-cmd './matching-engine --tracebook-stdio' \
--corpus-dir .tracebook/corpus \
--stop-after-first \
--junit-output .tracebook/conformance.xml
Exit code 0 means every requested trace conformed. Exit code 1 means a
semantic difference was preserved with the original failure, reduced
reproducer, semantic diff, coverage evidence, campaign metadata, and JUnit
result. Exit code 2 is reserved for an invalid configuration, adapter
protocol, process, or filesystem failure.
For a working adapter before writing your own, use the native orderbook-rs walkthrough or the small Python process example. The Python example demonstrates protocol framing around Tracebook's own reference adapter; it is not an estimate of real engine-integration effort. Native integrations must faithfully translate lifecycle operations, numeric representations, ordered snapshots, and source IDs. The frozen design-partner study records adapter files ranging from 672 to 1,056 Rust lines and an 865-line Go adapter plus 130 lines of tests. Engine maintainers and independent evaluators can also open a structured engine qualification report. Successful and blocked attempts are both useful: the report records time to evidence, adapter size, protocol questions, profile boundaries, and whether the result belongs in the candidate project's CI.
Flash's matching-engine benchmark
reported a historical FIFO defect in an orderbook-rs dependency: after a
partial fill, the oldest maker's remainder moved behind a later maker at the
same price. Upstream tracked the defect as
orderbook-rs #88
and fixed it in
PR #131.
Flash's merged schema-v1 export localizes its canonical stream at sequence
15738. Tracebook converts the exact 15,739-message prefix and reduces it to
four actual workload events. Independently, seed 42 generates a portable
Tracebook probe whose first incorrect trade is event 173; that trace also
reduces to four events while preserving the same maker-priority defect.
With the 0.7.1 wheel installed, rustup with Rust 1.88.0, a native linker, and access to the pinned Cargo dependencies, run this in an empty directory:
tracebook-conformance fifo-proof
It rebuilds both candidates, minimizes the full Flash prefix in 19 of the
default 100 runs, and writes the verified four events to fifo-proof.jsonl. On the final sell, FIFO requires
maker 146075. The affected engine fills maker 185199 first.
The reduced trace then becomes an ordinary CI regression: it must reproduce
against the affected revision and pass against orderbook-rs 0.12.0.
This is a retrospective import of a defect Flash discovered, not a Tracebook discovery claim. The value Tracebook adds is deterministic generation, first-divergence localization, minimization, replay, and a reusable regression artifact.
| Surface | Comparison |
|---|---|
| Outcomes | Applied or rejected status plus stable rejection reason |
| Trades | Ordered maker/taker source IDs, side, price, and quantity |
| Resting state | Full price-time queue order, remaining quantity, owner, and symbol |
| Lifecycle | New, cancel, reduce, replace, clear, duplicate, and inactive requests |
| Instructions | Limit, market, IOC, FOK, and configured self-trade prevention |
| Isolation | Independent multi-symbol books and canonical state hashes |
| Evidence | Candidate-independent semantic coverage for compared events |
Tracebook transfers compact observations after each event and requests a full queue snapshot only at divergence and completion. Candidate execution time is not presented as engine latency because it includes process, serialization, and adapter overhead.
Profiles are versioned contracts. Existing names do not silently acquire new behavior, so seeds and campaign hashes remain reproducible.
| Profile | Contract |
|---|---|
fifo-limit-v1 |
FIFO limit orders, partial fills, cancel, reduce, replace, clear, duplicates, inactive requests, and multiple symbols |
fifo-full-v1 |
fifo-limit-v1 plus market, IOC, and FOK instructions |
fifo-partial-fill-v1 |
Portable FIFO lifecycle plus the real partial-fill continuation probe |
| Bundled suite v2 (current default) | Nine adversarial fixtures covering FIFO, instructions, encounter-based STP, tick grids, deep cancellation, multiple symbols, and pro-rata |
Campaigns use specified SplitMix64 trace seeds and candidate-independent generation. Immutable suite v1 remains available explicitly for reproducing its original eight-case contract. Reports distinguish semantic workload coverage from Python source coverage.
Read the profile, protocol, hashing, and minimizer contracts.
Use one command for the fixed and generated evidence inside the contract your engine actually claims:
tracebook-conformance qualify \
--profile fifo-limit-v1 \
--seed 42 \
--traces 25 \
--events-per-trace 200 \
--candidate-cmd './matching-engine --tracebook-stdio' \
--output-dir .tracebook/qualification
The atomic bundle includes qualification.json, qualification.xml, selected
fixed-suite results, campaign results, semantic coverage, and any minimized
failure. Qualification selection contract v1 uses bundled suite v2 by default;
these are separate version boundaries. fifo-limit-v1 qualification does not
run STP or pro-rata cases, so unsupported features stay explicit without
becoming false failures.
The 0.7.1 wheel includes the captured evidence commands. Record the wheel hash and candidate revision with the two qualification reports.
For release evidence, do not rely on one successful workspace. Start a captured
pair with tracebook-conformance evidence-init, run the canonical qualification
once in each generated clean root with the plan's pinned candidate name,
revision, and snapshot, then run tracebook-conformance evidence-verify. The
verifier emits a compact evidence-manifest.json only when both source trees
remain unchanged and both qualification bundles agree on terminal result,
candidate metadata, deterministic IDs, counts, coverage, and every artifact
byte. See the captured evidence workflow.
Read the research-grounded roadmap and adoption experiment.
flowchart LR
G["Versioned campaign"] --> R["Runner"]
T["Normalized trace"] --> R
R --> O["Reference engine"]
R --> A["NDJSON adapter"]
A <--> E["Candidate engine"]
O --> D["Semantic diff"]
A --> D
D --> P["JSON / JUnit"]
D --> M["Minimizer"] --> B["Failure bundle"]
The process boundary keeps the candidate independent of Tracebook's Python implementation. Adapters translate only between native engine operations and the canonical protocol.
Open the detailed component map.
| Candidate | Native surface | Evidence |
|---|---|---|
intrepidkarthi/orderbook v0.26.0 |
Go submitted-order CLOB using native process, cancel, reduce, replace, FIFO/pro-rata, STP, trades, and resting-order inspection | fifo-limit-v1 and fifo-partial-fill-v1 each pass 3/3 fixed cases, 25/25 generated traces, 5,000 events, and 10/10 capabilities; one native unfillable-FOK rejection is retained as the explicit fifo-full-v1 contract difference |
orderbook-rs 0.12.0 |
Rust FIFO lifecycle, market/IOC/FOK, STP, deterministic trade IDs, consumption-order queue snapshots | Conformant generated FIFO campaign; 7/9 standard cases with pro-rata and one STP policy difference explicit; semantics reviewed in upstream issue #203 and Tracebook issue #57 |
gocronx/matcher 0.2.0 |
Pinned Rust FIFO limit lifecycle over native events and snapshot format v1 | fifo-limit-v1 qualification passes 3/3 fixed cases, 25/25 generated traces, and 10/10 capabilities; upstream observation and replacement questions remain explicitly pending in issue #7 |
Historical orderbook-rs issue #88 |
Exact affected Rust dependency behind an opt-in Cargo feature | Flash sequence 15738 and generated event 173 independently reduce to four-event regressions |
faulty-orderbook-adapter |
Real Rust engine plus one documented injected queue-priority fault | Synthetic negative control reduced from event 173 to five causal events |
| PythonMatchingEngine | Pinned FIFO limit lifecycle, cancellation, reduction, replacement, clear, and queue snapshots | Compatible trace passes; unsupported instructions, STP, tick grid, and pro-rata remain visible differences |
| Your engine | Any language that can read and write newline-delimited JSON | Start from the adapter contract and gate only the profile your engine claims |
A divergence means two configured contracts disagree. It does not, by itself, declare either project incorrect.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.