Clean-room nomination · Repository navigation

Repository-navigation test: repair account status labels

This test measures whether a model can explore an unfamiliar module layout, trace a public renderer to the correct implementation file, and make a small integrated change.

Nomination prepared · results pending
Public testsvisible renderer behavior
Objective evaluatorprivate arbitrary inputs
4 criteriaseparate blind review
1 nested filemust locate correct module

Test assignment

Find the status formatter and repair user-visible labels

The model starts from the public renderAccountSummary(account) API and repository documentation. It must follow the rendering flow, locate the nested status-label implementation, and repair it without moving the API or editing tests.

What the repaired behavior must do

  • Return a deterministic account summary with name, status, and two-decimal balance.
  • Treat underscores, hyphens, and whitespace as word separators in a string status.
  • Trim the value, collapse internal whitespace, title-case each word, and preserve numeric tokens.
  • Render empty or non-string status as an empty string.
  • Remain safe for arbitrary account input: missing fields must receive documented fallbacks and the public API must not throw.
Allowed file: fixtures/phase2-v2/repository-navigation/src/labels/statusLabel.js

How each reviewed solution will be scored

Each criterion receives 0–10. Public and objective checks remain separate from the manual score.

Functional correctness

How fully the public summary displays the required normalized status.

Reliability / edge cases

How safely it handles arbitrary accounts, separators, whitespace, empty values, and numbers.

Maintainability / clarity

How clear and idiomatic the formatter is within the existing module design.

Scope discipline

Whether the model found the correct nested file and avoided workaround changes elsewhere.

Overall is the arithmetic mean of the four scores.

Results are not published yet

This page defines the test before model execution. The future table will show public and objective results, four review scores, time, cost, and runtime route.

Public contract

Inspect the fixture, architecture note, and public tests ↗