MCPcopy Create free account
hub / github.com/SteveRidout/flashdown / CardLearningDerivedMetrics

Interface CardLearningDerivedMetrics

src/types.ts:14–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13/** These are metrics derived from the list of practice records. */
14export interface CardLearningDerivedMetrics {
15 // practiceRecords: PracticeRecord[];
16
17 /**
18 * This is the interval before the previous practice with this card, or undefined if this was
19 * the user's first time practicing this card.
20 */
21 previousInterval?: number;
22
23 /** This is the previous score achieved on this card */
24 previousScore: number;
25
26 /** The next scheduled time in minutes since epoch */
27 nextPracticeTime: number;
28}
29
30export type Direction = "front-to-back" | "back-to-front";
31

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected