Claimcheck

•

Verifies claims about code by executing tests both with and without a proposed fix to determine actual bug coverage.

Large language models (LLMs) and AI assistants can confidently make statements about code, such as "this is fixed" or "these tests cover it," without genuine verification. Claimcheck addresses the critical issue where a test passing doesn't prove anything unless it can also fail, preventing "verified" claims from being empty. It provides a robust mechanism for an AI model to run a crucial second experiment: testing code both with and without a specific change to determine if a test genuinely guards against a bug or merely serves as decoration. The server also includes tools for assessing the measurability of claims and securing evidence of results, all while operating within a tightly controlled, sandboxed environment to prevent unsafe code execution.

주요 기능

01evidence_digest tool: Generates cryptographic hashes of measurements for immutable verification of results.
02verify_guard tool: Compares test results with and without a fix to determine if a test genuinely guards a bug.
03Resource limits: Imposes character limits on source code and output to prevent abuse.
04check_claim_shape tool: Assesses if a claim is measurable and actionable by the server.
050 GitHub stars
06Static AST analysis: Rejects unsafe code constructs (e.g., system imports, file operations, network access).

사용 사례

01Empowering AI assistants to programmatically verify their claims about code fixes and test coverage.
02Providing concrete, evidence-based verdicts on code changes for automated code review or integration pipelines.
03Identifying 'decorative' tests that pass universally and fail to detect the bugs they claim to cover.