Skip to content

QA integrity fixes: prompt-safety, diff_size, reference audits, clean admissions (Phase 0) #5

Description

@ElbertePlinio

From the 2026-07-08 multi-model audit (gpt-5.5 + opus-4.8 + glm-5.2 panel + two code scouts). These fixes block trusting any published number, so they come first.

Ordered checklist (dependency order matters):

  • 1. Prompt-safety QA scans the resolved prompt (instruction.md / task prompt after template substitution) for hidden paths, verifier names, and reference literals. Today _checkPromptSafety (app/lib/runner/task_qa_runner.dart:878) scans only fixture context, never the prompt itself. Avoid naive substring matching (false positives) — scan hidden paths / verifier filenames / reference code explicitly.
  • 2. Demote diff_size to diagnostic-only: remove it from pass/fail and aggregate blocking (app/lib/evaluators/diff_size_evaluator.dart k=20 threshold 0.3; weight 0.3 in app/lib/core/scoring.dart). Measure the full patch against the clean baseline, not one fixture path. Version the methodology change; check whether the published board depended on it.
  • 3. Audit all 10 reference solutions against their own task contracts (Replace fixed-width breakpoints in ui.action_bar_overflow reference solution with measurement-based overflow #3 is instance one). Bump task version + regenerate admission whenever a reference changes.
  • 4. Close the remaining QA/sandbox hardening: npm-installed Droid binds + sandboxed admission validation in tests #4 defect: official_file_backed_task_test validates admission reports unsandboxed while asserting generatedCodeSandbox.enforced == true. Re-baseline against already-landed sandbox commits 3984bb5 / 7cf7eb8 first so we don't redo landed work.
  • 5. Regenerate all 10 admission reports from clean HEAD (today all record gitDirty=true @ 68321ee). Add admission+release gates failing on gitDirty or task-bundle digest mismatch (digest-based so docs-only commits don't overblock). Budget for tasks that only "passed" under stale evidence.
  • 6. Relabel the current published 1-model leaderboard as provisional until regenerated evidence lands.

Refs #3 #4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions