@yeongjaeyou/claude-code-config 0.18.0 → 0.18.1
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.
|
@@ -49,6 +49,22 @@ Safely edit Jupyter Notebook files using the correct tools.
|
|
|
49
49
|
- **Verification required**: Immediately verify changes after editing
|
|
50
50
|
- **Follow CLAUDE.md**: Adhere strictly to project guidelines
|
|
51
51
|
|
|
52
|
+
## Path Compatibility
|
|
53
|
+
|
|
54
|
+
Notebooks in `notebooks/` cannot use project-root relative paths directly.
|
|
55
|
+
|
|
56
|
+
```python
|
|
57
|
+
# First code cell - set PROJECT_ROOT
|
|
58
|
+
from pathlib import Path
|
|
59
|
+
|
|
60
|
+
PROJECT_ROOT = Path.cwd().parent
|
|
61
|
+
if not (PROJECT_ROOT / 'outputs').exists():
|
|
62
|
+
PROJECT_ROOT = Path.cwd()
|
|
63
|
+
|
|
64
|
+
# Use PROJECT_ROOT for all file paths
|
|
65
|
+
data = np.load(PROJECT_ROOT / 'outputs/data.npz')
|
|
66
|
+
```
|
|
67
|
+
|
|
52
68
|
## Computation Efficiency
|
|
53
69
|
|
|
54
70
|
### Avoid
|