SShortSingh.
Back to feed

New open-source benchmark measures AI code generation efficiency, penalizing bloat

0
·1 views

A developer has created an open-source benchmark called Parsimony to evaluate AI code generation models. It measures net code addition by analyzing published patches from existing benchmarks, counting core syntax units instead of lines of code. The tool subtracts deleted code to assess how much new complexity a model adds to a codebase. The creator notes that newer models like GPT-6 and Claude 5.5 are not yet fully represented as they lack public benchmark data. The project is available on GitHub and seeks community feedback and contributions.

Read the full story at Hacker News

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Anthropic enforces rule to prevent AI model 'distillation' by third parties.

Anthropic has implemented a rule called 'preserved thinking' to prevent the extraction and reuse of its Claude AI's reasoning processes. This rule, which makes message history append-only for new API accounts, is a defense against other labs training their own models on Claude's outputs. The enforcement began for accounts created on or after August 31, 2026, and has required some developers to update their integrations. Anthropic states these anti-distillation measures have reduced harvested data by 90 to 99%.

0
ProgrammingDEV Community ·

Open-source AI tool TabuPulse launched for freelancers and micro-SaaS businesses

TabuPulse AI is a new open-source tool designed for freelancers and micro-SaaS founders. It uses the TabPFN-3.5 AI model to analyze tabular business data like invoices and customer metrics. The tool aims to predict cash flow delays and customer churn automatically. It provides actionable recommendations and can integrate with other AI agents via the Model Context Protocol. The project was submitted for the Hacktoberfest Open-Source AI Challenge and is available on GitHub under an MIT license.

0
ProgrammingDEV Community ·

Developer shares checklist to preserve keyboard focus after website redesigns

A developer explains that website redesigns often inadvertently break keyboard navigation by removing visual focus indicators. They assert this is a common issue stemming from CSS resets, component library changes, or new themes like dark mode. The author recommends a proactive six-point checklist to test and preserve accessibility before launching a redesigned site. They advise using the CSS selector :focus-visible to ensure focus rings are visible for keyboard users but not for mouse users. This practice is crucial for accessibility, supporting power users, screen reader users, and those with motor impairments.

0
ProgrammingDEV Community ·

Docker cache mounts explained for reliable multi-stage builds

A developer article explains Docker's two cache mechanisms: instruction/layer cache and cache mounts. It presents a helper function to validate cache mount parameters in Dockerfiles for multi-stage builds. The helper ensures mount targets use safe characters and absolute paths while providing sensible defaults. Cache mounts reduce download costs during rebuilds but don't persist across fresh builder instances. This approach helps developers troubleshoot Docker build performance separately from CI environment issues.