Skip to content

Add Tetris Gymnasium adapter and validation tests - #6

Open
lyzk907-dev wants to merge 1 commit into
LAMDA-NeSy:mainfrom
lyzk907-dev:tetris
Open

lyzk907-dev wants to merge 1 commit into
LAMDA-NeSy:mainfrom
lyzk907-dev:tetris

Conversation

@lyzk907-dev

Copy link
Copy Markdown

Summary

  • add a pinned Tetris Gymnasium 0.2.1 adapter, schema, metric validation, provenance and files-only image metadata
  • expose only the upstream RGB board/preview/holder observation through PNG transport
  • keep exact board state, piece coordinates, random bag, RNG, fingerprint and metrics inside the trusted simulator boundary
  • add native-equivalence, contract, public-surface isolation and dependency-lock tests
  • add only the CI matrix and test-runner entries needed to execute those tests

This adapter-only PR intentionally does not add frozen tasks, a game suite, task resources, benchmark registration, reference solutions or trajectories. Full main/sim/verifier mount and network isolation must be reviewed when a runnable Tetris task is proposed.

Validation

  • Tetris contract and isolation tests: 9 passed
  • native-equivalence tests: 3 passed
  • common configuration tests: 13 passed
  • layout tests: 3 passed
  • existing benchmark labels: 44 task directories unchanged
  • files-only content and OCI digest checks passed
  • secret scan passed

The local machine has no Docker CLI, so the exact pinned Linux/Python 3.12/NumPy 1.26 image execution is left to GitHub CI. Dependency resolution for that target profile passed locally.

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