```javascript
export function countOpen(items){ return items.filter(item=>!item.done).length; }
export function discountedCents(priceCents,percent){ return Math.round(priceCents*(100-percent)/100); }
```

**Failed tests**

1. `not ok 121 - open tasks exclude completed items`: expected `2`, actual `1` (`strictEqual`).
2. `not ok 122 - ten percent discount keeps 1800 cents`: expected `1800`, actual `-18000` (`strictEqual`).

**Cause**

1. `countOpen` filtered on `item.done`, so it counted completed items instead of open ones. The fix negates the predicate. The 1 vs 2 result fits a fixture with one done and two open items, though I can't see the fixture.
2. `discountedCents` treated `percent` as a fraction (`1 - percent`), but the test passes a whole-number percent (10). That gives `priceCents * (1 - 10) = priceCents * -9`. The actual of `-18000` implies a price of 2000, and `2000 * 0.9 = 1800` matches the expected value. The fix uses `(100 - percent) / 100`.

**Unverified**

- I did not run anything, so neither fix is confirmed against the tests.
- I haven't seen `tests/fixture.test.mjs`. The price of 2000 and percent of 10 are inferred from the output.
- The 120 passing tests are not in the log (they are in `full.tap`). If any of them or other callers pass `percent` as a fraction like `0.1`, the new formula would break them.
- Rounding behavior for half-cent cases, and validation of out-of-range percents or missing `done` fields, are untested here.
- Test 123 (live inbox integration) was skipped, so it is unexercised.