Commit 1b5aec6
committed
feat(leetcode-sync): integrate LeetCode metadata sync and post-processing pipeline
- Add LeetCode problem metadata synchronization with local caching
- Introduce sync_leetcode_data.py with cache validation and refresh options
- Store normalized problem data in tools/.cache/leetcode_problems.json
- Establish question_id as the single source of truth across the pipeline
- Align file naming, API lookup, and post-processing on question_id
- Normalize LeetCode references during post-processing
- Convert plain text problem mentions into canonical LeetCode URLs
- Preserve original text when metadata is unavailable
- Automatically attach GitHub solution links when corresponding solutions exist
- Decouple external API access from core logic via a stable data layer
This change turns LeetCode API usage into infrastructure rather than ad-hoc lookups,
enabling reproducible runs, future CI validation, and safe extensibility.1 parent 64cbbae commit 1b5aec6
File tree
17 files changed
+60920
-708
lines changed- docs/pages/mindmaps
- tools
- .cache
- ai-markmap-agent
- outputs/versions/v1
- src
17 files changed
+60920
-708
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
Lines changed: 716 additions & 1 deletion
Large diffs are not rendered by default.
Lines changed: 568 additions & 610 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments