Skip to content

Generic hf properties #355

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Generic hf properties #355

wants to merge 6 commits into from

Conversation

jonasvdd
Copy link
Member

@jonasvdd jonasvdd commented Aug 20, 2025

Aims to provide a more generic interface for passing hf_props

Related #354

  • Added support for new downsamplable properties: marker_symbol and hf_marker_symbol.

  • Refactored the handling of high-frequency properties to be more dynamic and extensible.

  • Updated the _hf_data_container to include new properties and adjusted parsing logic accordingly.

  • Introduced tests to validate the functionality of dynamic properties and their priority over trace attributes.

  • updated ruff to improve and homogenize linting experience in CI-CD

- Added support for new downsamplable properties: `marker_symbol` and `hf_marker_symbol`.
- Refactored the handling of high-frequency properties to be more dynamic and extensible.
- Updated the `_hf_data_container` to include new properties and adjusted parsing logic accordingly.
- Introduced tests to validate the functionality of dynamic properties and their priority over trace attributes.
@codecov-commenter
Copy link

codecov-commenter commented Aug 20, 2025

Codecov Report

❌ Patch coverage is 60.00000% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.11%. Comparing base (560e6b9) to head (d73d6d6).

Files with missing lines Patch % Lines
...ler/figure_resampler/figure_resampler_interface.py 60.00% 22 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #355      +/-   ##
==========================================
+ Coverage   83.83%   88.11%   +4.28%     
==========================================
  Files          13       14       +1     
  Lines        1206     1245      +39     
==========================================
+ Hits         1011     1097      +86     
+ Misses        195      148      -47     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jonasvdd
Copy link
Member Author

jonasvdd commented Aug 21, 2025

I'll extend the code and tests as well to fix #320

@jonasvdd
Copy link
Member Author

Ready for review @jvdd!

@jonasvdd jonasvdd requested a review from jvdd August 22, 2025 09:17
@jonasvdd jonasvdd added the enhancement New feature or request label Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants