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

Update to 1.0 backend #748

Merged
merged 92 commits into from
Nov 30, 2024
Merged

Update to 1.0 backend #748

merged 92 commits into from
Nov 30, 2024

Conversation

MilesCranmer
Copy link
Owner

@MilesCranmer MilesCranmer commented Nov 17, 2024

This updates the backend to 1.0, which includes:

  1. (BREAKING!) Change to file structure. Rather than hall_of_fame_{datestr}.csv, files are now stored under outputs/{datestr}_{hash}/hall_of_fame.csv which is cleaner and more extensible.
  2. Creation of "Expression Specifications" which allow for the use of ParametricExpression and TemplateExpression.

TODO:

  • Finish the implementation of complexity_mapping and add a unittest
  • Fix remaining tests.
  • Ensure automatic pushes to new URL.
  • Unittests for ParametricExpression/TemplateExpression.
  • Update hyperparameters.
  • Update multithreading interface. (With nice deprecation warnings)

This will be released as a beta first, because there are a couple other changes to make (like updating default hyperparameters).

Still TODO:

@coveralls
Copy link

coveralls commented Nov 24, 2024

Pull Request Test Coverage Report for Build 12100062277

Details

  • 412 of 438 (94.06%) changed or added relevant lines in 13 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.3%) to 93.389%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pysr/julia_helpers.py 10 11 90.91%
pysr/init.py 4 6 66.67%
pysr/sr.py 216 239 90.38%
Files with Coverage Reduction New Missed Lines %
pysr/sr.py 1 92.87%
Totals Coverage Status
Change from base Build 11922443974: -0.3%
Covered Lines: 1342
Relevant Lines: 1437

💛 - Coveralls

@MilesCranmer MilesCranmer changed the title Update to 1.0.0 backend Update to 1.0 backend Nov 26, 2024
@MilesCranmer MilesCranmer merged commit ce07dc8 into master Nov 30, 2024
30 checks passed
@MilesCranmer MilesCranmer deleted the release-v1-beta branch November 30, 2024 23:15
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