Go to file
Krzysztof kuhy Rudnicki 3ef256973f feat(tests): add comprehensive tests for lichess_bot engine and API
- Add test_engine.py with 100% coverage for engine.py
  - Tests for Engine class initialization
  - Tests for choose_move with various scenarios
  - Tests for best move parsing and validation
  - Tests for checkmate and stalemate detection

- Add test_lichess_api.py with 98% coverage for lichess_api.py
  - Tests for API initialization and request handling
  - Tests for stream_events with proper infinite loop handling
  - Tests for challenge accept/decline
  - Tests for game streaming and move submission
  - Tests for rate limit handling and retry logic

- Remove unreachable return statement in lichess_api.make_move

Coverage: engine.py 17% -> 100%, lichess_api.py 0% -> 98%
2025-12-01 20:41:51 +01:00
.github/workflows refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
.vscode fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
articles fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
Bash/ffmpeg-build fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
C fix: resolve shellcheck warnings 2025-11-30 13:48:17 +01:00
CPP fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
LaTeX fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
poker_modifier_app fix(lint): LOG015 - replace root logger with module loggers 2025-11-30 21:59:24 +01:00
python_pkg feat(tests): add comprehensive tests for lichess_bot engine and API 2025-12-01 20:41:51 +01:00
sonic_pi feat: accept first argument as audio by defauilt sonic pi 2025-10-26 16:33:37 +01:00
TS fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
.gitignore feat: added ffmpeg bin to gitignore 2025-11-30 14:12:22 +01:00
.pre-commit-config.yaml fix(lint): All pre-commit hooks pass (Group 6 + Config fixes) 2025-11-30 13:59:21 +01:00
lint_python.sh fix: resolve shellcheck warnings 2025-11-30 13:48:17 +01:00
pyproject.toml refactor: clean up pyproject.toml - remove defaults and redundant configs 2025-12-01 16:33:42 +01:00
pytest.ini feat: C engine 2025-09-06 18:26:31 +02:00
requirements-dev.txt fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
requirements.txt refactor: clean up pyproject.toml - remove defaults and redundant configs 2025-12-01 16:33:42 +01:00
test_input_clean.wav fix: getting rnnoise model 2025-10-12 18:57:55 +02:00
test_input.wav fix: getting rnnoise model 2025-10-12 18:57:55 +02:00