staubsauger / ChessnutPy

GNU General Public License v3.0
14 stars 3 forks source link

Depth and nodes are swapped when saving a configuration via the web interface #14

Open alexmiby opened 1 month ago

alexmiby commented 1 month ago

You can see that you have depth and nodes swapped in your EngineManager classs declaration, method set_engine_limits()

async def set_engine_limit(self, time, nodes, depth, at_init=False):

and in calls from WebInterface

            await self.game_board.engine_manager.set_engine_limit(time, depth, nodes)

which leads to the engine depth taken as nodes and the vice versa when using the web interface. Same may be the case with suggestion engine settings.

Also the web interface is apparently displaying an error page in move_stack_frame upon submit though it does save the changes.