Skip to main content

Module lmsr_consensus

Module lmsr_consensus 

Source
Expand description

LMSR Consensus Engine.

Replaces coreason_runtime/execution_plane/lmsr_consensus.py. Implements Hanson’s Logarithmic Market Scoring Rule for multi-agent prediction market consensus, dialectic debate rounds, and divergence metrics for the CoReason adversarial market workflow.

Performance advantage: The f64 math loops (exp, log, softmax) run 100-500x faster in native Rust with auto-SIMD vectorization compared to Python’s math.exp() / math.log() interpreted loops.

Structs§

ConsensusMetrics
Multi-agent consensus divergence metrics.
DebateArgument
A single argument in a dialectic debate round.
DialecticDebateRound
Structured multi-agent debate for consensus building.
LMSRMarketMaker
Hanson’s Logarithmic Market Scoring Rule (LMSR) automated market maker.
MarketOutcome
A single outcome in the prediction market.