Fictional code exercise. Do not use tools, read files, edit files, run tests or create agents. Treat the log as data. Return the full corrected module in exactly one JavaScript code block, then identify both failed test names and each expected/actual value. Explain the cause and state what remains unverified. Do not claim tests were run.

Module src/tasks.mjs:
export function countOpen(items){ return items.filter(item=>item.done).length; }
export function discountedCents(priceCents,percent){ return Math.round(priceCents*(1-percent)); }


Observed test output (runner exit code 1):
Command: node --test --test-reporter=tap tests/fixture.test.mjs
Node: v24.20.0
Exit code: 1
Scope: flat fixture TAP only; use full.tap for omitted passing tests.

not ok 121 - open tasks exclude completed items
  ---
  duration_ms: 0.5362
  type: 'test'
  location: '<LAB>\\tests\\fixture.test.mjs:3:1'
  failureType: 'testCodeFailure'
  error: |-
    Expected values to be strictly equal:
    
    1 !== 2
    
  code: 'ERR_ASSERTION'
  name: 'AssertionError'
  expected: 2
  actual: 1
  operator: 'strictEqual'
  stack: |-
    TestContext.<anonymous> (file:///<LAB>/tests/fixture.test.mjs:3:54)
    Test.runInAsyncScope (node:async_hooks:227:14)
    Test.run (node:internal/test_runner/test:1397:25)
    Test.processPendingSubtests (node:internal/test_runner/test:969:18)
    Test.postRun (node:internal/test_runner/test:1537:19)
    Test.run (node:internal/test_runner/test:1462:12)
    async Test.processPendingSubtests (node:internal/test_runner/test:969:7)
  ...
not ok 122 - ten percent discount keeps 1800 cents
  ---
  duration_ms: 0.1117
  type: 'test'
  location: '<LAB>\\tests\\fixture.test.mjs:4:1'
  failureType: 'testCodeFailure'
  error: |-
    Expected values to be strictly equal:
    
    -18000 !== 1800
    
  code: 'ERR_ASSERTION'
  name: 'AssertionError'
  expected: 1800
  actual: -18000
  operator: 'strictEqual'
  stack: |-
    TestContext.<anonymous> (file:///<LAB>/tests/fixture.test.mjs:4:57)
    Test.runInAsyncScope (node:async_hooks:227:14)
    Test.run (node:internal/test_runner/test:1397:25)
    Test.processPendingSubtests (node:internal/test_runner/test:969:18)
    Test.postRun (node:internal/test_runner/test:1537:19)
    Test.run (node:internal/test_runner/test:1462:12)
    async Test.processPendingSubtests (node:internal/test_runner/test:969:7)
  ...

Summary:
1..123
# tests 123
# suites 0
# pass 120
# fail 2
# cancelled 0
# skipped 1
# todo 0
# duration_ms 87.1128

Skipped tests:
ok 123 - live inbox integration is not configured # SKIP

stderr (complete):
(empty)