Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthrough
ChangesUnicode-safe case splitting
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to Astral characters remain intact at the covered case boundaries while existing BMP acronym behavior is preserved. No merge-blocking risk is evident. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 2 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ESLint
src/index.tsESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox. test/scule.test.tsESLint skipped: the matched ESLint configuration already failed (missing-dependency). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
splitByCase("𐐀foo")splits an astral uppercase letter into invalid surrogate halves. Match the loop's Unicode code-point iteration when moving the last acronym character into the next word. A single uppercase code point followed by lowercase text remains intact.Resolves #143.
Checks
All four new regressions fail on unchanged main. All 79 tests pass, with no type errors, 100% statement/function/line coverage, lint, formatting, build, and
git diff --checkpassing. Verification completed in under one minute on Node 24.19.0.AI-assisted; source and results reviewed.
Summary by CodeRabbit