Skip to content

docs: add contract docstrings for exported API names (#60) - #211

Merged
kstonekuan merged 2 commits into
Hebbian-Robotics:mainfrom
NiranjanKumar001:docs/issue-60-docstrings
Aug 27, 2026
Merged

docs: add contract docstrings for exported API names (#60)#211
kstonekuan merged 2 commits into
Hebbian-Robotics:mainfrom
NiranjanKumar001:docs/issue-60-docstrings

Conversation

@NiranjanKumar001

Copy link
Copy Markdown
Contributor

Fixes #60

@github-actions

Copy link
Copy Markdown

👋 Hi @NiranjanKumar001 — thank you so much for your first contribution to HFlow!

A maintainer will review your pull request as soon as possible. In the meantime:

💡 Tip: one open pull request per contributor at a time. Issues with an assignee are taken; everything else is fair game.

We are excited to have you here and appreciate your help making the project better! 🙌

@NiranjanKumar001
NiranjanKumar001 marked this pull request as ready for review August 27, 2026 20:00
CurationReport named a dry_run parameter that curate() does not have; the
condition is output=None. TestReport.quarantined attributed the tag to a
critical check verdict, which misses the carried case: a run that skips the
meta stage reads the episode's cataloged quarantine and extends the same
list (app.py:2043).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@kstonekuan kstonekuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Merging. Every name #60 listed is covered, and the contracts say what the code does.

Validated on Linux: ruff check, ruff format --check, ty check, 1102 passed, 6 skipped.

Two fixups pushed to your branch (2c41d6c), both accuracy rather than style:

  • CurationReport said the manifest is None "when curate() ran with dry_run=True". There is no dry_run parameter. The condition is output=None (curation.py:537), which still runs the query and reports row count and coverage.
  • TestReport.quarantined said a critical check verdict marks the run. That is one of two sources. When a run skips the meta stage it reads the episode's cataloged quarantine and extends the same list (app.py:2038-2043), so a media-only run can report quarantined with no check verdict in it at all. Worth knowing because that is the case the property exists to catch.

One thing from the issue you correctly did not do: InstrumentParseError is listed there but no longer exists, since the ffmpeg instrument module was refactored after the issue was filed. Nothing missing.

If you want another, the open list is here: https://github.com/Hebbian-Robotics/hflow/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22

@kstonekuan
kstonekuan merged commit 652175d into Hebbian-Robotics:main Aug 27, 2026
2 of 3 checks passed
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.

Docs: docstrings for the last undocumented exported names (outside doctor.py)

2 participants