feat(profiler/behave_shell): emit temporal.escalation_pattern

Bin commands into non-overlapping windows of width
max(ESCALATION_WINDOW_MIN_S, duration_s / ESCALATION_WINDOW_TARGET).
CV of per-window counts + zero-window fraction classify bursty /
sustained / erratic. v0.1; corpus re-tune deferred.
This commit is contained in:
2026-05-04 00:13:45 -04:00
parent 627fa59c15
commit d40495d71b
4 changed files with 167 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ from decnet.profiler.behave_shell._features.cognitive import (
inter_command_latency_class,
)
from decnet.profiler.behave_shell._features.temporal import (
escalation_pattern,
session_duration,
)
from decnet.profiler.behave_shell._features.motor import (
@@ -63,4 +64,5 @@ FEATURES: tuple[FeatureFn, ...] = (
error_resilience_frustration_typing,
error_resilience_fallback_to_man,
session_duration,
escalation_pattern,
)