Releases: AmberLee2427/microlens-submit
Releases · AmberLee2427/microlens-submit
v0.17.8
microlens-submit v0.17.8 Release Notes
Release Date: 2026-02-10
Changelog
[0.17.8] - 2026-02-10
Changed
- Temporarily disabled validation warning that recommends
uncertainty_methodwhen uncertainties are provided, to prevent it from blocking exports or confusing users while the requirement is being reconsidered.
Fixed
- List bug fixes here
v0.17.7
microlens-submit v0.17.7 Release Notes
Release Date: 2026-02-10
Changelog
[0.17.7] - 2026-02-10
Fixed
- Improved validation error messages when physical parameters (e.g.
Mtot) are incorrectly placed inparameter_uncertaintiesinstead ofphysical_parameter_uncertainties. - Corrected misleading example in documentation (
docs/usage_examples.rst) that showed physical parameter uncertainties being added to the model parameter uncertainties dictionary.
v0.17.6
microlens-submit v0.17.6 Release Notes
Release Date: 2026-02-10
Changelog
[0.17.6] - 2026-02-10
Fixed
- Fixed
OSError(cross-device link) when saving solution notes on systems with separate filesystems (like Nexus), by usingshutil.moveinstead ofos.replace.
v0.17.5
microlens-submit v0.17.5 Release Notes
Release Date: 2026-02-09
Changelog
[0.17.5] - 2026-02-09
Added
- CLI support for attaching posterior samples via
add-solution(--posterior-path). - CLI commands to edit and clear solution file paths (
--posterior-path,--lightcurve-plot-path,--lens-plane-plot-path) inedit-solution.
Changed
- Updated CLI tutorial regarding file attachments (plots and posteriors).
v0.17.4
microlens-submit v0.17.4 Release Notes
Release Date: 2026-02-09
Changelog
[0.17.4] - 2026-02-09
Added
- Added
regenerateflag fornotebook_display_solution()to force HTML refresh.
Changed
- Dossier notebook rendering now inlines local plot images referenced by solution pages.
- Temporary notes created without a project root now track their absolute location.
Fixed
- Submission save now relocates temporary notes even when the tmp file lives outside the project directory.
- Conda recipe now uses the
pypi.iosource URL to avoid PyPI source 404s during build.
v0.17.3
microlens-submit v0.17.3 Release Notes
Release Date: 2026-02-08
Changelog
[0.17.3] - 2026-02-08
Added
- Solution-level hardware metadata overrides and autofill helpers.
- Notebook display helpers for dashboard, event, solution, and full dossier pages.
- Python API support for setting
bandsduringevent.add_solution(). - Tests covering notebook display helpers and
bandsin the Python API.
Changed
- CLI
edit-solutionnow supports solution-level hardware overrides (JSON), autofill, and clearing. - Notebook display helpers inline local assets for JupyterHub/JupyterLab display.
Fixed
- Asset inlining now handles single-quoted
srcattributes in dossier HTML.
v0.17.2
microlens-submit v0.17.2 Release Notes
Release Date: 2026-02-08
Changelog
[0.17.2] - 2026-02-08
Added
- Renamed CLI-focused tutorial file (
docs/cli_tutorial.rst) and updated docs index references. - Added a Python API example for inspecting solutions and resolving duplicate aliases in usage examples.
Changed
- Dossier asset linking now resolves local plot/posterior paths without copying into the dossier output (reverted to v<0.17.0 behaviour).
- Duplicate-alias validation now reports the conflicting solution IDs with guidance for renaming.
Fixed
- Fixed dossier logo asset loading to use packaged assets reliably across environments (e.g., Roman Nexus).
- Ensured event/solution-only dossier generation copies shared logo assets.
- Fixed flux-parameter detection so
F0_S/F0_Bare recognized for banded flux terms. - Added
data_challenge_0_129_335to thetesttier event list (runtime and spec).
v0.17.0
microlens-submit v0.17.0 Release Notes
Release Date: 2026-02-04
Changelog
[0.17.0] - 2026-02-04
Added
- Physical Parameters: Added 24 physical parameters (Mtot, M1-M4, D_L, D_S, thetaE, piE components, mu_rel components, phi) to parameter spec
- Physical Parameter Validation: Comprehensive validation including mass consistency checks, vector magnitude verification, distance constraints, and unit confusion warnings
- Uncertainty Metadata: Added three new Solution fields:
uncertainty_method: Method used to derive uncertainties (mcmc_posterior, fisher_matrix, bootstrap, propagation, inference, literature, other)confidence_level: Confidence level for uncertainties (default: 0.68 for 1-sigma)physical_parameter_uncertainties: Uncertainties for physical parameters (symmetric or asymmetric)
- CLI Options: Added
--physical-param-uncertainty,--uncertainty-method, and--confidence-leveloptions toadd-solutioncommand - Tests: Added 3 new comprehensive BIC calculation tests verifying parameter counting
- Version Management: Enhanced
bump_version.pyto update and validateparameter_spec.yaml(includes drift check)
Fixed
- 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.
Changed
- Physical parameters now validated with
validate_physical_parameters()automatically when present - Solution metadata validation now includes uncertainty metadata checks
- BIC calculation in
submission.pyandvalidation.pynow usescount_model_parameters()instead oflen(s.parameters)
Documentation
- Added comprehensive examples of physical parameters and uncertainty metadata to tutorial and usage examples
- Tutorial emphasizes uncertainties are optional but strongly recommended for evaluation readiness
- Created
PHYSICAL_PARAMS_SUMMARY.mdwith complete implementation guide
v0.16.5
microlens-submit v0.16.5 Release Notes
Release Date: 2026-02-04
Changelog
[0.16.5] - 2026-02-04
Fixed
- Dossier assets are now copied into the dossier output and linked with URL-safe relative paths,
improving image loading in Roman Research Nexus and similar environments. - Event data, plots, and posteriors now resolve reliably when paths include spaces or nested folders.
v0.16.4
microlens-submit v0.16.4 Release Notes
Release Date: 2026-01-14
Changelog
[0.16.4] - 2026-01-14
Added
- Added
remove-event/remove-solutionCLI commands andremove_event/remove_solutionAPI helpers with a--forceguard for hard deletes. - Added
git_dirmetadata plusset-git-dirto capture Git info when the repo lives outside the submission directory. - Added optional GPU fields in
hardware_info(gpu.model,gpu.count,gpu.memory_gb) alongside platform/OS capture. - Added non-Nexus hardware auto-fill using
psutilfor CPU and memory details. - Added conda-forge recipe (
conda/recipe/meta.yaml) to the version bump script (scripts/bump_version). - Added sha256 update in
conda/recipe/meta.yamlto the release workflow. - Added a workflow release job to copy the local updated version on the conda-forge recipe to the feedstock fork (
AmberLee2427/microlens-submit-feedstock) and send a PR, after PyPI release.
Changed
- Updated tiers to
beginner/experienced; event ID validation now uses inclusive ranges and 3-digit IDs for2018-test. - CLI numeric parsing now accepts leading decimals like
.001. - Clarified quickstart/tutorial guidance around working directories and hardware info requirements.
Fixed
- CSV import now skips blank rows to avoid NoneType parsing errors.
- Validation messaging now highlights missing bands when flux parameters are provided.
- Improved Windows notes editor fallback for better default editor selection.