Back to problems

Time-Based Key-Value Store with Production Testing

AI Coding · OpenAI · Hard

The Workspace A multi-file Python project. No third-party packages, no network. Standard library only. The tests put src/ on sys.path themselves, so run them from anywhere in the repo. Phase 1 -- Fix the bugs There are exactly 3 bugs: one in FrozenClock, one in TimestampedEntries, and one in TimeMap. The docstrings state the intended behavior. The code does not always match them. Read the failing tests, then fix the code. Phase 2 -- Implement MonotonicTimeMap Implement set…

Checking your access…