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):
TAP version 13
# Subtest: fixture arithmetic 1
ok 1 - fixture arithmetic 1
  ---
  duration_ms: 1.2873
  type: 'test'
  ...
# Subtest: fixture arithmetic 2
ok 2 - fixture arithmetic 2
  ---
  duration_ms: 0.0721
  type: 'test'
  ...
# Subtest: fixture arithmetic 3
ok 3 - fixture arithmetic 3
  ---
  duration_ms: 0.0387
  type: 'test'
  ...
# Subtest: fixture arithmetic 4
ok 4 - fixture arithmetic 4
  ---
  duration_ms: 0.0335
  type: 'test'
  ...
# Subtest: fixture arithmetic 5
ok 5 - fixture arithmetic 5
  ---
  duration_ms: 0.0493
  type: 'test'
  ...
# Subtest: fixture arithmetic 6
ok 6 - fixture arithmetic 6
  ---
  duration_ms: 0.0323
  type: 'test'
  ...
# Subtest: fixture arithmetic 7
ok 7 - fixture arithmetic 7
  ---
  duration_ms: 0.0334
  type: 'test'
  ...
# Subtest: fixture arithmetic 8
ok 8 - fixture arithmetic 8
  ---
  duration_ms: 0.0265
  type: 'test'
  ...
# Subtest: fixture arithmetic 9
ok 9 - fixture arithmetic 9
  ---
  duration_ms: 0.0363
  type: 'test'
  ...
# Subtest: fixture arithmetic 10
ok 10 - fixture arithmetic 10
  ---
  duration_ms: 0.0777
  type: 'test'
  ...
# Subtest: fixture arithmetic 11
ok 11 - fixture arithmetic 11
  ---
  duration_ms: 0.0426
  type: 'test'
  ...
# Subtest: fixture arithmetic 12
ok 12 - fixture arithmetic 12
  ---
  duration_ms: 0.0313
  type: 'test'
  ...
# Subtest: fixture arithmetic 13
ok 13 - fixture arithmetic 13
  ---
  duration_ms: 0.0264
  type: 'test'
  ...
# Subtest: fixture arithmetic 14
ok 14 - fixture arithmetic 14
  ---
  duration_ms: 0.0613
  type: 'test'
  ...
# Subtest: fixture arithmetic 15
ok 15 - fixture arithmetic 15
  ---
  duration_ms: 0.0657
  type: 'test'
  ...
# Subtest: fixture arithmetic 16
ok 16 - fixture arithmetic 16
  ---
  duration_ms: 0.0218
  type: 'test'
  ...
# Subtest: fixture arithmetic 17
ok 17 - fixture arithmetic 17
  ---
  duration_ms: 0.0287
  type: 'test'
  ...
# Subtest: fixture arithmetic 18
ok 18 - fixture arithmetic 18
  ---
  duration_ms: 0.0212
  type: 'test'
  ...
# Subtest: fixture arithmetic 19
ok 19 - fixture arithmetic 19
  ---
  duration_ms: 0.0181
  type: 'test'
  ...
# Subtest: fixture arithmetic 20
ok 20 - fixture arithmetic 20
  ---
  duration_ms: 0.0221
  type: 'test'
  ...
# Subtest: fixture arithmetic 21
ok 21 - fixture arithmetic 21
  ---
  duration_ms: 0.018
  type: 'test'
  ...
# Subtest: fixture arithmetic 22
ok 22 - fixture arithmetic 22
  ---
  duration_ms: 0.016
  type: 'test'
  ...
# Subtest: fixture arithmetic 23
ok 23 - fixture arithmetic 23
  ---
  duration_ms: 0.0154
  type: 'test'
  ...
# Subtest: fixture arithmetic 24
ok 24 - fixture arithmetic 24
  ---
  duration_ms: 0.0161
  type: 'test'
  ...
# Subtest: fixture arithmetic 25
ok 25 - fixture arithmetic 25
  ---
  duration_ms: 0.0161
  type: 'test'
  ...
# Subtest: fixture arithmetic 26
ok 26 - fixture arithmetic 26
  ---
  duration_ms: 0.016
  type: 'test'
  ...
# Subtest: fixture arithmetic 27
ok 27 - fixture arithmetic 27
  ---
  duration_ms: 0.0146
  type: 'test'
  ...
# Subtest: fixture arithmetic 28
ok 28 - fixture arithmetic 28
  ---
  duration_ms: 0.0139
  type: 'test'
  ...
# Subtest: fixture arithmetic 29
ok 29 - fixture arithmetic 29
  ---
  duration_ms: 0.0407
  type: 'test'
  ...
# Subtest: fixture arithmetic 30
ok 30 - fixture arithmetic 30
  ---
  duration_ms: 0.0242
  type: 'test'
  ...
# Subtest: fixture arithmetic 31
ok 31 - fixture arithmetic 31
  ---
  duration_ms: 0.0143
  type: 'test'
  ...
# Subtest: fixture arithmetic 32
ok 32 - fixture arithmetic 32
  ---
  duration_ms: 0.0208
  type: 'test'
  ...
# Subtest: fixture arithmetic 33
ok 33 - fixture arithmetic 33
  ---
  duration_ms: 0.0177
  type: 'test'
  ...
# Subtest: fixture arithmetic 34
ok 34 - fixture arithmetic 34
  ---
  duration_ms: 0.0168
  type: 'test'
  ...
# Subtest: fixture arithmetic 35
ok 35 - fixture arithmetic 35
  ---
  duration_ms: 0.0258
  type: 'test'
  ...
# Subtest: fixture arithmetic 36
ok 36 - fixture arithmetic 36
  ---
  duration_ms: 0.0174
  type: 'test'
  ...
# Subtest: fixture arithmetic 37
ok 37 - fixture arithmetic 37
  ---
  duration_ms: 0.0307
  type: 'test'
  ...
# Subtest: fixture arithmetic 38
ok 38 - fixture arithmetic 38
  ---
  duration_ms: 0.0155
  type: 'test'
  ...
# Subtest: fixture arithmetic 39
ok 39 - fixture arithmetic 39
  ---
  duration_ms: 0.0198
  type: 'test'
  ...
# Subtest: fixture arithmetic 40
ok 40 - fixture arithmetic 40
  ---
  duration_ms: 0.0137
  type: 'test'
  ...
# Subtest: fixture arithmetic 41
ok 41 - fixture arithmetic 41
  ---
  duration_ms: 0.0135
  type: 'test'
  ...
# Subtest: fixture arithmetic 42
ok 42 - fixture arithmetic 42
  ---
  duration_ms: 0.0121
  type: 'test'
  ...
# Subtest: fixture arithmetic 43
ok 43 - fixture arithmetic 43
  ---
  duration_ms: 0.0135
  type: 'test'
  ...
# Subtest: fixture arithmetic 44
ok 44 - fixture arithmetic 44
  ---
  duration_ms: 0.028
  type: 'test'
  ...
# Subtest: fixture arithmetic 45
ok 45 - fixture arithmetic 45
  ---
  duration_ms: 0.0112
  type: 'test'
  ...
# Subtest: fixture arithmetic 46
ok 46 - fixture arithmetic 46
  ---
  duration_ms: 0.0107
  type: 'test'
  ...
# Subtest: fixture arithmetic 47
ok 47 - fixture arithmetic 47
  ---
  duration_ms: 0.0149
  type: 'test'
  ...
# Subtest: fixture arithmetic 48
ok 48 - fixture arithmetic 48
  ---
  duration_ms: 0.0113
  type: 'test'
  ...
# Subtest: fixture arithmetic 49
ok 49 - fixture arithmetic 49
  ---
  duration_ms: 0.0112
  type: 'test'
  ...
# Subtest: fixture arithmetic 50
ok 50 - fixture arithmetic 50
  ---
  duration_ms: 0.0113
  type: 'test'
  ...
# Subtest: fixture arithmetic 51
ok 51 - fixture arithmetic 51
  ---
  duration_ms: 0.0136
  type: 'test'
  ...
# Subtest: fixture arithmetic 52
ok 52 - fixture arithmetic 52
  ---
  duration_ms: 0.0132
  type: 'test'
  ...
# Subtest: fixture arithmetic 53
ok 53 - fixture arithmetic 53
  ---
  duration_ms: 0.0131
  type: 'test'
  ...
# Subtest: fixture arithmetic 54
ok 54 - fixture arithmetic 54
  ---
  duration_ms: 0.0168
  type: 'test'
  ...
# Subtest: fixture arithmetic 55
ok 55 - fixture arithmetic 55
  ---
  duration_ms: 0.0111
  type: 'test'
  ...
# Subtest: fixture arithmetic 56
ok 56 - fixture arithmetic 56
  ---
  duration_ms: 0.011
  type: 'test'
  ...
# Subtest: fixture arithmetic 57
ok 57 - fixture arithmetic 57
  ---
  duration_ms: 0.0118
  type: 'test'
  ...
# Subtest: fixture arithmetic 58
ok 58 - fixture arithmetic 58
  ---
  duration_ms: 0.0151
  type: 'test'
  ...
# Subtest: fixture arithmetic 59
ok 59 - fixture arithmetic 59
  ---
  duration_ms: 0.0114
  type: 'test'
  ...
# Subtest: fixture arithmetic 60
ok 60 - fixture arithmetic 60
  ---
  duration_ms: 0.0112
  type: 'test'
  ...
# Subtest: fixture arithmetic 61
ok 61 - fixture arithmetic 61
  ---
  duration_ms: 0.0153
  type: 'test'
  ...
# Subtest: fixture arithmetic 62
ok 62 - fixture arithmetic 62
  ---
  duration_ms: 0.0112
  type: 'test'
  ...
# Subtest: fixture arithmetic 63
ok 63 - fixture arithmetic 63
  ---
  duration_ms: 0.0115
  type: 'test'
  ...
# Subtest: fixture arithmetic 64
ok 64 - fixture arithmetic 64
  ---
  duration_ms: 0.0353
  type: 'test'
  ...
# Subtest: fixture arithmetic 65
ok 65 - fixture arithmetic 65
  ---
  duration_ms: 0.4087
  type: 'test'
  ...
# Subtest: fixture arithmetic 66
ok 66 - fixture arithmetic 66
  ---
  duration_ms: 0.0153
  type: 'test'
  ...
# Subtest: fixture arithmetic 67
ok 67 - fixture arithmetic 67
  ---
  duration_ms: 0.0129
  type: 'test'
  ...
# Subtest: fixture arithmetic 68
ok 68 - fixture arithmetic 68
  ---
  duration_ms: 0.0109
  type: 'test'
  ...
# Subtest: fixture arithmetic 69
ok 69 - fixture arithmetic 69
  ---
  duration_ms: 0.0134
  type: 'test'
  ...
# Subtest: fixture arithmetic 70
ok 70 - fixture arithmetic 70
  ---
  duration_ms: 0.0109
  type: 'test'
  ...
# Subtest: fixture arithmetic 71
ok 71 - fixture arithmetic 71
  ---
  duration_ms: 0.0119
  type: 'test'
  ...
# Subtest: fixture arithmetic 72
ok 72 - fixture arithmetic 72
  ---
  duration_ms: 0.0162
  type: 'test'
  ...
# Subtest: fixture arithmetic 73
ok 73 - fixture arithmetic 73
  ---
  duration_ms: 0.0159
  type: 'test'
  ...
# Subtest: fixture arithmetic 74
ok 74 - fixture arithmetic 74
  ---
  duration_ms: 0.0098
  type: 'test'
  ...
# Subtest: fixture arithmetic 75
ok 75 - fixture arithmetic 75
  ---
  duration_ms: 0.0097
  type: 'test'
  ...
# Subtest: fixture arithmetic 76
ok 76 - fixture arithmetic 76
  ---
  duration_ms: 0.0096
  type: 'test'
  ...
# Subtest: fixture arithmetic 77
ok 77 - fixture arithmetic 77
  ---
  duration_ms: 0.0098
  type: 'test'
  ...
# Subtest: fixture arithmetic 78
ok 78 - fixture arithmetic 78
  ---
  duration_ms: 0.0135
  type: 'test'
  ...
# Subtest: fixture arithmetic 79
ok 79 - fixture arithmetic 79
  ---
  duration_ms: 0.0097
  type: 'test'
  ...
# Subtest: fixture arithmetic 80
ok 80 - fixture arithmetic 80
  ---
  duration_ms: 0.0098
  type: 'test'
  ...
# Subtest: fixture arithmetic 81
ok 81 - fixture arithmetic 81
  ---
  duration_ms: 0.0098
  type: 'test'
  ...
# Subtest: fixture arithmetic 82
ok 82 - fixture arithmetic 82
  ---
  duration_ms: 0.0096
  type: 'test'
  ...
# Subtest: fixture arithmetic 83
ok 83 - fixture arithmetic 83
  ---
  duration_ms: 0.0097
  type: 'test'
  ...
# Subtest: fixture arithmetic 84
ok 84 - fixture arithmetic 84
  ---
  duration_ms: 0.0101
  type: 'test'
  ...
# Subtest: fixture arithmetic 85
ok 85 - fixture arithmetic 85
  ---
  duration_ms: 0.01
  type: 'test'
  ...
# Subtest: fixture arithmetic 86
ok 86 - fixture arithmetic 86
  ---
  duration_ms: 0.0112
  type: 'test'
  ...
# Subtest: fixture arithmetic 87
ok 87 - fixture arithmetic 87
  ---
  duration_ms: 0.0097
  type: 'test'
  ...
# Subtest: fixture arithmetic 88
ok 88 - fixture arithmetic 88
  ---
  duration_ms: 0.0095
  type: 'test'
  ...
# Subtest: fixture arithmetic 89
ok 89 - fixture arithmetic 89
  ---
  duration_ms: 0.0096
  type: 'test'
  ...
# Subtest: fixture arithmetic 90
ok 90 - fixture arithmetic 90
  ---
  duration_ms: 0.0122
  type: 'test'
  ...
# Subtest: fixture arithmetic 91
ok 91 - fixture arithmetic 91
  ---
  duration_ms: 0.0095
  type: 'test'
  ...
# Subtest: fixture arithmetic 92
ok 92 - fixture arithmetic 92
  ---
  duration_ms: 0.0094
  type: 'test'
  ...
# Subtest: fixture arithmetic 93
ok 93 - fixture arithmetic 93
  ---
  duration_ms: 0.0099
  type: 'test'
  ...
# Subtest: fixture arithmetic 94
ok 94 - fixture arithmetic 94
  ---
  duration_ms: 0.0094
  type: 'test'
  ...
# Subtest: fixture arithmetic 95
ok 95 - fixture arithmetic 95
  ---
  duration_ms: 0.0096
  type: 'test'
  ...
# Subtest: fixture arithmetic 96
ok 96 - fixture arithmetic 96
  ---
  duration_ms: 0.0095
  type: 'test'
  ...
# Subtest: fixture arithmetic 97
ok 97 - fixture arithmetic 97
  ---
  duration_ms: 0.0096
  type: 'test'
  ...
# Subtest: fixture arithmetic 98
ok 98 - fixture arithmetic 98
  ---
  duration_ms: 0.0134
  type: 'test'
  ...
# Subtest: fixture arithmetic 99
ok 99 - fixture arithmetic 99
  ---
  duration_ms: 0.0128
  type: 'test'
  ...
# Subtest: fixture arithmetic 100
ok 100 - fixture arithmetic 100
  ---
  duration_ms: 0.0127
  type: 'test'
  ...
# Subtest: fixture arithmetic 101
ok 101 - fixture arithmetic 101
  ---
  duration_ms: 0.0123
  type: 'test'
  ...
# Subtest: fixture arithmetic 102
ok 102 - fixture arithmetic 102
  ---
  duration_ms: 0.0106
  type: 'test'
  ...
# Subtest: fixture arithmetic 103
ok 103 - fixture arithmetic 103
  ---
  duration_ms: 0.0139
  type: 'test'
  ...
# Subtest: fixture arithmetic 104
ok 104 - fixture arithmetic 104
  ---
  duration_ms: 0.0155
  type: 'test'
  ...
# Subtest: fixture arithmetic 105
ok 105 - fixture arithmetic 105
  ---
  duration_ms: 0.0163
  type: 'test'
  ...
# Subtest: fixture arithmetic 106
ok 106 - fixture arithmetic 106
  ---
  duration_ms: 0.0105
  type: 'test'
  ...
# Subtest: fixture arithmetic 107
ok 107 - fixture arithmetic 107
  ---
  duration_ms: 0.0134
  type: 'test'
  ...
# Subtest: fixture arithmetic 108
ok 108 - fixture arithmetic 108
  ---
  duration_ms: 0.0101
  type: 'test'
  ...
# Subtest: fixture arithmetic 109
ok 109 - fixture arithmetic 109
  ---
  duration_ms: 0.0126
  type: 'test'
  ...
# Subtest: fixture arithmetic 110
ok 110 - fixture arithmetic 110
  ---
  duration_ms: 0.0144
  type: 'test'
  ...
# Subtest: fixture arithmetic 111
ok 111 - fixture arithmetic 111
  ---
  duration_ms: 0.0143
  type: 'test'
  ...
# Subtest: fixture arithmetic 112
ok 112 - fixture arithmetic 112
  ---
  duration_ms: 0.0177
  type: 'test'
  ...
# Subtest: fixture arithmetic 113
ok 113 - fixture arithmetic 113
  ---
  duration_ms: 0.0145
  type: 'test'
  ...
# Subtest: fixture arithmetic 114
ok 114 - fixture arithmetic 114
  ---
  duration_ms: 0.0135
  type: 'test'
  ...
# Subtest: fixture arithmetic 115
ok 115 - fixture arithmetic 115
  ---
  duration_ms: 0.018
  type: 'test'
  ...
# Subtest: fixture arithmetic 116
ok 116 - fixture arithmetic 116
  ---
  duration_ms: 0.015
  type: 'test'
  ...
# Subtest: fixture arithmetic 117
ok 117 - fixture arithmetic 117
  ---
  duration_ms: 0.0103
  type: 'test'
  ...
# Subtest: fixture arithmetic 118
ok 118 - fixture arithmetic 118
  ---
  duration_ms: 0.0105
  type: 'test'
  ...
# Subtest: fixture arithmetic 119
ok 119 - fixture arithmetic 119
  ---
  duration_ms: 0.0104
  type: 'test'
  ...
# Subtest: fixture arithmetic 120
ok 120 - fixture arithmetic 120
  ---
  duration_ms: 0.0105
  type: 'test'
  ...
# Subtest: open tasks exclude completed items
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)
  ...
# Subtest: ten percent discount keeps 1800 cents
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)
  ...
# Subtest: live inbox integration is not configured
ok 123 - live inbox integration is not configured # SKIP
  ---
  duration_ms: 0.0242
  type: 'test'
  ...
1..123
# tests 123
# suites 0
# pass 120
# fail 2
# cancelled 0
# skipped 1
# todo 0
# duration_ms 87.1128
