Analyzers๏
Analyzers: observers of a run, fed each settlement as it lands.
The backtrader idea โ one evaluation loop, many pluggable observers. Analyzers
never influence the run; they accumulate diagnostics and report in
Result.analysis.
- class emflow.run.analyzers.Analyzer[source]๏
Bases:
ABCBase analyzer.
setupreceives the run context;on_settlementeach scored origin;finalizereturns the diagnostics dict.- property name: str๏
- class emflow.run.analyzers.PersistenceSkill[source]๏
Bases:
AnalyzerScores a persistence baseline (last knowable value at each origin, broadcast over its targets) and reports the modelโs skill against it. A model that canโt beat this hasnโt learned anything.