4 Commits

Author SHA1 Message Date
4fbb803a66 Comprehensive test suite: 99 tests
ELO System Tests (71):
- Calculator: expected scores, rating updates, K-factors
- Doubles: effective opponent calculations
- Score weights: per-point scoring
- Integration: convergence, conservation, symmetry
- Stress: extreme ratings, edge cases, floating point

Edge Case Tests (18):
- Special characters in names
- Rating extremes (1 to 3000)
- Score extremes (0-0, 11-0, overtime)
- Empty database queries
- SQL injection protection
- Concurrent access
- Session management

Database Tests (6):
- Player CRUD
- Match recording
- Leaderboard queries
- Daily summaries

Match Reversal Tests (4):
- Singles match reversal
- Doubles match reversal
- Multiple match reversal (LIFO)
- Partial reversal preserves other matches
2026-02-26 12:49:16 -05:00
b174da3dc5 Add comprehensive test suite: 75 tests (ELO, DB, integration, handlers) 2026-02-26 12:47:51 -05:00
75576ce50c v3.0.0: Complete refactor - modular structure, unified ELO, tests 2026-02-26 12:43:15 -05:00
d4c0bb889b docs: comprehensive documentation for all modules and handlers
- README.md: full project docs with features, API endpoints, Glicko-2 explanation
- main.rs: doc comments for all 18 HTTP handlers
- db/mod.rs: schema and migration documentation
- models/mod.rs: Player struct and Glicko-2 parameter docs
- Fixed route syntax (:id instead of {id}) for Axum 0.7 compatibility
2026-02-07 19:19:50 -05:00