NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Show HN: Parsimony – an open-source benchmark for how much code AI models add (parsimony.lasu.dev)
fastball 1 days ago [-]
On the one hand, I absolutely agree that we should try to measure and reduce verbosity that LLMs are slopping into our codebases.

On the other hand, the fact that Astra is "winning" this bench is not great signal for me, since imo Astra produces basically unreadable code. Astra plays code golf. My own revealed preference is that I'd rather have the excessive comments and tests of Claude rather than the inscrutability of Astra.

happyPersonR 8 hours ago [-]
we actually need good metrics for readable code that is clear and understandable, and not just someone's lint rules lol. Maybe that's the next part of this and where this goes?

One approach, skill's etc for good clean readable understandable code.

i bet there's a better one involving something with metrics and scoring etc

demibabs 22 hours ago [-]
Yeah the issue is that while code that’s too verbose is bad, code that’s too terse is as well.

Astra codes like it has to pay by the keystroke (although in a way, it indeed does)

ndr 24 hours ago [-]
I keep going in between the two and I'm currently in an Astra season, deeply disliking the tone and modes of Claude.

I wonder if the two will diverge enough that this becomes the tab-vs-spaces/vim-vs-emacs of the LLM era and they'll manage to keep users moving over at some point.

Vakaiser 21 hours ago [-]
Does anyone have ways to reduce the complexity and verbosity of code generated via agents?

Anything that can increase code quality would help.

20 hours ago [-]
lubujackson 16 hours ago [-]
[dead]
Rafaelll 16 hours ago [-]
[flagged]
tinthedev 11 hours ago [-]
Yeah, I love this. We can't manage what we don't measure, and adjusting the mesurement to be on the abstract syntax level removes an entire layer of "mess" that comes from comments and formatting.

I'll bookmark it and probably adjust the measurement methods for future review purposes. I've often found my LLM workflows to produce inane and overly complex code, and allowing me to see a single figure will allow me to more easily eval generated code.

I'd love to hear people's lived experience, though. I think heuristics in this space still allow for a lot of optimizations of code generation and pipelining.

smilekzs 20 hours ago [-]
On a related note: Would love to see cyclomatic complexity as a supporting metric for readability. I increasingly find AI-adjacent and AI-written code suffering from this.
chengjunsuger 19 hours ago [-]
Nice project! But I wonder does less coding actually means less work for whoever reviews it?
Xeoncross 21 hours ago [-]
At this point, I really want all AI benchmarks to use the best coding/writing model that normal people can run locally.

For now that seems to be Qwen 3.8 27B that requires ~28GB of RAM (Q4) which is pretty doable for anyone with a beefy GPU or slightly-above-average mac.

I want to know how close open weights (open models) are to all these leading commercial models. Yes, yes, local models aren't as good, but that distance is closing as local models are already better than what we had just over a year ago in many cases.

Same with Text-to-Image generation (Flux 2, Z-Image-Turbo, etc..) or text-to-speech (Parakeet, Whisper, etc..).

vunderba 21 hours ago [-]
FWIW, I have mixed feelings about Artificial Analysis but they at least let you filter by size class and by proprietary versus open.

https://artificialanalysis.ai/?intelligence=agentic-index

bsoooh1 9 hours ago [-]
[flagged]
19 hours ago [-]
ryuyah 17 hours ago [-]
[dead]
KasianFranks 19 hours ago [-]
Nobody is going to care about how much code an AI system generates in the very near future, some even now, once everyone understands the scale at which a vector space truly operates at. Complexity is not much of an issue for an AI system.
nostrebored 18 hours ago [-]
LLM systems start to Frankenstein things together at a very modest amount of code. The lack of abstractions cause huge and glaring problems for anything that needs to run predictably.

Abstraction is an issue for every AI coding agent. They are painfully useful, but need constant badgering in the right direction.

KasianFranks 18 hours ago [-]
After 22,948 commits, 13,720 bugs and -2,899,391 lines eliminated, I've seen this too but a properly designed AI pipeline's ability to optimize and course correct with a little badgering supersedes any Frankenstein-like outcomes.
plusmax1 14 hours ago [-]
I agree with you. an LLM will do what you guide it to do, give it the proper guardrails and instructions and it will produce code in any style you wish.

Be it abstract or simple, more comments or no comments, adhering to clean code principles or following whatever software architecture you want...

Include style guides, static analysis and formatting tools in the development loop, use skills and hooks properly... I started to have a much better time with agentic coding once I spent time setting things up properly for my projects and writing down how I wanted things to be done.

Tanjreeve 17 hours ago [-]
Why even benchmark anything? I have faith that the AI will just get better over time anyway. I think to even attempt to measure any usability is an insult to the infinite exponential curve of improvement.
lasu 10 hours ago [-]
The benchmarks are what allows the AI researchers to improve the models. The AI doesn't get better on its own.
Tanjreeve 6 hours ago [-]
AI should be free to evaluate itself free from arbitrary human constraints like benchmarks imo.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 22:32:44 GMT+0000 (Coordinated Universal Time) with Vercel.