{"slug":"detect-halowerk-com-v1-f-td2000-documents-08-python312-sourc-2a31c5","title":"Python source/namespace import shadowing resolution","host":"detect.halowerk.com","method":"POST","resource":"https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-08/python312-source-package-namespace-import-shadowing-resolution","category":"code","description":"Python source/namespace import shadowing resolution. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":877,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"artifact":{"pythonImport":{"claim":null,"data":{"directories":[],"files":["/a/p.py"],"names":["p","p.x","p.y"],"search_path":["/a","/b","/c"]}}}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"artifact":{"additionalProperties":false,"properties":{"pythonImport":{"additionalProperties":false,"properties":{"claim":{"anyOf":[{"type":"null"},{"maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"}]},"data":{"additionalProperties":false,"properties":{"directories":{"items":{"maxLength":256,"minLength":1,"type":"string"},"maxItems":128,"minItems":0,"type":"array"},"files":{"items":{"maxLength":256,"minLength":1,"type":"string"},"maxItems":256,"minItems":0,"type":"array"},"names":{"items":{"maxLength":256,"minLength":1,"type":"string"},"maxItems":32,"minItems":1,"type":"array"},"search_path":{"items":{"maxLength":256,"minLength":1,"type":"string"},"maxItems":32,"minItems":1,"type":"array"}},"required":["files","directories","search_path","names"],"type":"object"}},"required":["data","claim"],"type":"object"}},"required":["pythonImport"],"type":"object"}},"required":["artifact"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"billable":{"const":true},"findings":{"items":{"additionalProperties":false,"allOf":[{"else":{"properties":{"confidence":{"const":1},"evidence":{"minItems":1},"value":{"type":"object"},"warnings":{"maxItems":0}}},"if":{"properties":{"state":{"const":"unknown"}},"required":["state"]},"then":{"properties":{"confidence":{"const":0},"evidence":{"maxItems":0},"value":{"type":"null"},"warnings":{"minItems":1}}}}],"properties":{"confidence":{"maximum":1,"minimum":0,"type":"number"},"evidence":{"items":{"additionalProperties":false,"properties":{"page_indices":{"items":{"type":"integer"},"maxItems":0,"type":"array"},"page_url":{"type":"null"},"pattern":{"const":"python312-source-package-namespace-import-shadowing-resolution_scoped_evidence"},"type":{"const":"artifact"}},"required":["type","page_url","pattern","page_indices"],"type":"object"},"maxItems":1,"type":"array"},"limits":{"items":{"maxLength":300,"type":"string"},"maxItems":1,"type":"array"},"module":{"const":"python312-source-package-namespace-import-shadowing-resolution"},"state":{"enum":["observed","not_observed","unknown"]},"value":{"anyOf":[{"type":"null"},{"additionalProperties":false,"properties":{"claim_matches":{"type":"boolean"},"computed":{"additionalProperties":false,"properties":{"results":{"items":{"additionalProperties":false,"properties":{"failure":{"anyOf":[{"type":"null"},{"enum":["module_not_found","parent_is_not_package"]}]},"name":{"maxLength":256,"minLength":1,"type":"string"},"resolved":{"type":"boolean"},"steps":{"items":{"additionalProperties":false,"properties":{"component":{"maxLength":256,"minLength":1,"type":"string"},"kind":{"enum":["module","package","namespace"]},"origin":{"anyOf":[{"type":"null"},{"maxLength":256,"minLength":1,"type":"string"}]},"search_locations":{"items":{"maxLength":256,"minLength":1,"type":"string"},"maxItems":32,"minItems":0,"type":"array"}},"required":["component","kind","origin","search_locations"],"type":"object"},"maxItems":32,"minItems":0,"type":"array"}},"required":["name","resolved","failure","steps"],"type":"object"},"maxItems":32,"minItems":0,"type":"array"}},"required":["results"],"type":"object"},"computed_sha256":{"maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"}},"required":["computed","computed_sha256","claim_matches"],"type":"object"}]},"warnings":{"items":{"maxLength":150,"type":"string"},"maxItems":1,"type":"array"}},"required":["module","state","value","confidence","evidence","warnings","limits"],"type":"object"},"maxItems":1,"minItems":1,"type":"array"},"known_count":{"const":1},"scope":{"type":"object"},"warnings":{"type":"array"}},"required":["findings","known_count","billable","warnings","scope"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":877,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1003,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":894,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":871,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":912,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":872,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":852,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":880,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":867,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":956,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":881,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":867,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":871,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":851,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":858,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":852,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":876,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1159,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1166,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1160,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1331,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1309,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1162,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1163,"error":null}],"description_full":"Python source/namespace import shadowing resolution. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.","last_updated":"2026-11-02T16:27:44.342Z","schemes":["exact"]}