Back to problems

Fix Existing Code (Bug Fixing)

AI Coding · Perplexity · Medium

Repair Existing Code (Bug Fix) You receive an implementation that is supposed to satisfy a defined behavior, along with tests that currently fail. Locate the defect or defects and correct the implementation. Task Make the smallest reasonable code changes needed for every test to succeed. Describe your debugging process, such as using logging, creating counterexamples, or checking boundary conditions systematically. Function Signature The workspace ships src/intervals.py with…

Checking your access…