← Python API
vraven.decompiler · class

CounterfactualConfig

CounterfactualConfig(candidate_quantiles: 'tuple[float, ...]' = (0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95), maximum_concepts: 'int' = 10, maximum_changes: 'int' = 2, maximum_verified_candidates: 'int' = 40, programme_flip_margin: 'float' = 0.0, require_model_flip: 'bool' = True, cost_power: 'float' = 1.0, minimum_scale: 'float' = 1e-06, output_path: 'str | Sequence[str | int] | None' = None, seed: 'int' = 17) -> None

Controls bounded search over concept replacements.

Usage

from vraven.decompiler import CounterfactualConfig

value = CounterfactualConfig(...)
Source of truthThis page is generated from the checked-out public symbol, signature, and docstring. Pin the package version for reproducible work.