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/Leftpad is a npm package that chooses if it should or shouldn't pad the left side of a string. It was famous for bringing down everyone's npm installs a few years ago.
This combination is a double joke. Put something stupid in something stupid.
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.
it('trusts Jev when it chooses the wrong amount', async () => {
answer('space_2');
await expect(leftPad('jev', 8)).resolves.toBe(' jev');
});I'll raise a PR which uses Jev to check if the target length is beyond this range
Btw, this model also has very tiny inherent bias: https://jev-bias-analysis.stupidlabs.lol/
The tests mock Jev.
10/10 no notesso probably early bird
Topfi•57m ago
jojobas•11m ago