A Node.js CLI tool demonstrating the use of @stdlib for statistical analysis of simulated spaced-repetition flashcard data.
This script simulates a user's daily study scores for a spaced repetition flashcard. It uses @stdlib packages to generate mock data and calculate performance metrics like average retention and study consistency.
@stdlib/random-base-normal: Generates mock distribution data for study scores.@stdlib/stats-base-mean: Calculates the user's average recall rate.@stdlib/stats-base-stdev: Analyzes the user's study consistency over time.
Clone the repository and install the dependencies:
npm installTo run the script
node index.js