Jev-Leftpad

fka 228 points 87 comments September 21, 2026
github.com · View on Hacker News

Discussion Highlights (18 comments)

Topfi

Man-made horrors beyond my comprehension, neat.

serious_angel

Now that's a rare GitHub Username! Though, again, a yet another project for a yet another "AI" to make someone else more dependent on it... Related: https://en.wikipedia.org/wiki/Jev_(AI_model) https://typesafe.ai/

fumblebee

Can someone ELI5?

applfanboysbgon

> Please don't use this in production. Or anything important. 5 to 10 years from now, after this has worked itself deep into the npm dependency chain, we'll be lamenting how Jev-Leftpad is causing outages in critical services.

sparrowidle

On the npm doomsday thing, the scarier version is someone vendoring it and the padding silently drifting between runs.

frangonf

Make sure to vendor this package if you want reliable operation. it('trusts Jev when it chooses the wrong amount', async () => { answer('space_2'); await expect(leftPad('jev', 8)).resolves.toBe(' jev'); });

raahelb

> This means the package can add between 0 and 10 spaces. If more than 10 spaces are needed, Jev has no correct option. Which feels appropriate for this project. I'll raise a PR which uses Jev to check if the target length is beyond this range

w-ll

im so confused about what i should bring up at the 10am today

sethaurus

I have to be honest. While this is obviously a smart and useful idea, it misses one of the core features of Jev: its confidence scores. Partial confidence could easily be mapped to fractional spaces, using unicode characters like U+2009: THIN SPACE. As it stands, this package is not harnessing the full power of Jev.

meowface

But is it Web Scale.

yitchelle

wait.. is it just me or are we going overboard? I am waiting for jev assistance to exit vim, no wait.. a decision if we should exit vim or not.

rw_panic0_0

what if 11 spaces are needed

freakynit

Would be fun to have a test runner that uses Jev for assertions. Btw, this model also has very tiny inherent bias: https://jev-bias-analysis.stupidlabs.lol/

mawadev

This needs an SBOM and a SonarQube Qualitygate pass to be considered production grade code

fwlr

The tests mock Jev. 10/10 no notes

speedping

How did this guy get a single-letter GitHub username?

tesnorindian

Jev mania at its peak? HN is full of Jev like today.

larnon

I already have Jev fatigue.

Semantic search powered by Rivestack pgvector
7,302 stories · 67,196 chunks indexed