P
Parsimony
Open Sourceπ Alt to SWE-benchBenchmarking how much unnecessary code AI models actually generate
π³ Self-Hostableπ No Sign-upβ‘ Editorial Signal: 76/100β
62 Stars
# Open web application directly in browser:
open "https://parsimony.lasu.dev/"Parsimony is an open-source benchmarking tool designed to measure and evaluate the verbosity and bloat introduced by AI coding assistants. It helps developers and teams quantify LLM efficiency, comparing code conciseness across different frontier models.
Measures lines of code added versus required functionality across standard prompts.
Compares code conciseness and efficiency side-by-side across various LLMs.
Provides transparent, reproducible benchmarks for code generation minimalism.
Evaluating which LLM generates the most concise code for automated refactoring pipelines
Auditing internal AI coding assistant adoption to prevent massive codebase bloat
Comparing custom fine-tuned models against base frontier models for code efficiency
Unlike SWE-bench which focuses purely on task resolution, Parsimony specifically targets the efficiency and minimalism of the generated code.
Engineering managers and AI developers looking to optimize code quality and reduce technical debt caused by verbose LLMs.
Parsimony is engineered to eliminate critical operational friction in ai & machine learning. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
Parsimony, developed by Lasu, is an open-source evaluation benchmark and static analysis engine designed to quantify the systemic code bloat and architectural verbosity introduced by generative AI coding models. Conventional benchmarks (such as SWE-bench or HumanEval) evaluate models exclusively on pass rates, ignoring whether an LLM solved an issue elegantly with five lines or dumped three hundred lines of defensive spaghetti code. Parsimony rejects raw Source Lines of Code (SLOC) counting, which can be trivially gamed through code formatting, minification, or comment stripping. Instead, Parsimony operates on the Abstract Syntax Tree (AST) level, parsing codebase snapshots before and after a patch using Tree-sitter and language-native AST parsers. The engine computes granular 'coding units'βdiscrete syntactic nodes encompassing statements, function calls, binary expressions, control flow blocks, variable assignments, and literalsβwhile strictly ignoring whitespace, comments, punctuation, and identifier character lengths. By computing the net difference (`Ξunits = units_added - units_removed`), Parsimony establishes a normalized, mathematically rigorous index of code minimalism, rewarding concise refactoring while exposing synthetic over-engineering across diverse language ecosystems with deterministic AST traversal passes, establishing an objective foundation for comparing frontier model efficiency.
Developer ergonomics in Parsimony focus on seamless integration with established evaluation datasets and effortless local patch auditing. Rather than forcing teams to execute costly, sandboxed test execution environments from scratch, Parsimony operates directly on published patch artifacts from major benchmarks, including SWE-bench Verified, SWE-bench Lite, and DeepSWE. Developers interact via a public web visualizer and a standalone command-line utility: executing `parsimony eval --patch patch.diff --base-ast ./src` parses modified syntax nodes and returns a detailed coding-unit accounting manifest in JSON. Configuration ergonomics are handled through declarative YAML rules defining AST node weighting policies, language grammar bindings (Python, TypeScript, Go, Rust), and benchmark normalizations. The inspection CLI highlights syntactic bloat hotspots, categorizing added units into defensive redundancies, duplicated helper functions, or unnecessary abstraction layers. If an AI patch contains unparseable syntax errors, Parsimonyβs parser catches the syntax exception gracefully, isolating the malformed patch and logging detailed diagnostic line numbers without halting the broader benchmark evaluation pipeline, providing concise error traces for benchmark maintainers and automated grading scripts alike, complete with integrated GitHub Actions badges, structured CSV metrics exports, and visual differential tree graph displays.
Parsimony is released under the permissive MIT open-source license, ensuring unhindered freedom for enterprise AI research labs, developer tooling companies, and open-source foundations to audit, integrate, and modify the benchmarking engine. From a compute infrastructure and Total Cost of Ownership perspective, Parsimony delivers exceptional economic efficiency. Because it evaluates static git diff patches against existing benchmark run archives rather than instantiating heavy Docker containers to execute end-to-end integration test suites, compute costs are virtually negligible. Evaluating an entire test suite of 500 SWE-bench task patches takes under 45 seconds on a standard modern multi-core laptop CPU, consuming less than 120MB of RAM. By comparison, executing the full dynamic SWE-bench evaluation harness requires running 500 sandboxed Docker containers with full environment builds, frequently costing between $200 and $600 in cloud compute per benchmark run. The CLI utility operates entirely offline, making zero network calls and collecting zero telemetry, guaranteeing absolute confidentiality when auditing proprietary internal models across secure corporate enclaves, saving thousands of engineering dollars annually on infrastructure budgets while maintaining sovereign model IP, total compliance governance, and full repository data control.
Parsimony is production-ready and strongly recommended for enterprise engineering leadership, AI model developers, and platform engineering teams seeking to curb synthetic technical debt and evaluate coding agent quality beyond superficial pass rates. It serves as an essential gatekeeping metric in automated model fine-tuning loops and LLM leaderboard evaluations. However, it should not be utilized as an isolated, standalone metric: optimizing strictly for minimal coding units without functional testing can incentivize unreadable 'code golf' and unsafe omission of error handling. Key failure modes occur on polyglot repositories with mixed unsupported markup languages or macro-heavy C++ codebases where AST representations can become ambiguous. For production deployment, integrate Parsimony into internal GitHub Actions CI/CD workflows as an automated PR linter: configure it to calculate net coding units on AI-generated pull requests, flagging patches that exceed predefined verbosity thresholds before human code review. Deploy public leaderboard dashboards as static web builds on Cloudflare Pages or AWS S3 fronted by CloudFront, automating nightly recalculations against new SWE-bench releases, providing transparent visibility into code economy trends across engineering departments and developer tooling teams with zero infrastructure maintenance.
Parsimony is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike SWE-bench which focuses purely on task resolution, Parsimony specifically targets the efficiency and minimalism of the generated code.
Yes. Parsimony is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
No account creation or credit card is required to evaluate Parsimony. You can immediately access core features or run it locally without onboarding friction.
You can launch or test Parsimony quickly using the following command: # Open web application directly in browser: open "https://parsimony.lasu.dev/" Visit the official portal at https://parsimony.lasu.dev/ for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of Parsimony was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of Parsimony and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/parsimony)<a href="https://lordorange.top/tool/parsimony" target="_blank"><img src="https://lordorange.top/badge/parsimony.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring Parsimony.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.
Navigate the shifting legal landscape of modern open-source licensing, cloud relicensing controversies, and commercial risk.