lc-review 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,13 +25,32 @@ Example:
25
25
  lc-review next 3
26
26
  ```
27
27
 
28
- Record a solved attempt (grade 1-5):
28
+ Record a solved attempt (confidence range: 0.0 to 1.0):
29
29
 
30
- - `lc-review add <problem_number> <grade>`
30
+ - `lc-review add <problem_number> <confidence>`
31
31
 
32
32
  Example:
33
33
 
34
34
  ```bash
35
35
  # add a problem result
36
- lc-review add 1234 4
36
+ lc-review add 1234 0.4
37
37
  ```
38
+
39
+ ## solutions.log File
40
+
41
+ The tool automatically creates and maintains a `solutions.log` file in your
42
+ current directory to track your problem-solving history. Each entry is recorded
43
+ in the following format:
44
+
45
+ ```
46
+ date=YYYY-MM-DD problem=#### confidence=N.N [skip=true]
47
+ ```
48
+
49
+ - **date**: The date you solved the problem (ISO format)
50
+ - **problem**: The LeetCode problem number (zero-padded to 4 digits)
51
+ - **confidence**: Your confidence level from 0.0 (no confidence) to 1.0 (full
52
+ confidence)
53
+ - **skip**: Optional flag to mark a problem as skipped in reviews
54
+
55
+ This file is used by the SM2 algorithm to calculate when you should review each
56
+ problem next.
package/dist/index.mjs CHANGED
@@ -100964,7 +100964,7 @@ const review = async (logFile, n, premium = false) => {
100964
100964
 
100965
100965
  //#endregion
100966
100966
  //#region package.json
100967
- var version = "0.0.6";
100967
+ var version = "0.0.8";
100968
100968
 
100969
100969
  //#endregion
100970
100970
  //#region src/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lc-review",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "LeetCode flashcards for spaced repetition learning",
5
5
  "repository": {
6
6
  "type": "git",