test(pulse): prove the day-mean method across readers, the dry run's single write and the bounded heap

This commit is contained in:
Marc-André Bombeck committed 2026-10-16 01:07:24 +02:00
1 parent 9f17cef8e4
commit 46e82efe22
5 files changed
+431 -5

No files matched your search

+6 -1
View File
@@ -14,7 +14,12 @@ export const pulseDayMeanActionSchema = z.strictObject({
export type PulseDayMeanActionInput = z.infer<typeof pulseDayMeanActionSchema>;
/** Where a day's change between the two methods falls, in bpm. */
export const PULSE_DAY_MEAN_CHANGE_BUCKETS = ["0-1", "1-2", "2-5", "5+"] as const;
export const PULSE_DAY_MEAN_CHANGE_BUCKETS = [
"0-1",
"1-2",
"2-5",
"5+",
] as const;
/**
* What a dry run found. Accounts are numbered in the order they were created