Back to problems

In-Memory Cache: Bug-Fix + Durability

AI Coding · Anthropic · Hard

Requirements You are given a partial implementation resembling: Part 1 — Bug hunt Correct generate_key so it satisfies all of the following: It handles any combination of positional and keyword arguments. It produces a hashable, deterministic key. Reordering keyword arguments does not alter the key for an otherwise identical call. Values nested inside lists, dictionaries, or similar containers must be converted into a hashable representation, such as a recursively normalized…

Checking your access…