```javascript
// 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/100)); }
```

**Failed tests**

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

**Cause**

1. `countOpen` filtered on `item.done`, so it counted completed items instead of open ones. The fix is to filter on `!item.done`. The actual of 1 and expected of 2 are consistent with a fixture where one item is done and two are not, but I can't see the fixture, so that is an inference.
2. `discountedCents` treated `percent` as a fraction (`1 - percent`), but the test passes a whole-number percent. With `percent = 10` and an apparent price of 2000 cents, `2000 * (1 - 10) = -18000`, which matches the actual. The fix divides by 100: `2000 * 0.9 = 1800`. The price of 2000 is back-calculated from the two values, not read from the test.

**Unverified**

- I did not run anything, so neither the corrected module nor the two fixed tests have been confirmed to pass.
- I haven't seen `tests/fixture.test.mjs`, so the fixture inputs are inferred as described above.
- The 120 passing "fixture arithmetic" tests were not inspected. I can't confirm they don't depend on the old behavior, though they passed before the change and the change only touches these two functions.
- Floating-point rounding in `discountedCents` (e.g. `Math.round` on values like `x.5`) is untested, as is input validation (percent outside 0–100, non-integer cents).
- The skipped test (`live inbox integration is not configured`) was not exercised.