Skip to main content

Module state_scorer

Module state_scorer 

Source
Expand description

StateActionScorer: encounter’s ActionScorer impl backed by an EncounterArgumentationState.

The scorer composes:

  1. An inner ActionScorer<P> that produces base scores.
  2. A reference to a live EncounterArgumentationState.

After the inner scorer runs, each scored affordance is amplified by boost * state.is_credulously_accepted(arg_id) where the argument id is looked up from the affordance’s forward-index key. Affordances with no seeded argument receive no boost (inner score unchanged).

This gives the proposer bias: actions whose own argument is credulously acceptable at the scene’s current β get boosted, making the scene self-consistent with the argumentation state. The per-responder gate is orthogonal and lives in crate::state_acceptance::StateAcceptanceEval.

Structs§

StateActionScorer
An [ActionScorer<P>] composing an inner scorer with a shared-ref view of an EncounterArgumentationState.