haowang02/codex-candy-eval

Codex 降智测试

What it solves

This tool helps users evaluate the performance and reasoning consistency of Codex models by testing them against a specific math problem.

How it works

The script uses the local Codex CLI to run a batch of tests on a "candy math problem" where the correct answer is 21. It automatically tracks the number of reasoning tokens used and calculates the success rate by checking if the number 21 appears in the model's output.

Who it’s for

It is designed for users who have the Codex CLI installed and want to benchmark different model versions or reasoning effort settings.

Highlights

  • Zero third-party dependencies required.
  • Supports customizable model selection and reasoning effort levels (low, medium, high, xhigh).
  • Allows for multiple test iterations to gather statistical data.
  • Provides simple one-line execution commands via wget or curl.

Related

  • Project
  • Project
  • Project
  • Project