Project: Covert Cubicles Build Phase 4 / 7

MODULE 15 / 31 · LAYER 4 · ALMAA_CONFUSION Confusion Detector

Operationalises Actor State (A) from the Primary Spine framework. Computes a 0\u2013100 confusionScore from four behavioural signals; classifies into simplify / complexify / no_action. Always logs; never acts (M19 owns adaptation gating).

DEPENDENCIES: SM_Game, LOGIC_Decision
Pending
DRAFT FORMULA \u00b7 NOT PILOT-CALIBRATED
A draft confusion-scoring formula is currently in effect.
Calibration finding from automated test
Under the current draft saturation points (60s for latency, 4 for skips/rereads, 2 for reversals), a "mid-paced" player at 20s with one skip and one reread scores ~22.9 \u2014 in the COMPLEXIFY zone. This is consistent with a strict reading of the draft (only-clearly-struggling players hit simplify; only-clearly-breezing players hit complexify; the no-action band is reserved for genuinely intermediate cases). Whether this calibration matches your research intent is a question for pilot data and supervisor review (DRAFT ADR-031).

Automated Assertions

#AssertionResultDetail

Interactive Workbench — Score Sandbox

Adjust the four signals to see the live score and classification. Try the presets to test theoretical edge cases. The threshold bar shows the architecture's bands (complexify < 30, no_action 30\u201360, simplify > 60).

Signals (raw observation)
20000
1
1
0
Theoretical presets
Computed score & classification
0.00
no_action
complexify
no_action
simplify
03060100
Lifecycle test \u2014 present \u2192 increment \u2192 commit

Drives the full per-decision lifecycle. Each "Commit" appends a record to SM_Game.confusionLog.

Session
Lifecycle for arthur_p1_decision
Defensive (should fail)
Session confusion log (cumulative)
No confusion records yet.

API Surface — Manual Verification

Open DevTools and try the calls below.