ml_switcheroo.testing.harness_generator¶
Integration Test Harness Generator.
Generates standalone verification scripts. Bundles fuzzer logic (including Hypothesis strategies).
Classes¶
Generates standalone verification scripts tailored to the target framework. |
Module Contents¶
- class ml_switcheroo.testing.harness_generator.HarnessGenerator¶
Generates standalone verification scripts tailored to the target framework.
- extractor¶
- generate(source_file: pathlib.Path, target_file: pathlib.Path, output_harness: pathlib.Path, source_fw: str = 'torch', target_fw: str = 'jax', semantics: Dict[str, Any] | None = None) None¶
Creates the verification harness file.