OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Evaluation & Observability

LLM Bulls And Cows Benchmark

LLM Bulls and Cows Benchmark is an open-source CLI framework for evaluating language models on the Bulls and Cows number-guessing game. It uses LiteLLM to support multiple providers and reports game success, response-format failures and turns to solve, with result visualizations and saved game histories.

Independent OpenViST project profile, based on linked sources.

LLM Bulls And Cows Benchmark — OpenViST project profile in AI Evaluation & Observability.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you want a focused, configurable comparison of LLM behavior on a multi-turn number-guessing task, rather than a broad evaluation across unrelated capabilities.

Who it is for

  • Researchers or developers comparing language models on a shared multi-turn reasoning task.
  • Practitioners examining how model response formatting affects task completion.
  • Users who want to inspect per-game histories alongside aggregate benchmark results.

Documented uses

  • Compare model success rates on Bulls and Cows under a chosen game configuration.
  • Measure format failures and turns required in successfully completed games.
  • Generate visualizations and tables across benchmark runs.
  • Review saved game conversations and configurations to investigate results.
Before you choose

Requirements & limits

The project is a public GitHub repository identified as MIT-licensed. Running the benchmark requires provider API credentials; the README notes that test volume can affect API-credit costs.

  • The task is specifically Bulls and Cows, so results describe performance on this game rather than general reasoning ability.
  • The configuration supports 3- or 4-digit games and repeatable or unique digits; the documented primary result uses four unique digits.
  • Reported metrics separate success, formatting failures and turns in successful games.
  • The README cautions that many sample results use only 50 games and have wide confidence intervals.
  • Concurrent-game settings may need to account for provider rate limits.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up and run a Bulls and Cows benchmark

Configure a model and game, run the benchmark, and generate comparative result files.

Before you start

  • Python environment with repository dependencies installed using pip install -r requirements.txt.
  • API credentials for the selected LLM provider, set as environment variables or in a .env file.
  • A model and game configuration in config/default_config.yaml.

Steps

  1. Install dependencies with the command below.

    Documented command
    pip install -r requirements.txt
  2. Set the selected provider's API credentials as environment variables or in a .env file.

  3. Adjust config/default_config.yaml for the model and game settings; use run_id to separate runs.

  4. Run the command below, then the command below.

    Documented command
    python run_benchmark.py
    Documented command
    python scripts/visualize_results.py

Expected outcome

The README says results are available as HTML visualizations and a Markdown table; full game histories and configurations are saved for detailed analysis.

Guide limitations

  • The README warns that small game counts produce wide confidence intervals and that more games may require additional API credits.
  • Provider rate limits can constrain concurrency; the README gives provider-specific examples rather than a universal setting.
  • The documented primary results use four digits without repetition and a 15-turn limit; settings can be changed in the configuration.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
28 November 2026
Original website title
stalkermustang/llm-bulls-and-cows-benchmark · Official homepage title · retained in its source language