Skip to content

feat: implement DASH output parser with structured JSON and unit tests#145

Open
Famous077 wants to merge 1 commit intom-lab:mainfrom
Famous077:fix/dash-output-parser
Open

feat: implement DASH output parser with structured JSON and unit tests#145
Famous077 wants to merge 1 commit intom-lab:mainfrom
Famous077:fix/dash-output-parser

Conversation

@Famous077
Copy link

@Famous077 Famous077 commented Mar 3, 2026

Summary:

Resolves the TODO in dash.py — replaces raw last-line output with structured JSON, consistent with ndt7 and ndt5 runners.
Issue number : #138

Changes:

  • dash.py: Parses dash-client -format=json output per segment, computes avg download speed, latency, bytes received, and handles errors gracefully with null fields
  • tests/test_dash.py: 4 new tests covering success, failure, missing binary, and empty output

Testing

4 passed in 0.11s


This change is Reviewable

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.

1 participant