TypeScript · easy
A "temporary" god function now parses and formats in one place, but it skips validation. Invalid input such as "nope" is still formatted instead of being rejected.
Trim valid digits and format them as a label; invalid input must return null, never a fake VAL:…. processInput(" 42 ") → "VAL:42"; processInput("nope") → null.
workspace/
└── src/
└── pipeline.ts (god function; validate unused)With sharpen installed, this command opens exactly this challenge in your local arena:
sharpen 25
First time? The full install is right below.
npm install -g @juanwmedia/sharpen sharpen 25 npx @juanwmedia/sharpen 25 sharpen update