GPT-5 finding
Comment claims 'After 3 consecutive failures' but logic uses overall error rate threshold
lowdocs-gaphigh
- python/smart_router.py
The code does not track consecutive failures; it uses error_rate > 70% after at least 3 total requests. The misleading comment can cause incorrect operational expectations.
Recommendation
Update the comment to reflect error-rate semantics, or implement true consecutive-failure tracking if that was the intent.