Skip to content

Conversation

@izzet
Copy link
Collaborator

@izzet izzet commented Sep 2, 2025

No description provided.

izzet and others added 12 commits July 10, 2025 13:54
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Added InputConfig and FileInputConfig classes for handling file inputs.
- Introduced ZMQInputConfig for ZMQ address configuration.
- Refactored output configurations to inherit from FileOutput.
- Added ZMQOutput class for handling streaming outputs to ZMQ addresses.
- Updated the DarshanAnalyzer to use new input handling methods.
- Enhanced DFTracerAnalyzer to support reading from ZMQ streams.
- Added utility functions for handling pandas DataFrames and streaming.
- Introduced new constants for file and host hashes.
- Updated meson.build to include new utility files for pandas and streaming.
@izzet izzet self-assigned this Sep 2, 2025
@izzet izzet added the enhancement New feature or request label Sep 2, 2025
- Updated CI configuration to include 'streaming' in pip install dependencies.
- Refactored DFAnalyzer to remove unused imports and improve code clarity.
- Enhanced the epoch_window_via_dict class in streaming.py to better handle epoch events and added logging for error handling.
- Added new tests for epoch window functionality, ensuring proper buffering and emission of events based on epoch.start and epoch.end signals.
- Created new end-to-end tests for ZMQ analysis pipeline, validating the integration of streaming with the analyzer.
- Removed outdated test_streaming.py and consolidated tests into more relevant files.
- Added a tar.gz file containing real trace data for testing purposes.
@codecov-commenter
Copy link

codecov-commenter commented Sep 3, 2025

Codecov Report

❌ Patch coverage is 81.33971% with 117 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.87%. Comparing base (d76b03d) to head (6ea2807).

Files with missing lines Patch % Lines
dfanalyzer/dftracer.py 64.10% 42 Missing ⚠️
dfanalyzer/__main__.py 0.00% 24 Missing ⚠️
dfanalyzer/analyzer.py 86.95% 24 Missing ⚠️
dfanalyzer/utils/streaming.py 80.82% 14 Missing ⚠️
dfanalyzer/output.py 57.14% 6 Missing ⚠️
dfanalyzer/analysis_utils.py 63.63% 4 Missing ⚠️
dfanalyzer/darshan.py 75.00% 2 Missing ⚠️
dfanalyzer/metrics.py 99.22% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #29       +/-   ##
===========================================
+ Coverage   57.48%   70.87%   +13.39%     
===========================================
  Files          26       27        +1     
  Lines        2164     2414      +250     
===========================================
+ Hits         1244     1711      +467     
+ Misses        920      703      -217     

☔ 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.

izzet added 11 commits September 3, 2025 19:56
- Updated `test_analyzer_dftracer_read_zmq` to use `dftracer_ai_logging_posix_events` instead of `epoch_posix_events`.
- Modified `_test_e2e` in `test_e2e.py` to conditionally add `analyzer.assign_epochs=True` based on the analyzer and preset.
- Changed `test_e2e_zmq` to utilize `dftracer_ai_logging_posix_events` for event data.
- Introduced a new test file `test_metrics.py` with comprehensive tests for `set_main_metrics`, `set_view_metrics`, and `set_cross_layer_metrics` functions, ensuring proper handling of edge cases and metrics calculations.
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.

3 participants