Skip to content

Releases: gitrdm/ranked_programming

v2.1.0

04 Sep 21:45

Choose a tag to compare

v2.1.0

Added

  • Causal reasoning v2 (Section 7): Structural Ranking Models (SRM) with surgery (do()), stable reasons (causation), and total effects in rank space.
  • Ranked CI + PC discovery with v-structures and Meek R1/R2 orientation.
  • Identification utilities: backdoor/frontdoor admissibility and τ-based effect estimation.
  • Explanations: minimal repairs (enumeration; optional CP-SAT) and root-cause DOT export.
  • New examples: examples/causal_boolean_circuit_srm.py, examples/causal_srm_identification_demo.py.
  • Optional extras (pyproject.toml) for solver backends: cp-sat, maxsat, asp, z3.

Changed

  • Expanded documentation: Section 7 design + checklist; updated causal tutorial; enriched README.
  • Clarified belief propagation and Spohn conditionalization notes.

Notes

  • Remaining gaps planned for future minors: Meek R3/R4, FCI/PAG, c-representations/SMT, measurement/IC axioms.

Version 2.0.0: Complete Architecture Enhancement

04 Sep 01:27

Choose a tag to compare

Version 2.0.0: Complete Architecture Enhancement

🎉 Major release with complete theoretical foundation

✅ ALL PHASES COMPLETE

  • Phase 1: Core Theory Methods (κ, τ, conditional ranks)
  • Phase 2: Educational Examples & Documentation
  • Phase 3: Causal Reasoning Toolkit
  • Phase 4.1: Belief Propagation Module
  • Phase 4.2: Constraint-Based Reasoning
  • Phase 4.3: C-Representation Framework

🚀 KEY FEATURES

  • Complete Spohn's Ranking Theory implementation
  • Causal discovery and intervention analysis
  • Efficient belief propagation with Shenoy's algorithm
  • SMT-powered constraint solving with Z3
  • C-representation framework (Kern-Isberner's formalism)
  • Hybrid integration between reasoning paradigms
  • 190+ comprehensive tests, zero technical debt
  • Full backward compatibility

📦 INSTALLATION

pip install ranked_programming-2.0.0-py3-none-any.whl
# or
pip install ranked_programming-2.0.0.tar.gz

📚 DOCUMENTATION

🔬 WHAT'S NEW

  • Theoretical Rigor: Complete implementation of Wolfgang Spohn's Ranking Theory
  • Causal Reasoning: Full causal discovery and intervention analysis toolkit
  • Scalable Inference: Belief propagation for large ranking networks
  • Constraint Solving: SMT-powered reasoning with Z3 integration
  • Hybrid Systems: Seamless integration of multiple reasoning paradigms

📊 QUALITY METRICS

  • 190+ Tests: All passing with zero technical debt
  • Zero Regressions: All existing functionality preserved
  • Production Ready: Comprehensive error handling and documentation
  • Type Safe: Full type annotations throughout

🔄 BACKWARD COMPATIBILITY

All existing code continues to work unchanged. This is a purely additive release with enhanced capabilities.


Ready for production use! 🚀