File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# CLAUDE.md
22
3- This file provides guidance to Claude Code (claude.ai/claude- code) when working with this repository.
3+ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
44
55## Project Overview
66
@@ -65,11 +65,26 @@ python -m pytest .dev/tests -v
6565- ` tests/ ` - Test cases (.in/.out files)
6666- ` generators/ ` - Random test generators (optional)
6767- ` runner/ ` - Test execution engine
68- - ` src/ ` - Core packages (codegen, leetcode_datasource, practice_workspace)
68+ - ` src/ ` - Core packages (see below)
69+ - ` tools/ ` - Standalone tools (mindmaps, patterndocs, review-code)
6970- ` ontology/ ` - Algorithm ontology (TOML files)
7071- ` meta/ ` - Problem and pattern metadata
7172- ` docs/ ` - MkDocs documentation
7273
74+ ### Core Packages (` src/ ` )
75+
76+ ```
77+ leetcode_datasource ←── codegen ──→ practice_workspace
78+ ```
79+
80+ | Package | Purpose |
81+ | ---------| ---------|
82+ | ` leetcode_datasource ` | LeetCode API + SQLite cache, problem metadata |
83+ | ` codegen ` | Solution/practice skeleton generation, test extraction |
84+ | ` practice_workspace ` | Practice file history and restore |
85+
86+ Dependency rule: ` tools/ → src/ ` only, never reverse.
87+
7388### Solution File Format
7489
7590Solutions follow a standardized polymorphic pattern:
You can’t perform that action at this time.
0 commit comments