polytracker.visualizations

visualizations functions

file_diff

polytracker.visualizations.file_diff(num_bytes: int, in_first: Callable[[int], bool], in_second: Callable[[int], bool], aspect_ratio: float = 1.61803398875) <module 'PIL.Image' from '/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/PIL/Image.py'>

temporal_animation

polytracker.visualizations.temporal_animation(output_path: str, trace: ProgramTrace, for_input: Input | None = None, aspect_ratio: float = 1.61803398875)