Skip to content

For a 0.6 release - #78

Merged
ablaom merged 34 commits into
masterfrom
dev
Nov 4, 2026
Merged

ablaom merged 34 commits into
masterfrom
dev

Conversation

@ablaom

@ablaom ablaom commented Nov 4, 2026

Copy link
Copy Markdown
Member

#72

Draft Release Notes:

  • (enhancement - breaking) The form of the return value of
    IterationControl.train!(model, ...) has changed. Now a vector of ControlTrace
    objects is returned. By default, each trace records a complete history of (an public
    form) of the control's internal state. For example, the trace of any callback control
    records a history of the values returned by the calling function.

  • (new default - breaking) Step() is now the same as Step(1)

  • (new default - breaking) Callback() is now the same as Callback(identity)

  • (new default - breaking) WithNumberDo() is now the same as WithNumberDo(identity)

  • (new default - breaking) WithLossDo() is now the same as WithLossDo(identity)

  • (new default - breaking) WithTraininLossesDo() is now the same as WithTrainingLossesDo(identity)

  • (API change - breaking for custom controls) (for new implementations) takedown(control, verbosity, state) should now only return a short (possible empty) message string, which it should log to Info if it's non-empty and verbosity > 0. Ideally the message should fit on one line. (Detailed information can be accessed with EarlyStopping.public_state(control, state).) A new control traitneeds_ingest(model) should be implemented for custom controls that requireIterationControl.ingest!(model, datum) to be implemented to support model.

  • (logging changes) What train! logs to Info (apart from control-specific logging) has changed; logging is less verbose by default.

  • (mildly breaking) Controls that previously had a callback function as a field no longer have the type of the callback as a type parameter (Remove unnecessary restriction that a callback function <:Function. That is, allow any callable.  #59)

  • Support for julia < 1.10 is dropped.

ablaom and others added 30 commits October 8, 2026 09:56
add forgotten file

add forgotten file
tweak testing

add forgotten test file
Add detailed traces to the output of `train!`
Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 2 to 3.
- [Release notes](https://github.com/julia-actions/cache/releases)
- [Commits](julia-actions/cache@v2...v3)

---
updated-dependencies:
- dependency-name: julia-actions/cache
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.55340% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.75%. Comparing base (2aa4dd9) to head (1bd849e).
⚠️ Report is 34 commits behind head on master.

Files with missing lines Patch % Lines
src/traces.jl 56.75% 32 Missing ⚠️
src/controls.jl 96.92% 2 Missing ⚠️
src/wrapped_controls.jl 88.23% 2 Missing ⚠️
src/api.jl 75.00% 1 Missing ⚠️
src/train.jl 94.73% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
- Coverage   96.19%   88.75%   -7.44%     
==========================================
  Files           9       12       +3     
  Lines         315      427     +112     
==========================================
+ Hits          303      379      +76     
- Misses         12       48      +36     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ablaom

ablaom commented Nov 4, 2026

Copy link
Copy Markdown
Member Author

I simply don't get this codecov report. The "uncovered" lines reported for test/traces.jl are covered.

@ablaom
ablaom merged commit d46ced0 into master Nov 4, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant