Skip to content

docs: name the metric args the docstrings describe - #4453

Open
darkdi wants to merge 1 commit into
Unstructured-IO:mainfrom
darkdi:docs-metric-arg-names
Open

docs: name the metric args the docstrings describe#4453
darkdi wants to merge 1 commit into
Unstructured-IO:mainfrom
darkdi:docs-metric-arg-names

Conversation

@darkdi

@darkdi darkdi commented Aug 23, 2026

Copy link
Copy Markdown

get_mean_grouping is public and takes export_filename, but the docstring calls it export_name in both the Args block and the line above it, so anyone following the docs passes a kwarg that does not exist. The other one is in _change_bbox_bounds_for_image_size, which came over from super-gradients: the arg was renamed to boxes on the way in and the docstring kept bboxes.

No CHANGELOG entry or version bump, since this does not touch core code. Say the word if you want one anyway.

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 2 files

Shadow auto-approve: would not auto-approve. Auto-approval skipped because this PR is from an external contributor.

Re-trigger cubic

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