{{ define "simform" }} {{end}} {{ if .Simulation }} {{ template "simform" dict "Lookback" .Simulation.LookbackDays "HalfLife" .Simulation.HalfLife "Recent" .Simulation.Recent "ScoreStart" (formTime .Simulation.ScoreStart) "ScoreEnd" (formTime .Simulation.ScoreEnd) "SimInterval" .Simulation.SimInterval }} {{ else }} {{ template "simform" dict "Lookback" .Config.LookbackDays "HalfLife" .Config.HalfLife "Recent" .Config.Recent "ScoreStart" (ago "72h") "ScoreEnd" "" "SimInterval" "5m" }} {{ end }}
{{ if .Simulation }} {{ end }} {{ range .Scores }} {{ $tg := (index $.TGs .ID) }} {{else}} {{ end }}
Simulating from {{ formTime .Simulation.ScoreStart }} until {{ formTime .Simulation.ScoreEnd }}
System TG TG ID Count Recent Score Probab Expect Max KL
{{ $tg.System.Name}} {{ $tg.Talkgroup }} {{ .ID.Talkgroup }} {{ f .Count 0 }} {{ f .RecentCount 0 }} {{ f .Score }} {{ f .Probability }} {{ f .Expectation }} {{ f .Maximum }} {{ f .KLScore }}
No Data
Last updated at {{ .LastScore }}