Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.0.0 final changes #360

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open

Release 1.0.0 final changes #360

wants to merge 33 commits into from

Conversation

MilesCranmer
Copy link
Owner

@MilesCranmer MilesCranmer commented Oct 20, 2024

This creates a full CHANGELOG.md based on all of the release notes. It also creates the 1.0.0 release notes giving descriptions of the various new features.

TODO:

  • Make TemplateExpression more robust
  • Nice example with structs
  • New URL

Copy link
Contributor

github-actions bot commented Oct 20, 2024

Benchmark Results

master b62598f... master/b62598f8b9fa3d...
search/multithreading 27 ± 3.7 s 26.8 ± 2.5 s 1.01
search/serial 41.4 ± 1.7 s 39.2 ± 0.6 s 1.06
utils/best_of_sample 2.22 ± 1.7 μs 1.85 ± 1.6 μs 1.2
utils/check_constraints_x10 12.2 ± 3.2 μs 12.1 ± 3.2 μs 1.01
utils/compute_complexity_x10/Float64 2.11 ± 0.13 μs 2.1 ± 0.12 μs 1
utils/compute_complexity_x10/Int64 2.03 ± 0.11 μs 2.05 ± 0.11 μs 0.99
utils/compute_complexity_x10/nothing 1.49 ± 0.11 μs 1.45 ± 0.12 μs 1.03
utils/insert_random_op_x10 5.85 ± 2 μs 5.86 ± 1.9 μs 0.998
utils/next_generation_x100 0.412 ± 0.12 ms 0.435 ± 0.13 ms 0.947
utils/optimize_constants_x10 0.0402 ± 0.0091 s 0.038 ± 0.01 s 1.06
utils/randomly_rotate_tree_x10 5.28 ± 0.62 μs 5.3 ± 0.6 μs 0.996
time_to_load 1.66 ± 0.05 s 1.69 ± 0.053 s 0.981

Benchmark Plots

A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR.
Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).

@coveralls
Copy link

coveralls commented Oct 20, 2024

Pull Request Test Coverage Report for Build 11439984339

Details

  • 87 of 106 (82.08%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.5%) to 94.818%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/TemplateExpression.jl 59 78 75.64%
Totals Coverage Status
Change from base Build 11412416831: -0.5%
Covered Lines: 2873
Relevant Lines: 3030

💛 - Coveralls

@MilesCranmer
Copy link
Owner Author

I think in the example it would be nice to have an example with a literal user-defined struct getting returned from the structure function. And the fields of that struct could depend nonlinearly on the functions evolved.

@MilesCranmer
Copy link
Owner Author

MilesCranmer commented Oct 20, 2024

e.g.,

struct Energy{T}
    hamiltonian::T
    lagrangian::T
end

energy(nt) = map(
    (T, V) -> Energy(T + V, T - V),
    nt.T, nt.V
)
energy(nt::NamedTuple{<:Any,Tuple{Vararg{String}}}) = (
    "(T = $(nt.T), V = $(nt.V))"
)

variable_mapping = (; T = [1], V = [2])

and then do a search based on some values of H and L!

(Maybe there should be a hasmethod check that falls back to this printing style as default?)

@MilesCranmer MilesCranmer changed the title Release 1.0.0 Changelog Release 1.0.0 final changes Oct 21, 2024
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.

2 participants