HF RL Explorer

social media post length: edge case

social media post length: edge case: a task in smol-software-harbor (Harbor dataset). The post composer counts every emoji as two characters, so users hit the limit too early ( emoji count once fails). postLength() in src/length.js must count code points (characters as users see them), not UTF-16…

The task

The post composer counts every emoji as two characters, so users hit the limit too early (`emoji count once` fails). `postLength()` in `src/length.js` must count code points (characters as users see them), not UTF-16 units, while keeping URLs at 23 characters each. Fix it and run `node --test test/*.test.js`.

Part of efederici/smol-software-harbor.