src.dackar.RCA.cross_pattern.models¶
Classes¶
Canonical cross-pattern representation of a single doc extraction record. |
|
A single link between one HistoricalSignalEpisode and one HistoricalDocExtraction. |
|
Aggregated cross-pattern evidence for a single causality candidate. |
Module Contents¶
- class src.dackar.RCA.cross_pattern.models.HistoricalDocExtraction[source]¶
Canonical cross-pattern representation of a single doc extraction record.
Produced by converting a SemanticMatch (from DocExtractionStore.query()) into a richer object that carries temporal and FM resolution metadata needed for the linkage rules in rules.py.
Instances are treated as immutable inputs by CrossPatternLinker.run(): the linker never writes back onto them. Episode↔doc linkage is reported in the run() result (per-candidate
linked_episode_ids/linked_doc_idsand the flatall_links), not by mutating these objects.
- class src.dackar.RCA.cross_pattern.models.CrossPatternLink[source]¶
A single link between one HistoricalSignalEpisode and one HistoricalDocExtraction.
Carries full provenance so analysts can trace exactly which checks passed (direct reference, temporal, or semantic/FM; asset compatibility is scored separately as asset_match).
- class src.dackar.RCA.cross_pattern.models.CandidateCrossPatternEvidence[source]¶
Aggregated cross-pattern evidence for a single causality candidate.
Produced by CrossPatternLinker.run() — one instance per candidate in causality_candidates[“candidates”].
- evidence_paths: List[CrossPatternLink][source]¶