{#if models.length === 0}

Noch kein Modell angebunden

Bevor ein Benchmark laufen kann, braucht coding-bench mindestens ein Modell.

  1. Modell mit Adapter und Server-URL anlegen
  2. Container-Image bauen (einmalig)
  3. Hier Modelle und Aufgaben wählen und starten
{:else}

1. Modelle

{#each models as m (m.name)} {@const r = lastRank(m.name)} {/each}

2. Aufgaben

{#if !tasks}

Lade Aufgaben …

{:else if tasks.tasks.length === 0}

Keine gültigen Aufgaben gefunden.

{/if} {#each byGroup as [group, list] (group)}

{group} {groupLabel(group)} ({list.length})

{#each list as t (t.id)} {@const lt = lastTask(t.id)} {@const open = expanded.includes(t.id)}

{t.prompt.trim() || "Keine Beschreibung."}

≤ {t.max_steps} Schritte {t.timeout_s} s {#if t.weight !== 1}Gewicht {t.weight}{/if} {t.image}
{#if lt} zuletzt ∅ {fmtPct(lt.mean)} ({lt.models} Modell{lt.models === 1 ? "" : "e"}) {:else} noch nie gelaufen {/if}
{/each}
{/each} {#if tasks && tasks.errors.length > 0}
{tasks.errors.length} Aufgabe(n) mit Fehlern
{/if}
{#if chosenModels.length > 0 && chosenTasks.length > 0}

Plan und Stand

Jede Zelle ist ein Modell bei einer Aufgabe. Vor dem Start steht dort, was zuletzt gemessen wurde. Beim Lauf füllt sie sich live.

{#each chosenTaskInfos() as t (t.id)}{/each} {#each chosenModels as m (m)} {#each chosenTaskInfos() as t (t.id)} {@const c = cellOf(m, t.id)} {@const lc = lastCell(m, t.id)} {/each} {/each}
Modell{t.id}
{m} {#if c?.state === "done"} {@const p = (100 * c.sum) / c.n} {fmtPct(p)} {:else if c?.state === "running"} läuft … {:else if c?.state === "infra"} nicht gewertet {:else if c?.state === "skipped"} schon vorhanden {:else if c?.state === "planned"} geplant{c.n > 0 ? ` ${c.n}/${repeats}` : ""} {:else if lc !== null} zuletzt {fmtPct(lc)} {:else} neu {/if}
{/if} {#if log.length > 0 || error || finishedBatch !== null}

Verlauf

{#if error}

{error}

{/if} {#if finishedBatch !== null}

{cancelled ? "Abgebrochen." : "Fertig."}

{/if} {#if log.length > 0} {/if}
{/if}
{#if totalRuns > 0} {totalRuns} Läufe {chosenModels.length} Modell(e) × {chosenTasks.length} Aufgabe(n) × {repeats} {#if estimate} ≈ {estimate.minutes} min {:else} Dauer unbekannt, noch keine Messung {/if} {:else} Wähle Modelle und Aufgaben. {/if} {#if repeats < 3 && totalRuns > 0} Bei weniger als 3 Durchläufen können Unterschiede zwischen Modellen Zufall sein. {/if}
{#if progress}
{progress.done} von {progress.total}{current ? ` · läuft: ${current}` : ""}
{/if}
{/if}