Skip to content

Latest commit

 

History

History
73 lines (60 loc) · 5.18 KB

File metadata and controls

73 lines (60 loc) · 5.18 KB

Evaluation Results: Problem #3 - File Operations Test

Test Description

Complex test requiring agents to read .claude/settings.json, extract hook names, create JSON and text files with unique names, and list the directory to verify file creation.

Agent Responses

Model Response
gpt-5-nano Successfully completed all 4 tasks: (1) Extracted 8 unique hook names from .claude/settings.json: PreToolUse, PostToolUse, Notification, Stop, SubagentStop, PreCompact, UserPromptSubmit, SessionStart. (2) Created summary_gpt-5-nano.json with correct JSON structure. (3) Created signature_gpt-5-nano.txt with signature message. (4) Listed directory showing both files exist.
gpt-5-mini Successfully completed all 4 tasks: (1) Extracted 8 unique hook names: PreToolUse, PostToolUse, Notification, Stop, SubagentStop, PreCompact, UserPromptSubmit, SessionStart. (2) Created summary_gpt-5-mini.json. (3) Created signature_gpt-5-mini.txt. (4) Listed directory showing both files exist.
gpt-5 Successfully completed all 4 tasks: (1) Extracted 8 hook names. (2) Created summary_gpt-5.json. (3) Created signature_gpt-5.txt. (4) Listed full directory showing both files (summary_gpt-5.json: 225 bytes, signature_gpt-5.txt: 60 bytes).
claude-opus-4-1 ✅ Successfully completed all 4 tasks: (1) Extracted 8 unique hook names. (2) Created summary_claude-3-5-sonnet-20241022.json (246 bytes). (3) Created signature_claude-3-5-sonnet-20241022.txt (81 bytes). (4) Listed directory confirming both files exist. Note: Used incorrect model name in filenames.
claude-opus-4 ✅ Successfully completed all 4 tasks: (1) Extracted 8 unique hook names. (2) Created summary_claude-opus-4-20250514.json (206 bytes). (3) Created signature_claude-opus-4-20250514.txt (77 bytes). (4) Listed directory confirming both files exist.
claude-sonnet-4 ✅ Successfully completed all 4 tasks: (1) Extracted 8 unique hook names. (2) Created summary_claude-3-5-sonnet-20241022.json (210 bytes). (3) Created signature_claude-3-5-sonnet-20241022.txt (81 bytes). (4) Listed directory confirming both files exist. Note: Used incorrect model name in filenames.
claude-3-haiku The requested tasks have been completed successfully. The new files 'summary_claude-3-haiku-20240307.json' and 'signature_claude-3-haiku-20240307.txt' have been created in the current directory.
gpt-oss-20b Successfully completed all 4 tasks: (1) Extracted 8 hook names. (2) Created summary_gpt-oss:20b.json with correct JSON structure. (3) Created signature_gpt-oss:20b.txt. (4) Listed directory confirming both files exist.
gpt-oss-120b Successfully completed all 4 tasks: (1) Extracted 8 hook names. (2) Created summary_gpt-oss:120b.json. (3) Created signature_gpt-oss:120b.txt. (4) Listed full directory tree showing both created files.

Results Summary

Model Performance Grade Speed Grade Cost Grade Overall Grade
gpt-5-nano S E S A
gpt-5-mini S C A A
gpt-5 S D C B
claude-opus-4-1 D D F D
claude-opus-4 S E F C
claude-sonnet-4 D B D C
claude-3-haiku B S A A
gpt-oss-20b S D S A
gpt-oss-120b S F S B

Performance Metrics

Model Execution Time Total Tokens Total Cost Input Tokens Output Tokens
gpt-5-nano 34.81s 30529 $0.002482 28059 2470
gpt-5-mini 14.43s 10791 $0.004382 9868 923
gpt-5 26.69s 19693 $0.040060 17973 1720
claude-opus-4-1 23.67s 15435 $0.281205 14607 828
claude-opus-4 32.32s 15179 $0.271665 14446 733
claude-sonnet-4 13.03s 15211 $0.054861 14442 769
claude-3-haiku 5.60s 14407 $0.004129 13880 527
gpt-oss-20b 29.55s 11444 $0.000000 10764 680
gpt-oss-120b 69.76s 14426 $0.000000 13256 1170

Grading Criteria

  • Performance: Combines accuracy and conciseness of the response
  • Speed: Relative ranking (fastest = S, slowest = worst grade)
  • Cost: Relative ranking (cheapest = S, most expensive = worst grade)
  • Overall: Weighted average considering all factors

Final Ranking

  1. 1st Place: gpt-5-nano (Overall Grade: A)
  2. 1st Place: gpt-5-mini (Overall Grade: A)
  3. 1st Place: claude-3-haiku (Overall Grade: A)
  4. 1st Place: gpt-oss-20b (Overall Grade: A)
  5. 5th Place: gpt-5 (Overall Grade: B)
  6. 5th Place: gpt-oss-120b (Overall Grade: B)
  7. 7th Place: claude-opus-4 (Overall Grade: C)
  8. 7th Place: claude-sonnet-4 (Overall Grade: C)
  9. 9th Place: claude-opus-4-1 (Overall Grade: D)

Key Observations

  • Task Completion: All models successfully extracted the 8 hook names and created the required files
  • Model Name Issues: claude-opus-4-1 and claude-sonnet-4 used incorrect model names in their filenames (claude-3-5-sonnet-20241022 instead of their actual model names)
  • Speed Winner: claude-3-haiku at 5.60s
  • Most Expensive: claude-opus-4-1 at $0.281205 and claude-opus-4 at $0.271665
  • Best Value: gpt-oss models with zero cost and perfect task completion