Skip to content

chore: apply position moves + drop dead Elo-category code#112

Open
tonyizdabezt wants to merge 1 commit into
Psyyke:mainfrom
tonyizdabezt:chore/maia3-cleanup
Open

chore: apply position moves + drop dead Elo-category code#112
tonyizdabezt wants to merge 1 commit into
Psyyke:mainfrom
tonyizdabezt:chore/maia3-cleanup

Conversation

@tonyizdabezt
Copy link
Copy Markdown
Contributor

  • maiaEngine.js: position handler now applies any trailing moves ... to the base FEN via chess.js instead of discarding them, making the engine UCI-correct.
  • tensor.js: remove the unused Maia 2-style preprocess/boardToTensor and Elo bucketing helpers (eloDict, createEloDict, mapToCategory) plus their all_moves.json fetches. Maia 3 passes raw Elo floats and uses preprocessMaia3 so this code was unreachable.

maiaEngine.js: the 'position' handler now applies any trailing 'moves ...' to the base FEN via chess.js instead of discarding them, making the engine UCI-correct.

tensor.js: remove the unused Maia 2-style preprocess/boardToTensor and the Elo bucketing helpers (eloDict, createEloDict, mapToCategory) plus their all_moves.json fetches. Maia 3 passes raw Elo floats to the model and uses preprocessMaia3, so this code was unreachable.
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