Siderite / Siderite/lichessTools
PGN Editor can't handle invalid chess positions (like no kings)
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 92
- Forks
- 20
- Avg merge
- 19h 59m
- Merged PRs (30d)
- 1
Description
lichess tools fails to normalize this valid PGN and throws an error:
[Event "test"]
[FEN "8/p7/1p6/3p4/4p3/5p2/5p1p/8 w - - 0 1"]
[SetUp "1"]
Error:
Operation failed! (invalid input)
and
Illegal move in game 1, ply 0 (Starting position)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the PGN shown in the issue through the lichess tools normalization path and trace where the starting FEN is rejected as an illegal position. Done means this PGN with no kings is accepted or normalized without the reported invalid-input and illegal-move errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100