Skip to content

Replace Gemini with Codex evaluation and update analysis#24

Merged
justaddcoffee merged 16 commits into
mainfrom
codex-evaluation-dec2024
Dec 12, 2025
Merged

Replace Gemini with Codex evaluation and update analysis#24
justaddcoffee merged 16 commits into
mainfrom
codex-evaluation-dec2024

Conversation

@justaddcoffee

@justaddcoffee justaddcoffee commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Replace Gemini CLI with Codex CLI as the third agent in the cross-agent comparison
  • Update experiment 1 notebook to analyze Claude, Codex, and Goose results
  • Regenerate all figures (fig1, fig2) with new Codex evaluation data
  • Update project config files (remove gemini config, convert symlinks)

Changes

  • notebook/experiment_1_cross_agent_analysis.ipynb: Updated to load and analyze codex results instead of gemini
  • project/literature_mcp_eval_config_codex.yaml: New codex evaluation config
  • project/literature_mcp_eval_config_gemini.yaml: Removed
  • results/figures/fig1_mcp_performance_by_agent.png: Regenerated with Codex data
  • results/figures/fig2_performance_by_category.png: Regenerated with Codex data

Evaluation Results

Codex CLI achieved ~84% pass rate on the MCP literature evaluation, comparable to Claude Code and Goose CLI.

🤖 Generated with Claude Code

justaddcoffee and others added 4 commits November 18, 2025 16:10
- Increase y-axis label font size to 15pt with custom line breaks
- Increase x-axis label font size to 15pt
- Increase legend font size (labels: 13pt, title: 14pt)
- Adjust layout to prevent legend overlap with plots

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Update fig1_mcp_performance_by_agent.png and fig3_model_comparison.png
to match current notebook state after Figure 2 modifications.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add codex CLI evaluation config
- Update experiment 1 notebook to use codex instead of gemini
- Regenerate Figures 1 and 2 with codex evaluation results
- Cross-agent comparison now includes Claude Code, Codex CLI, and Goose CLI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor
PR Preview Action v1.6.2

🚀 View preview at
https://contextualizer-ai.github.io/mcp_literature_eval/pr-preview/pr-24/

Built to branch gh-pages at 2025-12-12 16:15 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

- Remove gemini config file
- Update config file symlinks (typechange from symlink to file)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@justaddcoffee justaddcoffee changed the title Replace gemini with codex in cross-agent analysis Replace Gemini with Codex evaluation and update analysis Dec 6, 2025
justaddcoffee and others added 11 commits December 6, 2025 10:36
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- claude_20251126.yaml
- codex_20251205.yaml
- goose_20251125.yaml

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Create project/templates/codex_template.yaml for codex agent
- Generate project/generated/literature_mcp_eval_config_codex.yaml
- Update generate_configs.py to include codex in template mapping
- Fix codex symlink to point to correct generated file

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Run codex with gpt-5.1-codex-max: 63% pass rate (63/100)
- Run goose with gpt-5.1: 17% pass rate (17/100)
- Update cross-agent analysis notebook to use new codex results
- Regenerate figures with GPT-5 data
- Add failure analysis notebook diagnosing goose hallucination
- Diagnose goose hallucination issue with empty MCP responses

Key finding: Goose doesn't handle MCP tool failures gracefully,
fabricating plausible but incorrect answers when tools return
empty results, while codex reports inability to access.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Codex: 64% pass rate (sandbox_permissions=[] blocked filesystem cheating)
- Claude: 48% pass rate (verified no answer file access)
- Goose: ~17% pass rate (honest baseline)

Renamed result files to simpler agent_date format.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update experiment_1_cross_agent_analysis.ipynb to use verified honest run results:
  - claude_20251207.yaml (isolated /tmp run)
  - codex_20251208.yaml (sandbox_permissions=[])
  - goose_20251206.yaml (honest by default)
- Regenerate fig1 and fig2 with updated data (Codex 64%, Claude 48%, Goose 17%)
- Clean up experiment_1_run_evaluations.ipynb (remove duplicate analysis cells)
- Move shell scripts to notes/ directory

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Switch from Goose agent to Codex agent for model comparison:
- gpt-5 (baseline, symlinked from compare_agents)
- gpt-5-mini (pending evaluation)
- gpt-5-nano (pending evaluation)

Changes:
- Add config files for Codex with gpt-5, gpt-5-mini, gpt-5-nano
- Update experiment_2_run_evaluations.ipynb for Codex workflow
- Update experiment_2_cross_model_analysis.ipynb for Codex results
- Create results/compare_models/ with symlink to GPT-5 baseline

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use correct Codex-specific model names available with ChatGPT account:
- gpt-5.1-codex-max (baseline)
- gpt-5.1-codex-mini (smaller model)
- gpt-5.1-codex (standard model)

Rename config files:
- codex_gpt5_mini -> codex_gpt51_codex_mini
- codex_gpt5_nano -> codex_gpt51_codex

Add sandbox_permissions=[] to all configs to disable filesystem access.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add truncated YAML result files for gpt-5.1-codex and gpt-5.1-codex-mini
  (original files too large for GitHub: 398MB and 8.1GB respectively)
- Update notebook to reference truncated files instead of originals
- Add version manifest documenting experiment configuration
- Add/update Experiment 2 visualization figures

Results summary:
- gpt-5.1-codex-max: 64% pass rate
- gpt-5.1-codex: 58% pass rate
- gpt-5.1-codex-mini: 53% pass rate

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@justaddcoffee justaddcoffee merged commit 9cb5cfd into main Dec 12, 2025
1 of 5 checks passed
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.

1 participant