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

F3/generate variable paths #147

Merged
merged 134 commits into from
Aug 9, 2024
Merged

F3/generate variable paths #147

merged 134 commits into from
Aug 9, 2024

Conversation

calbaker
Copy link
Collaborator

@calbaker calbaker commented Jul 29, 2024

replaces #136 with more descriptive branch name

solves #345

TODO

  • change tack to use a dict rather than dir() for traversing the hierarchy
  • remove test_variable_paths
  • add an assert to check that the variable_path_list output in demo_variable_paths.py matches the expected result stored in test assets
  • add an assert to check the shape of the sd.to_dataframe() or maybe even load the dataframe from file to compare
  • with_capacity might eek out some better speedup for the Some(<some int>) case and the None case because it'd be pre-allocating a reasonable size or not pre-allocating at all, respectively -- no obvious speedup
    - [ ] see if speed ratio can be bumped back up to 8 and 3

kylecarow and others added 30 commits May 14, 2024 16:20
# Conflicts:
#	fastsim-core/Cargo.toml
added polars as dependency
@calbaker
Copy link
Collaborator Author

calbaker commented Aug 8, 2024

@robinsteuteville , please check if this does what you'd expect

import unittest
import fastsim as fsim

class TestParamPath(unittest.TestCase):
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robinsteuteville , please check if this test is doing what you'd expect.

@calbaker calbaker mentioned this pull request Aug 8, 2024
1 task
@calbaker calbaker merged commit 9cf3594 into fastsim-3 Aug 9, 2024
3 checks passed
@calbaker calbaker deleted the f3/generate-variable-paths branch August 9, 2024 21:12
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.

3 participants