Skip to main content

Module litm

Module litm 

Source

Structs§

LitmProfile
PositionedOutput

Functions§

compute_litm_efficiency
Compute the theoretical LITM efficiency for a given context layout. Returns (efficiency_without_ccp, efficiency_with_ccp) as percentages.
compute_litm_efficiency_for_profile
Profile-aware LITM efficiency using model-specific attention weights.
content_attention_efficiency
Compute content-aware attention efficiency using the heuristic attention model. Combines positional U-curve with structural importance for each line.
position_optimize
Sorts session state fields by attention priority: P1 (begin): task, decisions, project topology, file refs P2 (end): recent findings, test results, next steps P3 (dropped): old completed tasks, historical reads beyond limit