Skip to main content

Crate fnx_runtime

Crate fnx_runtime 

Source

Structs§

AdmissionControllerConfig
Configuration for the Bayesian admission controller.
AdmissionControllerStats
Statistics from the admission controller.
AdmissionDecision
Result of an admission decision from the Bayesian controller.
AsupersyncAdapterCheckpoint
AsupersyncAdapterMachine
AsupersyncAdapterTransition
AsupersyncTransferIntent
AttrMap
An attribute map that keeps its keys in INSERTION order, as the Python dict it stands for does (br-r37-c1-6hyf1).
AttrMapIter
AttrMap::iter: (key, value) pairs in insertion order.
AttrMapIterMut
AttrMap::iter_mut: (key, value) pairs in insertion order.
BayesianAdmissionController
Bayesian admission controller for hardened mode.
BayesianGpdEstimator
Bayesian GPD estimator for rare-event tail latency modeling.
BayesianShrinkagePrior
Prior distribution parameters for Bayesian shrinkage estimation.
BrierScoreGate
Gate that blocks decisions when calibration is poor.
BrierScoreMetrics
Detailed Brier score metrics.
BrierScoreTracker
Brier score calibration tracker.
CalibratedLossMatrix
A loss matrix calibrated via Bayesian shrinkage from observed data.
CgsePolicyDecision
CgsePolicyEngine
CompressedReplayLog
Compressed replay log combining count-min sketch and reservoir sampling.
CountMinSketch
Count-Min Sketch for space-efficient frequency estimation.
DecisionRecord
DriftAnalyzer
Analyzes decision records to identify under-confident regions and drift.
DriftFeedbackReport
Drift feedback report with weekly analysis and recommendations.
E2eStepTrace
EffectHandler
An effect handler that processes effects according to a policy.
EffectTrace
An effect trace that collects effects during parsing.
EffectTraceSummary
A summary of an effect trace for logging and metrics.
EvidenceLedger
EvidenceTerm
FailureReproData
ForensicsBundleIndex
FtuiArtifactIndex
FtuiArtifactIndexEntry
FtuiTelemetryAdapter
FtuiTelemetryRecord
GateDecision
Result of applying the Brier score gate.
GpdParameters
Parameters of the Generalized Pareto Distribution.
GpdPrior
Prior distribution for Bayesian GPD parameter estimation.
GpdQuantileEstimate
Quantile estimate with credible interval from GPD model.
LedgerValidationResult
Result of validating a versioned decision ledger.
LossCategoryStats
Aggregated statistics for a loss category.
LossMatrix
LossMatrixCalibrator
Calibrator that applies Bayesian shrinkage to loss observations.
LossObservation
A single observed loss from a decision outcome.
LossSampleCounts
Sample counts for each loss category.
LossShrinkageWeights
Shrinkage weights for each loss category.
OperationRiskSummary
Summary of under-confidence for a specific operation.
OptimizationDelta
Delta between baseline and optimized measurements.
OptimizationEvidence
Evidence that optimization didn’t change behavior.
OptimizationResult
Result of an optimization attempt.
ParserEffect
A single effect that occurred during parsing.
PredictionOutcome
A single prediction-outcome pair for Brier score computation.
ProfileProveLoop
Orchestrator for running profile-prove loops across SLO rows.
ProfileProveState
State of the profile-prove loop for a single SLO row.
ProfileProveSummary
Summary of profile-prove loop results.
ReservoirSampler
Reservoir sampler for uniform random sampling from a stream.
RuntimePolicy
RuntimePolicyPosterior
SloBaseline
Baseline measurement for an SLO row.
StructuredTestLog
TailGateDecision
Result of applying the tail stability gate.
TailSample
A single latency sample with timestamp.
TailStabilityConfig
Configuration for the tail stability gate.
TailStabilityGate
Gate that blocks when tail latency regresses.
TailStabilityStatus
Status snapshot from the tail stability tracker.
TailStabilityTracker
Tracker for tail latency stability.
VersionedDecisionLedger
A decision ledger with explicit schema versioning for forward compatibility.
WeeklySummary
Weekly summary of decision confidence.

Enums§

AsupersyncAdapterEventType
AsupersyncAdapterReasonCode
AsupersyncAdapterState
CgseOperationFamily
CgsePolicyRule
CgseValue
CompatibilityMode
DecisionAction
E2eStepStatus
EffectPolicy
Policy for handling effects during parsing.
LossCategory
Categories of loss that can be observed.
OptimizationPhase
Phase of the optimization loop.
ParserEffectKind
Categories of effects that can occur during parsing operations.
SloRowId
Identifier for SLO metric rows from SPEC §17.
TestKind
TestStatus

Constants§

CGSE_LEGACY_TIEBREAK_LEDGER_PATH
CGSE_POLICY_SCHEMA_VERSION_V1
CGSE_POLICY_SPEC_PATH
CGSE_POLICY_SPEC_SCHEMA_PATH
CGSE_SEMANTICS_THREAT_MODEL_PATH
DECISION_LEDGER_RETAINED_RECORDS
Number of decision records the ledger keeps resident before it starts retiring the oldest Allow decisions.
DECISION_LEDGER_SCHEMA_VERSION
Current schema version for decision ledger serialization.
MILLIS_PER_WEEK
Milliseconds in one week (7 days).
STRUCTURED_TEST_LOG_SCHEMA_VERSION_V1
UNDER_CONFIDENT_THRESHOLD
Threshold for classifying a decision as “under-confident” (high risk).

Traits§

CgsePolicyEvaluator

Functions§

bool_evidence
Renders a boolean evidence value without allocating.
canonical_environment_fingerprint
cgse_policy_schema_version
count_evidence
Renders a count evidence value, without allocating for the small values that dominate the mutation path.
decision_theoretic_action
Decision-theoretic selector used by runtime guards.
ftui_telemetry_canonical_fields
structured_test_log_schema_version
unix_time_ms