Skip to content

test(roadmap): grade 30 implement attempts on stock Coder #6768

Open

Description

@devops-cli-service

Split from #6527.

The implement job changes to stock Coder in #6527. The success band needs 30 graded attempts on the new version. The pull request for #6527 cannot produce those attempts, because they occur after rollout. This issue waits on 30 implement attempts on the version with stock Coder and a real shell. Acceptance criteria: run 30 or more implement attempts on this version. Every attempt counts. uv run devops roadmap eval grades reports the grade and the share of infrastructure failures. The report shows at least 30 attempts and the share.

Proposed design

Problem statement

The implement job moves to stock Coder with a real shell in #6527. The success band needs 30 or more graded implement attempts on that version. The issue requires uv run devops roadmap eval grades to show the attempt count and the share of infrastructure failures. This item adds both values to the report and records them over 30 or more live attempts on the new version.

Acceptance criteria

Requirement: Attempt count in the report

The report of uv run devops roadmap eval grades SHALL show the number of implement attempts that it read.

Scenario: Thirty result lines

  • WHEN A test gives the grade report 30 result lines of implement attempts.
  • THEN The report shows an attempt count of 30.

Requirement: Cut attempt in the count and the share

The grade report SHALL count an implement attempt that an infrastructure failure cut in the attempt count and in the share of infrastructure failures.

Scenario: One cut attempt in thirty

  • WHEN A test gives the grade report 30 result lines of implement attempts, and one line has an infrastructure cut.
  • THEN The report shows an attempt count of 30 and a share of infrastructure failures of one in 30.

Requirement: Grade from the uncut attempts

The grade SHALL come from the success ratio of the implement attempts that no infrastructure failure cut.

Scenario: Twenty first passes of twenty-nine uncut attempts

  • WHEN A test gives the grade report 30 result lines of implement attempts, 29 with no cut and one cut, and 20 of the 29 are first passes.
  • THEN The report shows a grade of 60, an attempt count of 30, and a share of infrastructure failures of one in 30.

Requirement: Report over the live attempts

The report over 30 or more implement attempts on the stock Coder version SHALL show an attempt count of at least 30, the job grade and the share of infrastructure failures.

Scenario: Live report after the rollout

  • WHEN A person runs uv run devops roadmap eval grades after 30 or more implement attempts on the version with stock Coder and a real shell.
  • THEN The command shows an attempt count of at least 30, a job grade of 100, 90, 80, 70, 60 or <60, and the share of infrastructure failures.

Existing Tool Considered

No alternatives check has run. The item already names the project's own devops roadmap eval grades command, which covers the report: it reads the result line of each implement attempt in Loki and prints the job grade (CONTEXT.md, Job grade). The command lacks the attempt count and the share of infrastructure failures, and this change adds both to its output. No open, maintained external tool covers a live grade of roadmap implement attempts: the Harbor eval runs trials of a task folder and sees no live attempt (src/devops_cli/commands/roadmap_eval_harbor.py). The written cost to build, keep and fix the output and its tests is about 1,000 tokens and about 20 minutes.

Key questions

  • What does uv run devops roadmap eval grades print today?: It reads the result line of each implement attempt in Loki and prints the job grade. The grade is the floor of the success ratio of the attempts with no infrastructure cut, and 100 when each attempt is a first pass. It prints too few under 30 attempts. [sources: CONTEXT.md, src/devops_cli/commands/roadmap_eval.py]
  • Should the report show the attempt count and the share of infrastructure failures?: Yes. The issue requires the report to show at least 30 attempts and the share, and the command is the report. Extend its output with both values. (best practice) [sources: CONTEXT.md, src/devops_cli/commands/roadmap_eval.py]
    • Chosen: Extend the report output. The issue requires both values in the report, and the command is the report.
    • Rejected: Record both values in an issue comment only. The issue says the report shows the values, so the command output is the contract.
  • How does the report show the share of infrastructure failures?: As the ratio of cut attempts to all attempts, such as 1 in 30. The count and the share use the same denominator, so a reader sees both values together. (best practice) [sources: CONTEXT.md, docs/roadmap/job-success.md]
    • Chosen: Ratio of cut attempts to all attempts. It shows the count and the share together and needs no rounding.
    • Rejected: Percentage only. A percentage hides the small counts that matter under 30 attempts.
  • How many attempts does the grade need?: 30 or more. Under 30 attempts the grade is too few. [sources: CONTEXT.md]
  • Does an attempt that an infrastructure failure cut count in the grade?: No. The grade is the floor of the success ratio of the attempts with no infrastructure cut. The attempt count and the share of infrastructure failures count every attempt, including a cut attempt. [sources: CONTEXT.md]
  • Where do the 30 implement attempts come from?: Each run of the implement job on a Planned item writes one result line to Loki. That line is one attempt. The Service makes those runs after refactor(roadmap): run implement on stock Coder with a real shell #6527 ships stock Coder with a real shell. This item adds no attempt of its own. [sources: CONTEXT.md, src/devops_cli/roadmap/implement/implement_step.py]
  • Which tool grades the live implement attempts?: The project's own devops roadmap eval grades command. It reads the result line of each live attempt in Loki and prints the job grade. (best practice) [sources: CONTEXT.md, src/devops_cli/commands/roadmap_eval_harbor.py]
    • Chosen: devops roadmap eval grades. It prints the job grade from the live attempts in Loki, and the project already keeps it.
    • Rejected: The Harbor eval. It runs trials of a task folder, so it sees no attempt after the rollout.
  • Which files hold the stock Coder setting that the attempts must run on?: The harness slot and the implement step name Coder. The defaults hold its setting. [sources: src/devops_cli/ai/harness/slots.py, src/devops_cli/config/defaults.py, src/devops_cli/roadmap/implement/implement_step.py]

Fit

Fits in one pull request.

Suspected block

30 or more implement attempts on the version with stock Coder and a real shell after #6527 ships

Dependencies

#6527

Watched files

A commit on the default branch that changes one of these files starts the next refine round.

  • src/devops_cli/ai/harness/slots.py
  • src/devops_cli/config/defaults.py
  • src/devops_cli/roadmap/implement/implement_step.py

Activity

  1. added
    type/test
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 22, 2026
  2. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    ContributorAuthor
  3. devops-cli-service commented on Nov 23, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies and Watched files in the section Proposed design of the body.

  4. devops-cli-service commented on Nov 25, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See Suspected block and Watched files in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  5. dan-petty commented on Nov 26, 2026

    @dan-petty
    Owner

    Interim count for this measure, read 2026-11-26T00:00Z: 0 of the 30 graded attempts.

    Implement on stock Coder (release 0.211.4 and later, #7031) ran 7 Jobs, and each one ended with an infra class:

    The old engine in the same 7-day window: 22 of 33 graded attempts (0.67). This item stays open until 30 graded attempts exist.

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

    effort/lowpriority/p2-mediumscope/roadmapsource/agentstatus/newtype/testvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions