Implement a function lookup status info in task module.py that uses requests 's public status code API to…
Implement a function lookup status info in task module.py that uses requests 's public status code API to…: a task in repo2rlenv-code-instruct (Harbor dataset). Given an integer status code (or a string alias like "not found" or "ok" ), the function should return a dict with: - "code" : the…
The task
Given an integer status code (or a string alias like `"not_found"` or `"ok"`), the function should return a dict with: - `"code"`: the integer status code - `"aliases"`: a tuple of all string aliases for that code - `"is_success"`: bool, True if 200–299 - `"is_client_error"`: bool, True if 400–499
Part of FineEnvs/repo2rlenv-code-instruct.