Problem
There are two streak utility files (lib/streaks.js and lib/streaks-advanced.js) with overlapping logic. This creates maintenance burden and risk of divergent behavior.
What to change
- Audit both files to identify overlapping functions
- Merge into a single
lib/streaks.js with clearly named exports
- Update all imports across the codebase
- Ensure no behavior changes (add tests if possible)
Files
lib/streaks.js
lib/streaks-advanced.js
- All files importing from either
Impact
Reduces code duplication, easier to maintain.
Effort
~1 hour
Problem
There are two streak utility files (
lib/streaks.jsandlib/streaks-advanced.js) with overlapping logic. This creates maintenance burden and risk of divergent behavior.What to change
lib/streaks.jswith clearly named exportsFiles
lib/streaks.jslib/streaks-advanced.jsImpact
Reduces code duplication, easier to maintain.
Effort
~1 hour