Skip to content

Industry field guide

Software issue histories for testing AI coding agents

An issue thread is useful when it can be tied to a reproducible starting state and a checkable fix.

2022 NAICS
513210
Updated

What this guide tests

Which regression does candidate C fix in the supplied checks, and what evidence prevents calling the issue fully repaired?

See the specimen and fields · Work through the fictional records

Task and source context

An issue thread is useful when it can be tied to a reproducible starting state and a checkable fix. SWE-bench demonstrated an evaluation built around real repository issues. Later evaluations have identified flaws and contamination in public benchmark cases. A fresh, authorized set of software tasks can be useful if the acceptance test actually proves the repair. SWE-bench research · OpenAI on SWE-bench Verified limitations

Package a task as a reproducible case

Provide a problem statement, isolated code snapshot, steps to reproduce, dependency lockfile and expected behavior. Keep the reference fix separate. Include tests that fail before the fix and pass after it, along with regression tests for related behavior. Have another maintainer verify that tests accept legitimate fixes and reject shortcuts.

Use task families or products for the train and evaluation split. If adjacent tickets expose the fix, keep them together. Mark cases that require unavailable services or credentials and replace them with a safe local fixture.

Clear the rights to the source and discussion

Code ownership can differ from issue comments, customer logs and third-party dependencies. Strip credentials, deployment URLs and real customer traces. Check licenses, contractor assignments and client terms. Start with a self-contained example a team owns or an approved open-source case under its actual terms.

Describe the testable workflow before exporting a repository. State how a buyer can reproduce the issue, prove a correct fix and review source authority. Describe a dataset

Industry research

The U.S. Census Bureau’s industry definitions establish which activities these codes cover. The workflow sources in this guide describe the task or record type. Fiund’s pilot below uses fictional material to test a specific decision within that scope.

513210 · Software Publishers

This industry comprises establishments primarily engaged in software publishing. Establishments in this industry carry out operations necessary for producing and distributing computer software, such as designing, providing documentation, assisting in installation, and providing support services to software purchasers. These establishments may design, develop, and publish, or publish only. These establishments may publish and distribute software through subscriptions and/or downloads.

U.S. Census Bureau, 2022 NAICS Manual, p. 411 ↗

Build a pilot sample

Set up this pilot

Build a small original software fixture with a repaired visible case and a held-out failure. Keep related inputs in one partition and grade remaining acceptance gaps.

Prepare the test packets

  1. Start with the worked case. Use the fictional record types below as a guide to the source files you need. Give each packet a stable ID and save its source versions with it.
  2. Change one fact. Make one packet with enough evidence to answer the question and one where the evidence points to a different answer. Keep the other fields fixed so a reviewer can tell what changed.
  3. Remove the decisive evidence. Give the reviewer a third packet with a plausible near-match in its place. Have them write what can still be established and what evidence would resolve the rest.

Fields the reviewer needs

Snapshot and dependency fixture
Makes the starting failure reproducible.
Input, expected and observed output
Shows exactly which behavior a check proves.
Held-out acceptance case
Rejects a shortcut that fits only the first example.
Task-family split
Keeps closely related fix-revealing cases together.

Use Make a segment-level rights inventory for media and publishing to turn the specimen into a brief with a defined task, source and review owner.

Fictional exercise

An issue's first passing test does not prove a general repair

An original local task defines sum_sizes as the sum of nonnegative integer list entries. Dummy snapshots, fixtures and candidate results expose a shortcut without relying on a public benchmark or customer repository.

Records supplied to the evaluator
Record IDSourceWhat it records
SO1Reproducible starting fixturesum_sizes([2,3]) returns 2 but expected 5. Empty input returns expected 0. Snapshot S1 and fixed dependency list supplied.
SO2Candidate output logCandidate C returns 5 for [2,3], 0 for [], and 5 for [0,4]. Last expected output is 4.
SO3Independent acceptance keyTask requires all valid lists, not just the first fixture. Candidate patch and reference solution kept separate from model input.

Question for the model. Which regression does candidate C fix in the supplied checks, and what evidence prevents calling the issue fully repaired?

Show the reference answer

SO2 shows C passing the original [2,3] reproduction and retaining the empty-list result. It fails the independent [0,4] check by returning 5 instead of 4. Under SO3's stated task, that is evidence against a general repair despite the first test passing. Report each input, expected value and observed value; do not label the issue resolved or infer a correct implementation from one successful case.

Download the fictional records and answer key (JSON)

How to check the result

Ask for the answer, the record IDs that support it and any fact the evidence leaves unresolved. Have a reviewer compare the response against the reference before deciding whether the sample is ready to expand.

Errors to flag in this case

  • Accepting a hard-coded shortcut after only the original reproduction passes.
  • Leaking the reference solution or adjacent fix discussion into the evaluation input.

Change the inputs and run it again

Use a separately authored list family with three or more entries and varied zeros. Have an independent maintainer verify legitimate implementations and reject constant-output shortcuts before accepting the task pack.

Score the decision and the evidence separately

Save the reviewer’s expected answer, supporting record IDs and unresolved fields in a separate answer key. Score the model on the decision, its citations and its handling of the deliberate gap. A correct answer citing a different case counts as an evidence error.

Before expanding collection, have a second reviewer run the same checks on the held-out packet. Keep related versions, views and exports of the same case together so they stay on one side of the training and evaluation split.

Check permission and scope

Use original self-contained code and synthetic fixtures. Exclude credentials, deployment URLs, customer traces, protected issue comments and unlicensed dependencies.

Exclude licensed third-party text, private subscriber information and unpublished author material without permission.

Describe an authorized archive through Fiund’s existing-data assessment, or describe a new capture capability through the collection brief. The contributor agreement covers the terms for participation.

Sources and further reading

Resources for this workflow

How the examples work

Company and program reviews

Use these reviews to compare sourcing, capture or evaluation approaches. Confirm the applicable program, accepted sources and terms with the provider.

All company reviews

Related industry examples

← Information and publishing