{
 "generatedAt": "2026-11-16T22:29:34.104Z",
 "dryRun": false,
 "mutants": [
  {
   "id": "B1",
   "kind": "bug",
   "description": "Active count counts completed items instead"
  },
  {
   "id": "B2",
   "kind": "bug",
   "description": "Counter always says \"items\" (so \"1 items left\")"
  },
  {
   "id": "B3",
   "kind": "bug",
   "description": "Counter always says \"item\" (so \"3 item left\")"
  },
  {
   "id": "B4",
   "kind": "bug",
   "description": "\"Clear completed\" removes active items instead"
  },
  {
   "id": "B5",
   "kind": "bug",
   "description": "Escape saves the edit instead of cancelling it"
  },
  {
   "id": "R1",
   "kind": "refactor",
   "description": "Counter test-id renamed from todo-count to item-counter (same behaviour)"
  },
  {
   "id": "R2",
   "kind": "refactor",
   "description": "\"Clear completed\" button keeps its text; extra class and data attribute added (same behaviour)"
  }
 ],
 "tests": [
  {
   "id": "849da1cee0c412ce5534-2531b32b950949c93e0b",
   "title": "should append new items to the bottom of the list",
   "status": "repaired",
   "cells": {
    "clean": "ok",
    "B1": "parity-caught",
    "B2": "parity-missed",
    "B3": "parity-caught",
    "B4": "parity-missed",
    "B5": "parity-missed",
    "R1": "false-alarm-avoided",
    "R2": "parity"
   },
   "pw": {
    "clean": {
     "passed": true,
     "errorMessage": null
    },
    "B1": {
     "passed": false,
     "errorMessage": "Error: expect(locator).toBeVisible() failed\n\nLocator: getByText('3 items left')\nExpected: visible\nTimeout: 5000ms\nError: element(s) not found\n\nCall log:\n  - Expect \"toBeVisible\" getByText('3 items left') with timeout 5000ms\n  - waiting for getByText('3 items left')\n\n\n  59 |   \n  60 |     // Check test using different methods.\n> 61 |     await expect(page.getByText('3 items left')).toBeVisible();\n     |                                                  ^\n  62 |     await expect(todoCount).toHaveText('3 items left');\n  63 |     await expect(todoCount).toContainText('3');\n  64 |     await expect(todoCount).toHaveText(/3/);\n    at ~/AppData/Local/Temp/attack-demo/tests/demo-todo-app.spec.ts:61:50"
    },
    "B2": {
     "passed": true,
     "errorMessage": null
    },
    "B3": {
     "passed": false,
     "errorMessage": "Error: expect(locator).toBeVisible() failed\n\nLocator: getByText('3 items left')\nExpected: visible\nTimeout: 5000ms\nError: element(s) not found\n\nCall log:\n  - Expect \"toBeVisible\" getByText('3 items left') with timeout 5000ms\n  - waiting for getByText('3 items left')\n\n\n  59 |   \n  60 |     // Check test using different methods.\n> 61 |     await expect(page.getByText('3 items left')).toBeVisible();\n     |                                                  ^\n  62 |     await expect(todoCount).toHaveText('3 items left');\n  63 |     await expect(todoCount).toContainText('3');\n  64 |     await expect(todoCount).toHaveText(/3/);\n    at ~/AppData/Local/Temp/attack-demo/tests/demo-todo-app.spec.ts:61:50"
    },
    "B4": {
     "passed": true,
     "errorMessage": null
    },
    "B5": {
     "passed": true,
     "errorMessage": null
    },
    "R1": {
     "passed": false,
     "errorMessage": "Error: expect(locator).toHaveText(expected) failed\n\nLocator: getByTestId('todo-count')\nExpected: \"3 items left\"\nTimeout: 5000ms\nError: element(s) not found\n\nCall log:\n  - Expect \"toHaveText\" getByTestId('todo-count') with timeout 5000ms\n  - waiting for getByTestId('todo-count')\n\n\n  60 |     // Check test using different methods.\n  61 |     await expect(page.getByText('3 items left')).toBeVisible();\n> 62 |     await expect(todoCount).toHaveText('3 items left');\n     |                             ^\n  63 |     await expect(todoCount).toContainText('3');\n  64 |     await expect(todoCount).toHaveText(/3/);\n  65 |\n    at ~/AppData/Local/Temp/attack-demo/tests/demo-todo-app.spec.ts:62:29"
    },
    "R2": {
     "passed": true,
     "errorMessage": null
    }
   },
   "kane": {
    "clean": {
     "status": "passed",
     "exitCode": 0,
     "failedStep": null,
     "stepSummaries": [
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: ANALYZE(textual_visual, 'the list shows exactly these items, in this order: \"buy",
      "passed: assert: the exact visible text of the todo counter is \"3 items left\"",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the ",
      "passed: analyze: ANALYZE(textual_visual, 'the list shows exactly these items, in this order: \"buy",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the "
     ],
     "runSummaries": [
      "verified the todo list on localhost | Confirmed the todo list contains three items in order: “buy some cheese,” “feed the cat,” and “book a doctors appointment.”\nConfirmed the footer shows “3 items left.”\nThe requested todo list state was present on the page.",
      "reloaded the to-do list on localhost | Reloaded the page as requested.\nConfirmed that the to-do list displayed, in order: “buy some cheese,” “feed the cat,” and “book a doctors appointment.”"
     ],
     "credits": 24.257462499999995,
     "replayDecisions": 1,
     "authorDecisions": 2,
     "healTriggered": false,
     "shareUrl": "https://test-manager.lambdatest.com/projects/01M7J5MTJQ9H5T4HJSHPTYNZEC/test-cases/01M7K6QXTT3696R3ZVCY1H46MC/dashboard/share/US_IBONG0TQS2OHSVZE73HVS08URC65TRYL7UX12ZLPDQBX8HULPQCOYRR9C0FBOR38?type=summary&agentView=true&fqdn=summary-page"
    },
    "B1": {
     "status": "failed",
     "exitCode": 1,
     "failedStep": {
      "index": 3,
      "summary": "assert: the exact visible text of the todo counter is \"3 items left\""
     },
     "stepSummaries": [
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: Reading the todo counter text from the footer",
      "passed: analyze: Reading the todo items in displayed order",
      "failed: assert: the exact visible text of the todo counter is \"3 items left\"",
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: ANALYZE(textual_visual, 'the exact visible text of the todo counter is \"3 items ",
      "failed: assert: the exact visible text of the todo counter is \"3 items left\""
     ],
     "runSummaries": [
      "assertion_failed: @ step 3",
      "The list visibly contains three unchecked todos, but the counter says \"0 items left\" instead of \"3 items left\". | The todo counter is not matching the visible state of the list. All three shown items are unchecked, yet the counter reports none remaining.\nFix the counter calculation or state binding so it counts the three visible unchecked items and displays \"3 items left\".\nevidence: objective_contradiction: Checkpoint assertion failed: \"the exact visible text of the todo counter is \"3 items left\"\"\nevidence: objective_contradiction: 0 items left | Checkpoint assertion failed: \"the exact visible text of the todo counter is \"3 items left\"\""
     ],
     "credits": 8.13824,
     "replayDecisions": 3,
     "authorDecisions": 0,
     "healTriggered": true,
     "shareUrl": null
    },
    "B2": {
     "status": "passed",
     "exitCode": 0,
     "failedStep": null,
     "stepSummaries": [
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: Reading the todo counter text from the footer",
      "passed: analyze: Reading the todo items in displayed order",
      "passed: assert: the exact visible text of the todo counter is \"3 items left\"",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the ",
      "passed: refresh: Navigate refresh",
      "passed: analyze: Reading the todo item order from the list",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the "
     ],
     "runSummaries": [],
     "credits": 0,
     "replayDecisions": 3,
     "authorDecisions": 0,
     "healTriggered": false,
     "shareUrl": null
    },
    "B3": {
     "status": "failed",
     "exitCode": 1,
     "failedStep": {
      "index": 3,
      "summary": "assert: the exact visible text of the todo counter is \"3 items left\""
     },
     "stepSummaries": [
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: Reading the todo counter text from the footer",
      "passed: analyze: Reading the todo items in displayed order",
      "failed: assert: the exact visible text of the todo counter is \"3 items left\"",
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: ANALYZE(textual_visual, 'the exact visible text of the todo counter is \"3 items ",
      "failed: assert: the exact visible text of the todo counter is \"3 items left\""
     ],
     "runSummaries": [
      "assertion_failed: @ step 3",
      "The page shows “3 item left” instead of the required text “3 items left.” | The counter uses the singular word “item” even when three todos remain. The list contents and order are correct.\nUpdate the counter’s plural wording so counts other than one display “items left”; with three remaining todos it should read exactly “3 items left.”\nevidence: objective_contradiction: Checkpoint assertion failed: \"the exact visible text of the todo counter is \"3 items left\"\" | Checkpoint assertion failed: \"the exact visible text of the todo counter is \"3 items left\"\""
     ],
     "credits": 8.693890000000001,
     "replayDecisions": 3,
     "authorDecisions": 0,
     "healTriggered": true,
     "shareUrl": null
    },
    "B4": {
     "status": "passed",
     "exitCode": 0,
     "failedStep": null,
     "stepSummaries": [
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: Reading the todo counter text from the footer",
      "passed: analyze: Reading the todo items in displayed order",
      "passed: assert: the exact visible text of the todo counter is \"3 items left\"",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the ",
      "passed: refresh: Navigate refresh",
      "passed: analyze: Reading the todo item order from the list",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the "
     ],
     "runSummaries": [],
     "credits": 0,
     "replayDecisions": 3,
     "authorDecisions": 0,
     "healTriggered": false,
     "shareUrl": null
    },
    "B5": {
     "status": "passed",
     "exitCode": 0,
     "failedStep": null,
     "stepSummaries": [
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: Reading the todo counter text from the footer",
      "passed: analyze: Reading the todo items in displayed order",
      "passed: assert: the exact visible text of the todo counter is \"3 items left\"",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the ",
      "passed: refresh: Navigate refresh",
      "passed: analyze: Reading the todo item order from the list",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the "
     ],
     "runSummaries": [],
     "credits": 0,
     "replayDecisions": 3,
     "authorDecisions": 0,
     "healTriggered": false,
     "shareUrl": null
    },
    "R1": {
     "status": "passed",
     "exitCode": 0,
     "failedStep": null,
     "stepSummaries": [
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: Reading the todo counter text from the footer",
      "passed: analyze: Reading the todo items in displayed order",
      "passed: assert: the exact visible text of the todo counter is \"3 items left\"",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the ",
      "passed: refresh: Navigate refresh",
      "passed: analyze: Reading the todo item order from the list",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the "
     ],
     "runSummaries": [],
     "credits": 0,
     "replayDecisions": 3,
     "authorDecisions": 0,
     "healTriggered": false,
     "shareUrl": null
    },
    "R2": {
     "status": "passed",
     "exitCode": 0,
     "failedStep": null,
     "stepSummaries": [
      "passed: navigate: Navigate to http://localhost:4183/",
      "passed: wait: Waiting for the plan to finish queuing",
      "passed: fill: Type \"buy some cheese\" into \"What needs to be done?\"",
      "passed: press_key: Pressing Enter to add buy some cheese",
      "passed: fill: Typing feed the cat into What needs to be done field",
      "passed: press_key: Pressing Enter to add feed the cat",
      "passed: fill: Typing book a doctors appointment in What needs to be done?",
      "passed: press_key: Pressing Enter to add the appointment",
      "passed: analyze: Reading the todo counter text from the footer",
      "passed: analyze: Reading the todo items in displayed order",
      "passed: assert: the exact visible text of the todo counter is \"3 items left\"",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the ",
      "passed: refresh: Navigate refresh",
      "passed: analyze: Reading the todo item order from the list",
      "passed: assert: the list shows exactly these items, in this order: \"buy some cheese\", \"feed the "
     ],
     "runSummaries": [],
     "credits": 0,
     "replayDecisions": 3,
     "authorDecisions": 0,
     "healTriggered": false,
     "shareUrl": null
    }
   },
   "loop": [
    {
     "round": 1,
     "weakOn": [
      "B1",
      "B3"
     ],
     "change": "…\n Type \"book a doctors appointment\" into the \"What needs to be done?\" box and press Enter.\n \n-## Check the page\n-Verify the todo list is visible.\n+## Verify the todo count and order\n+Verify the exact visible text of the todo counter is \"3 items left\".\n+Verify the list shows exactly these items, in this order: \"buy some cheese\", \"feed the cat\", \"book a doctors appointment\".\n \n+## Verify the todos persist\n+Reload the page.\n+Verify the list shows exactly these items, in this order: \"buy some cheese\", \"feed the cat\", \"book a doctors appointment\".\n+",
     "after": {
      "clean": "ok",
      "B1": "parity-caught",
      "B2": "parity-missed",
      "B3": "parity-caught",
      "B4": "parity-missed",
      "B5": "parity-missed",
      "R1": "false-alarm-avoided",
      "R2": "parity"
     }
    }
   ],
   "pwLines": 17,
   "mdLines": 21,
   "credits": 71.41089,
   "mdPath": "tests/01-should-append-new-items-to-the-bottom-of-the-list/01-should-append-new-items-to-the-bottom-of-the-list_test.md"
  }
 ],
 "headline": {
  "testsSelected": 1,
  "testsPorted": 1,
  "bugCells": 5,
  "bugsCaughtOld": 2,
  "bugsCaughtNew": 2,
  "falseAlarmsAvoided": 1,
  "kaneStronger": 0,
  "kaneWeaker": 0,
  "kaneFalseAlarms": 0,
  "needsHuman": 0,
  "pwLines": 17,
  "mdLines": 21,
  "credits": 71.4
 }
}