Skip to main content

Module model

Module model 

Source

Modules§

apply
The apply axis: per-path predictions of whether a patch applies to the target tree as written. Independent of every pin verdict, so an Inapplicable row still carries its predicted conflicts.
batch
Public wire-format types for check batch. Promoted from the previously-private types in backhopper-cli::commands::check.
cache
Wire payloads for the cache verb group.
check_payload
The canonical check-family wire payload. One definition the CLI serializes, the driver parses, and schema show documents, so the three cannot drift apart.
clearance
Round-level roll-up of a check batch result set. Derived on read from the rows, never serialized: it carries no schema version and no wire field is added.
eval
The corpus fold: joins recorded verdicts to observed build outcomes and reports how trustworthy the verdict is. The fingerprint pairs the two; this is a plain fold over the paired rows, run as needed, not a stored subsystem.
evaluation
Ergonomic, borrowed view over a SeriesVerdict and its Diagnostics.
findings
Row-level symbol-axis findings resolved against the target tree. The same reasons also merge into applicable pin verdicts; this record is the copy kept for inapplicable ones, so a suite-only pick cannot silently drop what the target checks found.
fingerprint
The verdict fingerprint: a version-independent join key tying a verdict to a later-observed build outcome.
names
Newtypes for every domain primitive: String should never represent a project name, tag, module, function, or commit SHA.
pin
Pins as a two-stage type: PinSpec at config load, Pin after resolution.
pr_commit
Inner PR-branch commits enumerated under a 2-parent merge.
resolver_coverage
Which symbol classes the analyzer resolves, and the classifier from a symbol to its class.
snapshot
Snapshot<S> with the type-state pattern.
snapshot_diff
Wire payloads of the snapshots diff verbs.
spec_ast
Structured shape for Erlang type expressions inside -spec and -callback declarations. signature: String stays the source of truth on disk; this AST is built on demand from that string by this crate’s model::spec_parser. Comparators on top drive the return-shape conformance check.
spec_parser
Erlang type-expression parser. Recursive descent over -spec and -callback return-type text. Lossy by design: unrecognised constructs collapse to SpecType::Unknown so the comparator stays conservative.
summary
Compact per-result projection emitted by --formatter summary and --formatter text-summary.
symbol
verdict
wire_envelope
The canonical JSON envelope frame every verb wraps its payload in.