characterize_module
Generate characterization tests for each pure function in a Python module to capture current behavior and enable safe refactoring.
Instructions
Generate characterization tests for every pure top-level function in a module. Returns a list of CharacterizationResult, one per function (or per-function error dict). Failures don't abort the whole call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| max_cases_per_function | No | ||
| coverage_threshold | No | ||
| max_rounds | No | ||
| output_dir | No | ||
| allow_impure | No | ||
| name_pattern | No |