API Reference

Complete API documentation for the Structured Stochasticity framework. This documentation is auto-generated from Python docstrings.

Quick Reference

The main components of this framework are:

  • injection - Noise injection strategies (Gaussian, Uniform, Annealed, etc.)

  • hooks - PyTorch forward hooks for modifying hidden states

  • tasks - Benchmark tasks (Tower of Hanoi, Arithmetic, Logical Deduction)

  • evaluation - Trajectory aggregation and evaluation metrics

  • experiment - Main experiment runner and configuration