Analyze Python code for correctness using symbolic execution and SMT solving to automatically find counterexamples for functions with type annotations and contracts.
86
Dynamic typing support with TypeVar binding
TypeVar declaration
100%
100%
Generic tuple typing
100%
100%
PEP316 preconditions
100%
100%
PEP316 postconditions
100%
100%
Bounded TypeVar usage
100%
100%
Generic List typing
100%
100%
Contract verification
100%
100%
Symbolic type system with proxy creation for Python types
Uses proxy_for_type
100%
83%
Correct type handling
80%
100%
Uses realize function
75%
85%
Proper error handling
100%
100%
Symbolic value integration
100%
100%
Contract checking and verification with multiple syntax support
Preconditions for inputs
20%
100%
Postconditions for state
20%
100%
Class invariants
20%
100%
Old value tracking
53%
100%
Contract syntax variety
13%
100%
Runtime contract enforcement with decorators
Contract decorator usage
100%
100%
Runtime enforcement
100%
100%
Precondition validation
100%
100%
Postcondition validation
100%
100%
Exception handling
100%
100%
Behavioral difference detection (diffbehavior) between implementations
Import diff_behavior
0%
100%
Call diff_behavior
0%
100%
Iterate over results
0%
100%
Extract input arguments
0%
100%
Configure analysis options
0%
100%
File watching and continuous analysis
Uses watch command
0%
0%
Integrates contract checking
0%
0%
Handles watch results
0%
0%
Implements graceful shutdown
100%
100%
Structured output format
100%
100%
Plugin system for custom types and contracts
register_type usage
100%
100%
Symbolic value creator
40%
25%
Constraint application
33%
20%
register_contract usage
100%
100%
Precondition specification
100%
100%
Postcondition specification
100%
100%
Search and optimization for constraint solving
Symbolic value creation
80%
40%
Constraint implementation
100%
100%
Search command usage
40%
12%
Optimization strategy
60%
100%
Integration completeness
80%
100%
Symbolic standard library implementations (64+ modules)
PEP316 Contract Syntax
100%
100%
Datetime Type Usage
100%
100%
Precondition Implementation
100%
100%
Postcondition Implementation
100%
100%
Date Arithmetic Operations
100%
100%
Test generation (cover) with automatic pytest output
Uses crosshair cover
100%
100%
Pytest format output
100%
100%
Writes output file
100%
100%
Handles module path
100%
100%
Returns success status
100%
100%
Install with Tessl CLI
npx tessl i tessl/pypi-crosshair-tool