Skip to main content

Crate chappi_core

Crate chappi_core 

Source

Structs§

AddOp
AppendFocusOp
CapsuleBudget
CognitiveState
ComparisonFixture
CompressionMetrics
ContinuityMetrics
Corpus
CorpusDiagnostic
CorpusError
DerivedComparison
Diagnostic
A structured parser error suitable for either human or machine output.
Episode
FactFamilyMetrics
FactRecoveryScore
FocusCue
FocusFrame
FocusStream
GateResult
GoldenAnswers
LexicalTokenEstimator
MeasurementReport
Node
OwnerTargetExpectation
Patch
Perspective
PrecisionMetrics
RecoveryQuestion
ReentryCapsule
Relation
RetireOp
ReviseOp
SeededInvalidSource
SemanticAnswer
SemanticMetrics
Span
A half-open byte range with one-based line and column positions.

Enums§

AddValue
AffectIntensity
AnswerPolarity
AtomicFact
AttentionMode
BudgetUnit
Confidence
ConstraintStrength
CorpusErrorKind
DesireForce
EpisodeCategory
FactFamily
FocusBucket
FocusFactField
GoalStatus
Language
Lifetime
MetacognitionStatus
NodeFactField
NodeKind
PatchOp
PredictionStatus
ProjectionFormat
QuestionStatus
RecoveryFactKind
RelationKind
Severity
The externally visible severity of a syntax diagnostic.
Source
TensionStatus
TransitionKind

Traits§

TokenEstimator

Functions§

apply_patch
build_capsule
build_capsule_with_estimator
decode_compact_semantic_facts
Decodes only complete canonical compact records. Operational wrapper fields on ReentryCapsule are outside this comparison scope; canonical_content() and the controlled-English records both cover nodes, enclosed relations, and closed latest focus cues.
decode_controlled_english_facts
Decodes only complete records from the v1 controlled-English grammar. A truncated or malformed sentence contributes no facts for that record.
derive_semantic_comparison
Derives the complete semantic comparison for an already fixed node selection.
load_corpus
measure_corpus
project
project_capsule
score_fact_recovery
semantic_answer_matches
snapshot_document
Encodes a validated semantic state as a v1 snapshot document.
snapshot_source
Encodes a validated semantic state as canonical v1 snapshot bytes.
state_hash
validate
validate_patch
Validates that every value retained by a typed patch can be encoded and decoded without changing its meaning.