|
1 | | -# microlens-submit v0.16.5 Release Notes |
| 1 | +# microlens-submit v0.17.0 Release Notes |
2 | 2 |
|
3 | 3 | **Release Date:** 2026-02-04 |
4 | 4 |
|
5 | 5 | ## Changelog |
6 | 6 |
|
7 | | -## [0.16.5] - 2026-02-04 |
| 7 | +## [0.17.0] - 2026-02-04 |
| 8 | + |
| 9 | +### Added |
| 10 | +- **Physical Parameters**: Added 24 physical parameters (Mtot, M1-M4, D_L, D_S, thetaE, piE components, mu_rel components, phi) to parameter spec |
| 11 | +- **Physical Parameter Validation**: Comprehensive validation including mass consistency checks, vector magnitude verification, distance constraints, and unit confusion warnings |
| 12 | +- **Uncertainty Metadata**: Added three new Solution fields: |
| 13 | + - `uncertainty_method`: Method used to derive uncertainties (mcmc_posterior, fisher_matrix, bootstrap, propagation, inference, literature, other) |
| 14 | + - `confidence_level`: Confidence level for uncertainties (default: 0.68 for 1-sigma) |
| 15 | + - `physical_parameter_uncertainties`: Uncertainties for physical parameters (symmetric or asymmetric) |
| 16 | +- **CLI Options**: Added `--physical-param-uncertainty`, `--uncertainty-method`, and `--confidence-level` options to `add-solution` command |
| 17 | +- **Tests**: Added 3 new comprehensive BIC calculation tests verifying parameter counting |
| 18 | +- **Version Management**: Enhanced `bump_version.py` to update and validate `parameter_spec.yaml` (includes drift check) |
8 | 19 |
|
9 | 20 | ### Fixed |
10 | | -- Dossier assets are now copied into the dossier output and linked with URL-safe relative paths, |
11 | | - improving image loading in Roman Research Nexus and similar environments. |
12 | | -- Event data, plots, and posteriors now resolve reliably when paths include spaces or nested folders. |
| 21 | +- **BIC Calculation Bug**: Fixed critical bug where BIC calculation counted ALL parameters including metadata (t_ref, limb_darkening_coeffs) and physical parameters (Mtot, D_L, etc.) as "free parameters". Now correctly counts only fitted model parameters using new `count_model_parameters()` function. This affects relative probability calculations during export and solution comparison. |
| 22 | + |
| 23 | +### Changed |
| 24 | +- Physical parameters now validated with `validate_physical_parameters()` automatically when present |
| 25 | +- Solution metadata validation now includes uncertainty metadata checks |
| 26 | +- BIC calculation in `submission.py` and `validation.py` now uses `count_model_parameters()` instead of `len(s.parameters)` |
| 27 | + |
| 28 | +### Documentation |
| 29 | +- Added comprehensive examples of physical parameters and uncertainty metadata to tutorial and usage examples |
| 30 | +- Tutorial emphasizes uncertainties are **optional but strongly recommended** for evaluation readiness |
| 31 | +- Created `PHYSICAL_PARAMS_SUMMARY.md` with complete implementation guide |
0 commit comments