{
  "id": 7229222,
  "title": "My Harness Used One Label for Three Different Failures.",
  "url": "https://urgent.news/2026/09/14/my-harness-used-one-label-for-three-different-failures",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-14T02:14:53.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/kenielzep97/my-harness-used-one-label-for-three-different-failures-2gc3"
  },
  "original_language": "en",
  "account": "Three distinct experiments all attributed the same error code to their failures. The parser rejected arguments in the first attempt, the comparison identified discrepancies in the second, and the comparer itself failed in the third. Despite the differences in the nature of the issues, the label \"EXEC_ARGUMENTS_MISMATCH\" persisted across all three. This single label concealed the underlying problems, as it failed to differentiate between receiving unreadable inputs, a comparison that couldn't complete, and a comparison that found differences. The code's design obscured the specific failures, presenting them all under one umbrella term. This oversight meant that readers had to infer the nature of each issue based on context, rather than being explicitly informed. The fix involved separating the parsing process from the comparison, allowing each stage to handle its own errors. This change resulted in clearer labeling, with each stage now having its own designated error code. Consequently, the middle line of the experiments changed from \"EXEC_ARGUMENTS_MISMATCH\" to \"EXEC_ARGUMENTS_INVALID\". This modification brought the observations in line with their actual causes, providing a more accurate representation of what went wrong in each scenario.",
  "summary": "Three fixtures, three separate calls into the same reducer. Here is the complete failure_reasons each one returned, unedited: unreadable arriving args -> [ \"SANDBOX_EVENT_CARDINALITY_INVALID\" , \"EXEC_ARGUMENTS_MISMATCH\" , \"TOOL_RESPONSE_CARDINALITY_INVALID\" ] usable args, different -> [ \"SANDBOX_EVENT_CARDINALITY_INVALID\" , \"EXEC_ARGUMENTS_MISMATCH\" , \"TOOL_RESPONSE_CARDINALITY_INVALID\" ] our…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}