Skip to main content

Module attribution

Module attribution 

Source
Expand description

Submitter-supplied requirement attribution for ordinary Verus project jobs.

An ordinary job proves the submitted Verus source against its own specifications. A submitter may name requirement identities for exact functions when submitting the job; this view reports, per requirement, what the retained job evidence establishes for each attributed function. The attribution itself is a submitter claim: Sail never checks that a function’s specification states the requirement, and this view is never neutral-contract assurance (see crate::assurance). Reading a view never runs a verifier.

Structs§

Evidence
One attributed function and what the retained job evidence establishes for it.
Requirement
Attributed evidence grouped by requirement identity.
RequirementAttribution
One submitter claim that an exact function serves a requirement.
View
Versioned read-only view over one ordinary job and its retained attributions.

Enums§

AttributionSource
Who asserted the requirement link.
Relationship
The relationship an attributed row checks; distinct from neutral contract-to-code.
Scope
Evidence applies to the job’s recorded input revision.

Constants§

MAX_ATTRIBUTIONS
Most attributions one job may carry.
MAX_NAME
Longest requirement identity or function name, in bytes.
VERSION
Attributed assurance view contract version.

Functions§

canonical
Validate and canonically sort attributions before submission or storage.
from_project_result
Project an ordinary job result and its retained attributions.
mode_supported
Whether a job mode can carry attribution: only stock project and standalone-file verification, never an engine or repair batch.