{{template "head" "Dashboard"}} {{template "nav" "dashboard"}}
{{range .Machines}}

{{.Name}}

{{.Status}}
{{if eq (printf "%s" .Status) "ok"}}
CPU
{{pct .Load1}}/{{.CPUCores}}
RAM
{{printf "%.0f" .MemUsedGB}}/{{fmtGB .MemTotalGB}}
Disk
{{fmtGB .DiskUsedGB}}/{{fmtGB .DiskTotalGB}}
{{if .GPUName}}
GPU {{if gt .GPUVRAMTotal 0.0}}
{{printf "%.1f" .GPUVRAMUsed}}/{{printf "%.0f" .GPUVRAMTotal}}G {{else}} {{.GPUName}} {{end}}
{{end}}
{{.Uptime}}{{if gt .GPUTemp 0}} · GPU {{.GPUTemp}}°C{{end}}
{{end}}
{{else}}

Machines

Waiting for data...
{{end}}

LEK Models

{{len .Models}}

Benchmark Runs

{{$b := .Benchmarks}}
{{benchmarkCount $b}}
{{dataPoints $b}} data points · View runs

Gold Generation

{{if .Training.GoldAvailable}}
{{pct .Training.GoldPercent}}%
{{.Training.GoldGenerated}} / {{.Training.GoldTarget}}
{{else}}
Unavailable
M3 Ultra unreachable
{{end}}
{{if .Commits}}

Recent Activity

{{range .Commits}} {{end}}
RepoMessageAuthorTime
{{.Repo}} {{shortMsg .Message}} {{.Author}} {{timeAgo .Timestamp}}
{{end}} {{if .Errors}}
{{range $k, $v := .Errors}}
{{$k}} {{$v}}
{{end}}
{{end}} {{template "footer"}}