Files
AI-Horde/sql_statements/5.0.4-post.txt.license
tazlin 6c12cf8743 fix: worker speed zero-average fallback
- Align speed materialization with runtime behavior by treating an average performance of 0 like no samples and falling back to the worker baseline, preventing downstream division-by-zero on speed reads.
- Add an index on worker_performances.worker_id in the model and migration path to avoid repeated full-table scans during backfill and ongoing performance updates.
- Refactor 5.0.4 SQL rollout guidance, and add temporary insert-trigger scaffolding for mixed 5.0.3/5.0.4 fleets with a follow-up cleanup script.
- Add unit tests covering zero-average fallback and recovery once nonzero samples arrive.
2026-07-23 15:38:55 -04:00

4 lines
104 B
Plaintext

SPDX-FileCopyrightText: Tazlin <tazlin.on.github@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later