Skip to content

Add scored PettingZoo Connect Four benchmark - #14

Open
TurkeyGaGa wants to merge 3 commits into
LAMDA-NeSy:mainfrom
TurkeyGaGa:connect-four-standard
Open

TurkeyGaGa wants to merge 3 commits into
LAMDA-NeSy:mainfrom
TurkeyGaGa:connect-four-standard

Conversation

@TurkeyGaGa

@TurkeyGaGa TurkeyGaGa commented Nov 24, 2026 •

Copy link
Copy Markdown

What this adds

  • A frozen PettingZoo Connect Four v3 standard match: Red plays a deterministic defensive opponent on the native board, with one action per column.
  • Independent move-log replay in the verifier, including checks on the opponent policy and native outcome.
  • A winning oracle route, a losing control route, pinned files-only image, suite/entry-point wiring, and two scored native MP4 demos.
  • A dedicated GitHub Actions job to check both outcomes, final scores, recordings, and environment errors through Harbor.

Native demos

Checks completed

  • python ci_checks/check-games.py: PASS (45 frozen tasks, all suite and resource bindings)
  • python game_first_exam/tests/test_connectfour.py: PASS (native match, two outcomes, independent replay tampering checks)
  • python game_first_exam/tests/test_game_harbor.py: PASS (17 selection and configuration tests)
  • harbor run --game-suite connectfour --standard --list: PASS (one task)
  • Both demo MP4s decoded and their final frames inspected.

Harbor end-to-end verification (2026-11-25)

The same frozen match was run in Docker through Harbor on macOS. The winning oracle and losing control both finished with Environment_Error: 0.000. The independent result checker confirmed:

  • jobs/connectfour-win: native win, score 1, 12 Red decisions, recording present.
  • jobs/connectfour-loss: native loss, score 0, 12 Red decisions, recording present.

Run both again with bash game_first_exam/tests/benchmarks/connectfour/verify_harbor.command. These are deterministic reference and control results, not model scores. This is one fixed match, not yet a difficulty ladder.

@TurkeyGaGa
TurkeyGaGa marked this pull request as ready for review November 24, 2026 17:00
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