← Python API
vraven · class

DecompilationResult

DecompilationResult(captured: 'CapturedModel', atlas: 'ConceptAtlas', evolution: 'ConceptEvolution', causal_graph: 'CausalMechanismGraph', programme: 'MechanismProgram', contrastive: 'ContrastiveExplanation', counterfactual: 'CounterfactualProof | None', certificate: 'MechanismCertificate', profiler: 'ProfilerReport | None', focus_concept_values: 'np.ndarray', focus_logits: 'np.ndarray', target: 'int', alternative: 'int | None', class_names: 'dict[int, str]', timings_seconds: 'dict[str, float]', metadata: 'dict[str, Any]' = <factory>) -> None

DecompilationResult(captured: 'CapturedModel', atlas: 'ConceptAtlas', evolution: 'ConceptEvolution', causal_graph: 'CausalMechanismGraph', programme: 'MechanismProgram', contrastive: 'ContrastiveExplanation', counterfactual: 'CounterfactualProof | None', certificate: 'MechanismCertificate', profiler: 'ProfilerReport | None', focus_concept_values: 'np.ndarray', focus_logits: 'np.ndarray', target: 'int', alternative: 'int | None', class_names: 'dict[int, str]', timings_seconds: 'dict[str, float]', metadata: 'dict[str, Any]' = <factory>)

Usage

from vraven import DecompilationResult

value = DecompilationResult(...)

Methods

figure(self, visual: 'str', *, mode: 'str' = 'interactive_dark', **kwargs: 'Any')

Public method.

save(self, directory: 'str | Path', *, include_ir_graph_code: 'bool' = True) -> 'Path'

Public method.

summary(self) -> 'dict[str, Any]'

Public method.

to_manifest(self) -> 'dict[str, Any]'

Public method.

write_feature_report(self, visual: 'str', path: 'str | Path', *, format: 'str | None' = None, initial_mode: 'str' = 'interactive_dark', include_plotlyjs: 'bool' = True) -> 'Path'

Write one standalone Reverse feature with its critical scientific audit.

write_report(self, path: 'str | Path', *, format: 'str | None' = None, initial_mode: 'str' = 'interactive_dark', include_plotlyjs: 'bool' = True) -> 'Path'

Write exactly one Decision Proof report in HTML, PDF or JSON format.

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