Go to file
Krzysztof kuhy Rudnicki a0761eccfc refactor(stockfish_analysis): reduce complexity of main() function
Break down monolithic main() into smaller, focused functions:
- _build_argument_parser(): CLI argument setup
- _load_game(): PGN file loading and parsing
- _configure_threads/hash/multipv/nnue(): Engine configuration helpers
- _setup_engine(): Engine initialization orchestration
- _get_best_move(): Engine best move extraction
- _evaluate_position(): Position evaluation wrapper
- _classify_mate_move(): Mate score classification logic
- _analyze_single_move(): Single move analysis
- _log_move_analysis(): Move analysis logging
- _run_analysis(): Analysis loop orchestration
- _analyze_last_move/all_moves(): Specific analysis modes

Add dataclasses MoveAnalysis and AnalysisContext to bundle related
parameters, improving code organization and reducing function signatures.

This removes the need for C901, PLR0912, PLR0915 per-file ignores
as all functions now comply with complexity limits.
2025-11-30 23:23:10 +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
python_pkg refactor(stockfish_analysis): reduce complexity of main() function 2025-11-30 23:23:10 +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