Skip to content

releasing 1.8.0 - #420

Merged
keighrim merged 5 commits into
mainfrom
develop
Nov 6, 2026
Merged

keighrim merged 5 commits into
mainfrom
develop

Conversation

@keighrim

@keighrim keighrim commented Nov 6, 2026

Copy link
Copy Markdown
Member

Overview

This release adds text and audio document helpers utils package.

Additions

  • audio_document_helper (add audio_document_helper for windowed audio reads #416)
    • mmif.utils.audio_document_helper.iter_audio_windows(): decodes an AudioDocument, or the audio track of a VideoDocument, into fixed-length windows of mono float32 samples with millisecond start and end times.
    • mmif.utils.timeunit_helper.iter_time_windows(): windows over a time interval in integer milliseconds, with a stride for overlapping windows or gaps
    • mmif-python[av] extra: PyAV and NumPy only, for apps that read audio without needing OpenCV or Pillow. mmif-python[cv] now builds on top of av extras
    • PyAV operations are shared with video_document_helper through the new mmif.utils.av_helper (with this, open_container(), get_framerate() and capture() now raise FileNotFoundError instead of ValueError when no document is given)

Changes

@clams-bot clams-bot added this to infra Nov 6, 2026
@github-project-automation github-project-automation Bot moved this to Todo in infra Nov 6, 2026
@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.09544% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.15%. Comparing base (23ef841) to head (97e0b12).
⚠️ Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
mmif/utils/audio_document_helper.py 96.87% 4 Missing ⚠️
mmif/utils/av_helper.py 95.23% 2 Missing ⚠️
mmif/serialize/mmif.py 97.29% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #420      +/-   ##
==========================================
+ Coverage   80.13%   81.15%   +1.01%     
==========================================
  Files          28       30       +2     
  Lines        3630     3815     +185     
==========================================
+ Hits         2909     3096     +187     
+ Misses        721      719       -2     
Flag Coverage Δ
unittests 81.15% <97.09%> (+1.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@keighrim
keighrim merged commit d8219c3 into main Nov 6, 2026
14 of 15 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in infra Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant