Skip to content

feat(metrics): add TokenEfficiencyMetric - #14

Open
TheCreeperrr wants to merge 1 commit into
github-community-gitam:mainfrom
TheCreeperrr:feat/addTokenEfficiencyMetric
Open

TheCreeperrr wants to merge 1 commit into
github-community-gitam:mainfrom
TheCreeperrr:feat/addTokenEfficiencyMetric

Conversation

@TheCreeperrr

Copy link
Copy Markdown

Description

Adds a new token_efficiency metric that computes token consumption efficiency (tokens per passed test case and average tokens per test case).

Closes #3

Type of Change

  • New Evaluator (src/harness/evaluators/)
  • New Metric (src/harness/metrics/)
  • New Adapter (src/harness/adapters/)
  • New Reporter (src/harness/reporters/)
  • New Benchmark Dataset (benchmarks/examples/)
  • Core / Runner Improvement
  • Bug fix
  • Documentation update
  • CI / Tooling improvement

Contributor Checklist

  • My code follows the code style of this project (uv run ruff check . passes).
  • I have formatted my code with uv run ruff format ..
  • My code passes strict type checking (uv run mypy src).
  • I have added unit tests covering my changes.
  • All tests pass locally (uv run pytest).
  • I have updated relevant documentation in docs/ or README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(metrics): add TokenEfficiencyMetric

1 participant