Skip to content

Releases: AmberLee2427/microlens-submit

v0.17.8

10 Feb 21:15

Choose a tag to compare

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_method when 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

10 Feb 20:26

Choose a tag to compare

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 in parameter_uncertainties instead of physical_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

10 Feb 19:18

Choose a tag to compare

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 using shutil.move instead of os.replace.

v0.17.5

10 Feb 18:53

Choose a tag to compare

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) in edit-solution.

Changed

  • Updated CLI tutorial regarding file attachments (plots and posteriors).

v0.17.4

09 Feb 18:05

Choose a tag to compare

microlens-submit v0.17.4 Release Notes

Release Date: 2026-02-09

Changelog

[0.17.4] - 2026-02-09

Added

  • Added regenerate flag for notebook_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.io source URL to avoid PyPI source 404s during build.

v0.17.3

09 Feb 14:48

Choose a tag to compare

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 bands during event.add_solution().
  • Tests covering notebook display helpers and bands in the Python API.

Changed

  • CLI edit-solution now 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 src attributes in dossier HTML.

v0.17.2

08 Feb 19:12

Choose a tag to compare

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_B are recognized for banded flux terms.
  • Added data_challenge_0_129_335 to the test tier event list (runtime and spec).

v0.17.0

04 Feb 21:51

Choose a tag to compare

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-level options to add-solution command
  • Tests: Added 3 new comprehensive BIC calculation tests verifying parameter counting
  • Version Management: Enhanced bump_version.py to update and validate parameter_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.py and validation.py now uses count_model_parameters() instead of len(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.md with complete implementation guide

v0.16.5

04 Feb 16:44

Choose a tag to compare

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

15 Jan 23:50

Choose a tag to compare

microlens-submit v0.16.4 Release Notes

Release Date: 2026-01-14

Changelog

[0.16.4] - 2026-01-14

Added

  • Added remove-event/remove-solution CLI commands and remove_event/remove_solution API helpers with a --force guard for hard deletes.
  • Added git_dir metadata plus set-git-dir to 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 psutil for 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.yaml to 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 for 2018-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.