Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

The Agent Patch Test Budget: Spend CI Minutes Where They Catch Faults

Описание и применение

Патчи, генерируемые ИИ, дешевы в создании, но дорогие в проверке. Классифицируя их по риску и ограничивая время выполнения тестов, CI‑пайплайн обрабатывает больше патчей, сохраняя качество.

Задача

Agent-generated patches are cheap to produce but expensive to validate; running the same full test gauntlet on every patch throttles CI throughput.

Результат

By allocating CI minutes based on patch risk, the pipeline processes more patches per hour, reducing bottlenecks while still catching faults where they matter.

Рабочий процесс

  • 1. Agent generates patch and pushes to CI
  • 2. CI runs gate_budget.sh to classify patch risk and output gate plan
  • 3. CI executes only the gates specified in the plan within the allocated budget
  • 4. Flaky freeze runs outside the budget to quarantine unstable tests
  • 5. If a gate times out, the patch fails and the agent is prompted to split the diff

Доказательства

Classify each patch by risk, then assign a time budget and a gate set.

Источник

A gate that times out fails the patch.

Источник

  • Дата записи: 2026-09-09T01:30:15.261Z