-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed the stockfish_major_version on stockfish development builds #124
base: master
Are you sure you want to change the base?
Conversation
Hi @PanagiotisIatrou thanks, this looks good. I wasn't aware of that format for the version, so good to know. For the failing checks, it's just an issue with an existing test function. If you do something similar to this it should help: 56ea969 |
Hello @johndoknjas. It seems that the |
@PanagiotisIatrou For that test it depends on the version of SF that's being used. The function it tests basically works by making a temporary new stockfish executable, feeding it an FEN, and seeing if it crashes (if so, the FEN is invalid). It's pretty hacky but the docs for the function at least mention that it'll give the wrong answer sometimes. |
@PanagiotisIatrou Oh I see the checks are still failing. I forgot that for my branch I linked, in a later commit I removed the test case altogether: 200a725 So it should be fine to do this. I've made an issue for this function and included the fen of the test case there, so in the future maybe it'll be re-added if the function can be improved. |
Coverage reportThe coverage rate went from
Diff Coverage details (click to unfold)stockfish/models.py
Missing lines: |
@johndoknjas thanks for pointing it out. I temporarily removed this check and it successfully runs all the checks now. |
Hi, can someone merge it if it works? |
This is the issue documented on #135. |
There was an error when using stockfish development builds.
Also fixed some type annotations and reformatted models.py