{{define "analytics"}}
{{template "head" .}}
{{template "topbar" .}}
{{template "breadcrumbs" .}}
Query Window
{{if .Error}}
{{.Error}}
{{end}}
Lot Metrics
{{if .LotMetrics}}
| Lot |
Failures |
Components |
Exposure Hours |
AFR |
MTBF (hrs) |
{{range .LotMetrics}}
| {{if .LotCode}}{{.LotCode}}{{else}}—{{end}} |
{{.Failures}} |
{{.ComponentCount}} |
{{formatFloat .ExposureHours 2}} |
{{formatFloat .AFR 4}} |
{{formatFloatPtr .MTBFHours 2}} |
{{end}}
{{else}}
No lot metrics in this window.
{{end}}
Firmware Risk
{{if .FirmwareRisk}}
| Firmware |
Failures |
Components |
Failure Rate |
{{range .FirmwareRisk}}
| {{.FirmwareVersion}} |
{{.Failures}} |
{{.ComponentCount}} |
{{formatFloatPtr .FailureRate 4}} |
{{end}}
{{else}}
No firmware risk data in this window.
{{end}}
Spare Forecast
{{if .SpareForecast}}
| Lot |
Components |
AFR |
Expected Failures |
Spares Needed |
{{range .SpareForecast}}
| {{if .LotCode}}{{.LotCode}}{{else}}—{{end}} |
{{.ComponentCount}} |
{{formatFloat .AFR 4}} |
{{formatFloat .ExpectedFailures 2}} |
{{.SparesNeeded}} |
{{end}}
{{else}}
No spare forecast data in this window.
{{end}}
{{end}}