feat: add counting bench, triage, and dataset modules

This commit includes major additions and updates to the frontend and backend architectures, introducing new dataset management, live counting features, batch processing, and triage logic. Includes new UI pages, components, and API routes.
This commit is contained in:
asus committed 2026-08-14 16:28:52 +07:00
1 parent 8285400254
commit 5c7c122105
80 files changed
+20074 -1412

No files matched your search

+3 -3
View File
@@ -27,11 +27,11 @@ from backend import db
MAX_LOG_LINES = 500
PROGRESS_FLUSH_SECONDS = 0.5
JOB_TYPES = ("extract", "autolabel", "merge", "train")
GPU_JOB_TYPES = ("autolabel", "train")
JOB_TYPES = ("extract", "autolabel", "merge", "train", "count", "clock-scan",
"truck-scan")
GPU_JOB_TYPES = ("autolabel", "train", "count", "truck-scan")
"""`extract` is ffmpeg and `merge` is file copying — neither touches the card,
so neither should be able to block an interactive assist."""
gpu_lock = threading.Lock()
"""Held for the duration of any GPU work. The job worker takes it around a
handler; the interactive assist route takes it around one SAM3 call. One card,