Skip to main content

Crate parlov_elicit

Crate parlov_elicit 

Source
Expand description

Elicitation engine for parlov: strategy selection and probe plan generation.

Converts a ScanContext (operator-supplied scan parameters) into a Vec<ProbeSpec> (the ordered list of probe pairs the scheduler executes). Pure computation – no I/O, no async.

Re-exports§

pub use chain::generate_dag_chained_plan;
pub use chain::ChainRegistry;
pub use chain::Consumer;
pub use chain::Producer;
pub use chain::ProducerOutput;
pub use chain::ProducerOutputKind;
pub use context::KnownDuplicate;
pub use context::ScanContext;
pub use context::StateField;
pub use existence::default_chain_registry;
pub use harvest::ConditionalValidators;
pub use harvest::EtagStrength;
pub use harvest::HarvestedObservations;
pub use harvest::RangeSignals;
pub use harvest::RedirectSignals;
pub use registry::all_strategies;
pub use registry::generate_plan;
pub use strategy::Strategy;
pub use types::BurstSpec;
pub use types::ChainProvenance;
pub use types::ProbePair;
pub use types::ProbeSpec;
pub use types::RiskLevel;
pub use types::StrategyMetadata;

Modules§

chain
Producer/Consumer DAG model for phase 2 chained probe generation.
context
Scan context: the operator-supplied parameters that drive strategy selection.
existence
Existence oracle strategies.
harvest
Harvested observations from phase 1 responses, used to seed phase 2 chained probes.
registry
Strategy registry: discovery and probe plan generation.
strategy
Strategy trait: the interface every elicitation strategy must implement.
types
Core elicitation types: risk classification, probe specifications, and strategy metadata.