project-nomad/admin/app/services
Bortlesboat e7ae6bba8e fix: benchmark scores clamped to 0% for below-average hardware
The log2 normalization formula `50 * (1 + log2(ratio))` produces negative
values (clamped to 0) whenever the measured value is less than half the
reference. For example, a CPU scoring 1993 events/sec against a 5000
reference gives ratio=0.4, log2(0.4)=-1.32, score=-16 -> 0%.

Fix by dividing log2 by 3 to widen the usable range. This preserves the
50% score at the reference value while allowing below-average hardware
to receive proportional non-zero scores (e.g., 28% for the CPU above).

Also adds debug logging for CPU sysbench output parsing to aid future
diagnosis of parsing issues.

Fixes #415
2026-03-23 23:46:30 -07:00
..
benchmark_service.ts fix: benchmark scores clamped to 0% for below-average hardware 2026-03-23 23:46:30 -07:00
chat_service.ts feat(AI Assistant): improved state management and performance 2026-03-11 14:08:09 -07:00
collection_manifest_service.ts fix: update default branch name 2026-03-01 16:08:46 -08:00
collection_update_service.ts feat: curated content update checking 2026-02-11 21:49:46 -08:00
container_registry_service.ts feat: support for updating services 2026-03-11 14:08:09 -07:00
docker_service.ts fix(Collections): update ZIM files to latest versions (#332) 2026-03-23 23:46:30 -07:00
docs_service.ts fix(security): path traversal and SSRF protections from pre-launch audit 2026-03-11 14:08:09 -07:00
download_service.ts fix(downloads): allow users to dismiss failed downloads 2026-03-20 11:46:10 -07:00
map_service.ts fix(maps): respect request protocol for reverse proxy HTTPS support 2026-03-20 11:46:10 -07:00
ollama_service.ts fix(ai): surface model download errors and prevent silent retry loops 2026-03-23 23:46:30 -07:00
queue_service.ts feat: background job overhaul with bullmq 2025-12-06 23:59:01 -08:00
rag_service.ts feat(AI Assistant): performance improvements and smarter RAG context usage 2026-03-11 14:08:09 -07:00
system_service.ts fix(disk): correct storage display by fixing device matching and dedup mount entries 2026-03-20 11:46:10 -07:00
system_update_service.ts fix(System): ensure nomad container image tag resolves correctly 2026-03-11 14:08:09 -07:00
zim_extraction_service.ts feat: zim content embedding 2026-02-08 13:20:10 -08:00
zim_service.ts fix(security): path traversal and SSRF protections from pre-launch audit 2026-03-11 14:08:09 -07:00