Describe how you would debug a model that passes 13 out of 14 test cases but fails on the final edge case due to strict latency and memory limits.