Evidence Capture: quality
1 failingResults of the run of the commit 8df3cc3b89 at 2026-11-22 16:24 UTC (the run) that made this site; a library whose suite was not run in it has none.
The library: Evidence Capture.
Quality gate
The library does not hold 1 condition of the gate. The gate is shown and enforces nothing: the site is published whatever it says.
| Condition | Holds | Why not |
|---|---|---|
| its tests were in the run | yes | |
| no test failed | no | 1 test failed |
| no open issue of severity high or critical | yes |
Line coverage
96.6% of 495 lines of 13 source files are reached by the library's tests. The least covered files:
| File | Lines | Hit | Covered |
|---|---|---|---|
commons/evidence-capture/src/physical/timer.ts | 25 | 22 | 88% |
commons/evidence-capture/src/physical/bundle.ts | 119 | 112 | 94.1% |
commons/evidence-capture/src/physical/signing.ts | 44 | 42 | 95.5% |
commons/evidence-capture/src/logical/journal.ts | 54 | 52 | 96.3% |
commons/evidence-capture/src/physical/collect.ts | 109 | 106 | 97.2% |
commons/evidence-capture/src/physical/views.ts | 67 | 67 | 100% |
commons/evidence-capture/src/logical/query.ts | 33 | 33 | 100% |
commons/evidence-capture/library.ts | 23 | 23 | 100% |
commons/evidence-capture/src/logical/spans.ts | 11 | 11 | 100% |
commons/evidence-capture/src/physical/mod.ts | 5 | 5 | 100% |
Tests
26 tests: 25 passed, 1 failed, 0 skipped, 0 planned or other.
Failing
| Test | File | Result | Time | Why |
|---|---|---|---|---|
| a state is kept only where it changed, every look is journaled, commits come when a state changed or the batch interval has run, and the commit is made at the instant and names what changed | suite/collect.test.ts | failed | 49 ms | Expected values to be strictly deep-equal: + actual - expected + '2026-12-01T10:00:00Z|captured 2026-12-01T10:00:00Z: changed sparta; 1 entries' - '2026-12-01T10:00:00+00:00|captured 2026-12-01T10:00:00Z: changed sparta; 1 entries' |
Slowest
| Test | File | Result | Time |
|---|---|---|---|
| the journal is sealed with a person's key, the seal verifies, the entries after it are counted, and a changed journal or a seal by another key is found | suite/seal.test.ts | passed | 172 ms |
| a look that fails is journaled as its kind and leaves the state kept as it was | suite/collect.test.ts | passed | 159 ms |
| the branch alone is pushed as the policy says, a push that fails is an entry and leaves the remote as it was, and a later run tries again | suite/collect.test.ts | passed | 148 ms |
| only the assets that are due are looked at, those told are looked at whether due or not, and the number at once is limited | suite/collect.test.ts | passed | 138 ms |
| the journal and the last look at each asset are relations, the questions of an operator are one line of SQL each, what is not one read is refused as a value, and the branch is asked through the store (a branch that does not exist says nothing was captured) | suite/views.test.ts | passed | 118 ms |
| a key is sealed with only if it is a signer's (and the one the policy names), an export without a key is refused where a seal is asked for, and a bundle is verified offline with the signers of a file | suite/views.test.ts | passed | 117 ms |
| a bundle is exported up to an instant, signed with a key, and verified offline; each way it can be wrong is named | suite/seal.test.ts | passed | 109 ms |
| the difference of an asset's state is the last change by default, between two instants or commits, or since a span, and nothing where there is nothing to compare | suite/views.test.ts | passed | 85 ms |
| the changes are listed newest first, each with its difference from the state before, and the first state is marked | suite/views.test.ts | passed | 73 ms |
| with a journal of changes and a heartbeat, only a change and the heartbeat are entries | suite/collect.test.ts | passed | 71 ms |
History
The last 6 runs in which the library's tests ran, oldest first.
Requirements
32 requirements: 30 proved, 0 partly (a test skipped or planned), 2 failing, 0 with no test recorded.