🎯 Problem Statement
File system paths on Windows use backslashes (\) and case-insensitive matching, while Linux and macOS use forward slashes (/) and case-sensitive path semantics. Raw string manipulations can cause cache misses, duplicate symbol entries, or invalid URI resolution when Cartograph runs on different operating systems.
🛠️ Scope of Work
- Audit
cartograph/ for raw string manipulations on file paths (e.g. path.split('\\') or string formatting).
- Refactor all path normalization to use Python's standard
pathlib.Path.resolve() and pathlib.Path.as_posix().
- Add a multi-OS test matrix (
ubuntu-latest, windows-latest, macos-latest) in GitHub Actions to verify AST symbol extraction parity.
🧪 Acceptance Criteria
🤝 Mentorship & Support
Beginner or intermediate contributors are warmly welcome! If you want to tackle this, reply below and I'll assign it to you.
🎯 Problem Statement
File system paths on Windows use backslashes (
\) and case-insensitive matching, while Linux and macOS use forward slashes (/) and case-sensitive path semantics. Raw string manipulations can cause cache misses, duplicate symbol entries, or invalid URI resolution when Cartograph runs on different operating systems.🛠️ Scope of Work
cartograph/for raw string manipulations on file paths (e.g.path.split('\\')or string formatting).pathlib.Path.resolve()andpathlib.Path.as_posix().ubuntu-latest,windows-latest,macos-latest) in GitHub Actions to verify AST symbol extraction parity.🧪 Acceptance Criteria
pathlib.Pathstandard methods.🤝 Mentorship & Support
Beginner or intermediate contributors are warmly welcome! If you want to tackle this, reply below and I'll assign it to you.