---
title: "code-eval vs leva"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/abacaj-code-eval-vs-kieranklaassen-leva"
tools: ["abacaj-code-eval", "kieranklaassen-leva"]
---

# code-eval vs leva

*GraphCanon updated Aug 5, 2026*

## Verdict

Pick code-eval if code-eval assesses large language models with the human-eval benchmark to provide insights into code generation reliability; pick leva if leva is an LLM evaluation framework for Ruby on Rails apps, aiming to use production data directly in the evaluation process.

[code-eval](https://github.com/abacaj/code-eval) reports 431 GitHub stars, 37 forks, and 5 open issues, last pushed Sep 12, 2023. [leva](https://github.com/kieranklaassen/leva) has 142 stars, 7 forks, and 4 open issues, last pushed Jun 3, 2026. Figures are from public GitHub metadata via [code-eval's repository](https://github.com/abacaj/code-eval) and [leva's repository](https://github.com/kieranklaassen/leva).

| | [code-eval](/tools/abacaj-code-eval.md) | [leva](/tools/kieranklaassen-leva.md) |
| --- | --- | --- |
| Tagline | Run evaluation on LLMs using human-eval benchmark. | LLM Evaluation Framework for Rails apps |
| Stars | 431 | 142 |
| Forks | 37 | 7 |
| Open issues | 5 | 4 |
| Language | Python | Ruby |
| Adopt for | code-eval assesses large language models with the human-eval benchmark to provide insights into code generation reliability. | Leva is an LLM evaluation framework for Ruby on Rails apps, aiming to use production data directly in the evaluation process. |
| Persona | - | - |
| Runtime | - | - |
| License | MIT | MIT |
| Categories | Evaluation & Observability | Evaluation & Observability |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [code-eval](/tools/abacaj-code-eval.md) | [leva](/tools/kieranklaassen-leva.md) |
| --- | --- | --- |
| Maintenance | Dormant (18%) | Steady (60%) |
| Days since push | 1058d | 55d |
| Open issues (now) | 5 | 4 |
| Full report | [trust report](/tools/abacaj-code-eval/trust.md) | [trust report](/tools/kieranklaassen-leva/trust.md) |

## Decision facts: code-eval

- **Adopt for:** code-eval assesses large language models with the human-eval benchmark to provide insights into code generation reliability.

## Decision facts: leva

- **Adopt for:** Leva is an LLM evaluation framework for Ruby on Rails apps, aiming to use production data directly in the evaluation process.

## Choose when

### Choose code-eval if…

- code-eval is primarily Python; leva is Ruby.
- Tags unique to code-eval: humaneval, wizardcoder.
- When you need clear comparisons of pass rates for different LLMs using standardized tests

### Choose leva if…

- leva is primarily Ruby; code-eval is Python.
- Tags unique to leva: llm, llm-evaluation, rails-apps, ruby-on-rails.
- You are working with Ruby on Rails applications and need a tool specific to this environment

## When NOT to use code-eval

- If the tool's results do not correlate well with the official published benchmarks due to unknown prompt differences
- For real-time or dynamic evaluations as this repo offers pre-computed static results only

## When NOT to use leva

- If your application is not built using Ruby on Rails, Leva may not be the best fit
- For scenarios requiring broader cross-platform support or with non-Rails production data integration needs, consider other tools

## Common questions

### What is the difference between code-eval and leva?

code-eval: Run evaluation on LLMs using human-eval benchmark.. leva: LLM Evaluation Framework for Rails apps. See the comparison table for live GitHub stats and shared categories.

### When should I choose code-eval over leva?

Choose code-eval over leva when code-eval is primarily Python; leva is Ruby; Tags unique to code-eval: humaneval, wizardcoder; When you need clear comparisons of pass rates for different LLMs using standardized tests.

### When should I choose leva over code-eval?

Choose leva over code-eval when leva is primarily Ruby; code-eval is Python; Tags unique to leva: llm, llm-evaluation, rails-apps, ruby-on-rails; You are working with Ruby on Rails applications and need a tool specific to this environment.

### When should I avoid code-eval?

If the tool's results do not correlate well with the official published benchmarks due to unknown prompt differences For real-time or dynamic evaluations as this repo offers pre-computed static results only

### When should I avoid leva?

If your application is not built using Ruby on Rails, Leva may not be the best fit For scenarios requiring broader cross-platform support or with non-Rails production data integration needs, consider other tools

### Is code-eval or leva more popular on GitHub?

code-eval has more GitHub stars (431 vs 142). Stars measure visibility, not whether either tool fits your constraints.

### Are code-eval and leva open source?

Yes - both are open-source projects on GitHub (code-eval: MIT, leva: MIT).

### Where can I find alternatives to code-eval or leva?

GraphCanon lists graph-backed alternatives at [code-eval alternatives](/tools/abacaj-code-eval/alternatives) and [leva alternatives](/tools/kieranklaassen-leva/alternatives) ([code-eval markdown twin](/tools/abacaj-code-eval/alternatives.md), [leva markdown twin](/tools/kieranklaassen-leva/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/abacaj-code-eval-vs-kieranklaassen-leva.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, code-eval or leva?

code-eval: Dormant. leva: Steady. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for code-eval and leva?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [code-eval trust report](/tools/abacaj-code-eval/trust); [leva trust report](/tools/kieranklaassen-leva/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=abacaj-code-eval`](/api/graphcanon/graph?tool=abacaj-code-eval)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
