fix: Review-Befunde beheben (Image-Bau, Absturzsicherung, Image-Name, Ausgabelimit)
- App baut cb-python selbst: Containerfile eingebettet, Befehle image_status und build_image, Live-Ausgabe, Knopf in den Einstellungen. start_batch prüft vorher, ob die Images da sind. - running-Flag wird per Wächter zurückgesetzt, auch nach einem Absturz. - Ein Fehler in einem Lauf beendet nicht mehr den Batch: Lauf wird als sandbox_error gespeichert. endpoint_error und sandbox_error zählen nicht in die Bewertung und werden beim Fortsetzen wiederholt. - Image-Name wird geprüft (kein führendes -, nur erlaubte Zeichen), Podman bekommt -- vor dem Image. - Ausgabe von Befehlen wird auf 1 MiB je Strom begrenzt. - Abbruch wird auch vor dem Aufwärmen geprüft. - Fehlerklassen lesbar, Hinweis auf nicht gewertete Läufe. 65 Unit-Tests grün (6 ignorierte Integrationstests); echter Sandbox- und Image-Test grün. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { onMount, onDestroy } from "svelte";
|
||||
import { listen, type UnlistenFn } from "@tauri-apps/api/event";
|
||||
import { api, groupLabel, type BatchEvent, type LoadReport, type ModelInfo, type TaskInfo } from "$lib/api";
|
||||
import { api, errorLabel, groupLabel, type BatchEvent, type LoadReport, type ModelInfo, type TaskInfo } from "$lib/api";
|
||||
|
||||
let {
|
||||
models,
|
||||
@ -50,7 +50,7 @@
|
||||
} else if (e.kind === "run_finished") {
|
||||
const ok = e.class === "ok";
|
||||
log.push({
|
||||
text: `${ok ? "bestanden" : e.class}: ${label}, ${Math.round(e.score * 100)} %`,
|
||||
text: `${errorLabel(e.class)}: ${label}, ${Math.round(e.score * 100)} %`,
|
||||
cls: ok ? "ok" : "error",
|
||||
});
|
||||
current = "";
|
||||
|
||||
Reference in New Issue
Block a user