pub struct Census {Show 13 fields
pub schema: String,
pub git_sha: Option<String>,
pub n_files: usize,
pub n_parsed: usize,
pub n_parse_errors: usize,
pub parse_errors: Vec<String>,
pub quarantined_n: usize,
pub by_kind: BTreeMap<String, usize>,
pub by_entity_type: BTreeMap<String, usize>,
pub by_anchoring: AnchoringCounts,
pub id_set_sha256: String,
pub declared_external: Vec<ExternalCorpus>,
pub timing: Timing,
}Expand description
The counts ONT-1 owes, in the order contracts/census.json carries them.
Fields§
§schema: String§git_sha: Option<String>ALWAYS null, and that is the decision, not an omission: the ONT-1 probe
requires the tracked census to equal a fresh one byte for byte, and a
commit sha is unknowable for the commit that will contain it — PVL-001
recorded the same defect for discharge.json (“bytes change per run →
verdict lapse every run”). id_set_sha256 is the content address, and it
is checkable without a commit. Operator ruling, 2026-09-16.
n_files: usize§n_parsed: usize§n_parse_errors: usizeAlways 0 in a TRACKED census, by construction: a file that will not parse makes the whole run a reject (exit 1), so no census.json can carry one. The field exists because the probe asserts the identity below, which is what makes “nothing was silently skipped” checkable.
parse_errors: Vec<String>§quarantined_n: usize§by_kind: BTreeMap<String, usize>§by_entity_type: BTreeMap<String, usize>§by_anchoring: AnchoringCounts§id_set_sha256: Stringsha256 over the sorted, unique contract ids (file stems), newline separated. Two corpora with the same ids hash the same; adding, removing or renaming one changes it.
declared_external: Vec<ExternalCorpus>§timing: TimingTrait Implementations§
impl Eq for Census
impl StructuralPartialEq for Census
Auto Trait Implementations§
impl Freeze for Census
impl RefUnwindSafe for Census
impl Send for Census
impl Sync for Census
impl Unpin for Census
impl UnsafeUnpin for Census
impl UnwindSafe for Census
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.