Skip to content

Conversation

@mj023
Copy link
Collaborator

@mj023 mj023 commented Apr 9, 2025

What problem do you want to solve?

join_numpy is not jit compatible, I replaced it with a generic join function that uses either Jax or Numpy depending on the Flag in config.py. The Input Checks are now resposibility of the user of the function. If there are duplicate Private Keys the first encountered value will be used. If a foreign key is missing the user-supplied default value will be used.

Todo

  • Write join thet supports both Jax and Numpy
  • Add test

@mj023 mj023 changed the base branch from collect-components-of-namespaces to agg-decorator April 15, 2025 10:31
@mj023 mj023 requested a review from hmgaudecker April 15, 2025 15:37
Copy link
Collaborator

@hmgaudecker hmgaudecker left a comment

Choose a reason for hiding this comment

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

Excellent, thank you!!!

@hmgaudecker hmgaudecker merged commit ff8187e into agg-decorator Apr 17, 2025
5 of 7 checks passed
@hmgaudecker hmgaudecker deleted the join_jax branch April 17, 2025 04:57
@codecov
Copy link

codecov bot commented Apr 17, 2025

Codecov Report

Attention: Patch coverage is 86.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 83.08%. Comparing base (af0cda6) to head (66ba24e).

Files with missing lines Patch % Lines
src/ttsim/shared.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           agg-decorator     #863      +/-   ##
=================================================
- Coverage          83.12%   83.08%   -0.05%     
=================================================
  Files                145      145              
  Lines               5725     5710      -15     
=================================================
- Hits                4759     4744      -15     
  Misses               966      966              

☔ View full report in Codecov by Sentry.
📢 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.

@hmgaudecker hmgaudecker mentioned this pull request Apr 22, 2025
13 tasks
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