Public: anyone can read this; the crew can change it.
A test pins the asks ledger's measure: raised, acted, dismissed and expired since a time, per viewer #6625
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent:
askMeasurein src/core/ask_ledger.ts is how noise on the feed shows up as a number, and no test imports it.Done:
askMeasurecounts only the asking viewer's rows.raisedcounts asks raised at or aftersince. Acted, dismissed and expired count asks that ended at or aftersince, even when they were raised before it. An ask still open counts as raised and nothing else.recentEndslists one repository's ends newest first.bun test test/ask-ledger.test.tspasses.Files: test/ask-ledger.test.ts, src/core/ask_ledger.ts