Skip to content

Restructure modules: sofic.inference and automata subpackages (4/5) - #20

Closed
Autoplectic wants to merge 1 commit into
sofic-dedupfrom
sofic-restructure
Closed

Autoplectic wants to merge 1 commit into
sofic-dedupfrom
sofic-restructure

Conversation

@Autoplectic

@Autoplectic Autoplectic commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Stacked on #19. Pure moves, no shims.

  • sofic.inference.hmm and sofic.inference.cssr replace generators/*_inference.py; sampling to generators/sampling.py.
  • sofic.automata.learning, .vpa, .enumeration, .canonical packages.
  • Docs pages and toctrees moved accordingly.

Made with Cursor

…learning, vpa, enumeration, canonical packages

- sofic.inference.hmm (filtering, em, information) replaces
  generators/hmm_inference.py; sampling moves to generators/sampling.py.
- sofic.inference.cssr (counts, significance, process, subtree, transducer,
  stack) replaces generators/epsilon_inference.py, epsilon_transducer_inference.py,
  stack_inference.py and their private helpers; the spectral wrapper joins
  inference/spectral.py.
- sofic.automata.learning (active, rpni, edsm, dfasat, alergia, papni, nlstar,
  observation), sofic.automata.vpa (base, operations, deterministic, modular,
  canonical, simulation), sofic.automata.enumeration (icdfa, idfa, words), and
  sofic.automata.canonical (residual, rfsa, atomaton, dual).
- Old modules deleted without shims; docs pages and toctrees moved with them.
- Doctests and prose updated for topological entropy in bits.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Autoplectic

Copy link
Copy Markdown
Member Author

Superseded by #22, which contains the same commits as a single PR.

@Autoplectic Autoplectic closed this Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant