Releases: wawiesel/olm
Releases · wawiesel/olm
Release list
v0.14.2: Degenerate Axis Handling and Bug Fixes
🚀 Major Improvements
✅ Degenerate Axis Handling
- Fixed numpy.gradient() crashes for reactor libraries with single-value parameters
- Implemented automatic axis duplication for degenerate axes (e.g., mod_dens = 0.723)
- Added robust edge case handling for negative, zero, and large parameter values
- Enhanced GridGradient quality calculations - now properly handles all reactor library types
🐛 Bug Fixes
- Fixed undefined variable
nuclide_amountreference inget_nuclidesmethod - Fixed invalid escape sequences in regex patterns and LaTeX strings
- Improved error handling for real-world reactor data characteristics
🧪 Testing Improvements
- Added comprehensive test coverage for degenerate axis scenarios
- Fast unit tests (<0.005s) for mathematical logic validation
- Real data integration tests using existing
w17x17.arc.h5test data - Performance optimization - test suite completion time reduced from 9+ minutes to ~2.5 minutes
📚 Documentation & Development
- Reorganized cursor rules into core governance (
.cursor/rules/core.mdc) and technical patterns (.cursor/rules/memory-bank.mdc) - Documented bumpversion workflow and development best practices
- Added testing patterns and performance guidelines for future development
🔧 Technical Details
- Quality score improvements - w17x17.arc.h5 now produces expected q1≈0.779, q2≈0.98
- Backward compatibility maintained - all existing functionality preserved
- Multi-Python support - tested on Python 3.9, 3.10, and 3.11
This release significantly improves the reliability of OLM when working with reactor libraries containing degenerate interpolation axes, a common scenario in ORIGEN data.