codex-candy-eval  by haowang02

Benchmark Codex models on math reasoning tasks

Created 2 weeks ago

New!

714 stars

Top 47.2% on SourcePulse

GitHubView on GitHub
Project Summary

<2-3 sentences summarising what the project addresses and solves, the target audience, and the benefit.> This repository offers a straightforward Python script designed to evaluate the performance of local Codex Command Line Interface (CLI) models. It targets users who need to quickly assess model capabilities on a specific mathematical reasoning task, providing metrics on reasoning token consumption and accuracy. The primary benefit is a simple, dependency-free method for batch testing Codex CLI models against a defined problem set.

How It Works

<2-4 sentences on core approach / design (key algorithms, models, data flow, or architectural choices) and why this approach is advantageous or novel.> The core approach involves executing a predefined "candy math problem" through the Codex CLI. Users can configure the specific model to test, the desired reasoning effort level (ranging from low to xhigh), and the number of test iterations to perform. Upon execution, the script quantifies the reasoning tokens consumed by the model for each test and determines correctness by checking if the exact numerical answer '21' is present within the model's generated output. This allows for a quantitative comparison of different model configurations.

Quick Start & Requirements

  • Primary install / run command (pip, Docker, binary, etc.).
  • Non-default prerequisites and dependencies (GPU, CUDA >= 12, Python 3.12, large dataset, API keys, OS, hardware, etc.).
  • Estimated setup time or resource footprint.
  • If they are present, include links to official quick-start, docs, demo, or other relevant pages.
  • Primary install/run command: No installation is required beyond having the Codex CLI installed and authenticated. The script can be run directly from a local file or fetched and executed on-the-fly using wget or curl.
    • Example: wget -qO- "https://raw.githubusercontent.com/haowang02/codex-candy-eval/main/codex_candy_eval.py" | python3 - -m gpt-5.5 -r high -n 5
  • Prerequisites: Codex CLI installed and logged in.
  • Parameters:
    • -m, --model: Specify the Codex model name (e.g., gpt-5.5).
    • -r, --reasoning-effort: Set effort level (low, medium, high, xhigh; default: medium).
    • -n, --tests: Number of test runs (default: 1).

Highlighted Details

  • Bullet 1 (benchmarks, performance claims, novel integration, etc.)
  • Bullet 2
  • Bullet 3
  • Bullet 4 (optional)
  • Facilitates batch testing of local Codex CLI models.
  • Provides key metrics: reasoning token count and accuracy.
  • Features zero third-party Python dependencies for ease of use.

Maintenance & Community

  • Notable contributors, sponsorships, partnerships, deprecations, migrations, or other health signals if notable.
  • Links to Discord/Slack, social handles, roadmap, etc.
  • No specific details regarding contributors, sponsorships, or community channels (e.g., Discord, Slack) are present in the provided README.

Licensing & Compatibility

  • License type and notable restrictions (GPL -> copyleft, SSPL, etc.).
  • Compatibility notes for commercial use or closed-source linking.
  • The license for this project is not explicitly stated in the provided README, which may require further investigation for commercial or distribution use.

Limitations & Caveats

<1-3 sentences on caveats: unsupported platforms, missing features, alpha status, known bugs, breaking changes, bus factor, deprecation, etc. Avoid vague non-statements and judgments.> The evaluation scope is narrow, focusing on a single, specific math problem. The correctness check is simplistic, relying solely on the presence of the digit '21' in the output, which may not accurately reflect the model's understanding or problem-solving capabilities. Requires a functional and authenticated Codex CLI setup, which could be a barrier to entry for users without prior configuration.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
7
Star History
716 stars in the last 20 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Junyang Lin Junyang Lin(Core Maintainer at Alibaba Qwen).

InternLM-Math by InternLM

0.2%
546
Math LLM for bilingual reasoning tasks
Created 2 years ago
Updated 1 year ago
Starred by Yineng Zhang Yineng Zhang(Inference Lead at SGLang; Research Scientist at Together AI), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
3 more.

Math-Verify by huggingface

0.2%
1k
Math evaluator for LLM outputs in mathematical tasks
Created 1 year ago
Updated 6 months ago
Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Edward Z. Yang Edward Z. Yang(Research Engineer at Meta; Maintainer of PyTorch), and
5 more.

yet-another-applied-llm-benchmark by carlini

0%
1k
LLM benchmark for evaluating models on previously asked programming questions
Created 2 years ago
Updated 1 year ago
Starred by Lewis Tunstall Lewis Tunstall(Research Engineer at Hugging Face), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
11 more.

s1 by simplescaling

0.0%
7k
Test-time scaling recipe for strong reasoning performance
Created 1 year ago
Updated 1 year ago
Feedback? Help us improve.