Unit Tests:
- CV Pipeline
- Tested piece detection on single-piece and multi-piece images
- Verified correct grid mapping after ArUco-based warping
- Checked FEN consistency across repeated captures
- Chess Engine
- Validated legal move generation across edge cases (check, capture, invalid moves)
- Verified no illegal moves are returned to downstream modules
- LED System
- Tested LED addressing and color mapping correctness
- Verified correct highlighting for legal moves and best move
- LLM Pipeline
- Tested that generated suggestions are always legal (engine-bounded)
- Verified latency under different prompt lengths
We conducted end-to-end system testing under realistic gameplay scenarios.
We found that LLM latency was quite long which made the overall latency of running the whole pipeline longer than we wanted, therefore we decided to use a token-limited setting and was able to boost the latency.
The most significant risks that could jeopardize the success of the project is the Raspberry Pi needing to be reflashed right before the demo, because we have faced some instances were we are forced to reflash and reupload our code. Another risk is our hotspot not working fast enough or at all in the location of the demo, which is needed by all 3 of our subsystems.
There were no changes to the existing design of the system.


