Skip to content

Nachvollziehbarkeit: Laufzeit-Profil (legacy/fast/balanced/quality) wird nicht persistiert — weder pipeline_runs noch Trace #235

Description

@TillQuandel

Fund der Effizienz-Messreihe 2026-07-13 (Paar-Kontrolleur M1/M2): Das aktive Runtime-Profil (ATOMIC_AGENT_PROFILE) steht nur im Stdout-Log — pipeline_runs hat keine Profil-Spalte, note_evals nichts, und das Trace-model_config enthält nur das Agent→Modell-Mapping. Zwei Läufe mit unterschiedlichem Profil sind in DB/Trace nachträglich nicht unterscheidbar (relevant für A/B-Messreihen, Kosten-Analysen im Dashboard und die Interpretation historischer Zeilen — z. B. sind fast/balanced-Läufe ohne Inline-Eval sonst nur indirekt an fehlenden note_evals erkennbar).

Fix-Richtung

Additiv nach dem etablierten Muster (n_extracted, PR #220): Spalte profile TEXT in pipeline_runs (SCHEMA_SQL + _add_column in init_db), insert_run befüllt aus der aktiven RuntimeConfig; zusätzlich profile-Feld im run_start-Trace-Event (dort liegt schon model_config). Optional: Dashboard-Lauf-Filter/Tooltip zeigt das Profil an. Kein Migrationszwang für Altzeilen (NULL = unbekannt/legacy-Ära).

Beleg: runtime_config.py PRESETS; Trace 20260713-080505.jsonl/20260713-082517.jsonl (model_config ohne Profil); pipeline_runs-Schema shared/db_schema.py:11-34.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions