hedgemony
A checker that detects nonexistent Python names and code contract violations without another AI
SITE CAPTUREBased on information published on the service's website. Selection and review policy
WHAT IT DOES
What does it do?
hedgemony analyzes the syntax tree to check whether names referenced by code exist in the actual interpreter. When a docstring contains an executable example, it runs that example in a separate restricted process to check whether the code matches its stated behavior. It does not guess when a determination is impossible, and it runs on Python 3.9 or later using only the standard library.
KEY FEATURES
Key features
- Detect unpublished packages and nonexistent methods
- Detect arguments a function does not accept
- Analyze syntax trees and verify names with hasattr and inspect.signature
- Check executable docstring examples in a separate restricted process
- Skip items that cannot be determined without guessing
- Return CI exit codes 0, 1, or 2 according to the result
EDITOR'S NOTE
Why did it stand out?
It limits evaluation of AI code to verifiable standards—the interpreter and written executable examples—instead of another AI’s opinion. Its choice to stay silent when it cannot verify something also makes the tool’s role clear.