Skip to content

docs(examples): fix outdated CLI flag names in heatmap_and_track README#2266

Merged
Borda merged 1 commit into
roboflow:developfrom
madhavcodez:fix/heatmap-track-readme-cli-flag-names
May 22, 2026
Merged

docs(examples): fix outdated CLI flag names in heatmap_and_track README#2266
Borda merged 1 commit into
roboflow:developfrom
madhavcodez:fix/heatmap-track-readme-cli-flag-names

Conversation

@madhavcodez
Copy link
Copy Markdown
Contributor

What

The examples/heatmap_and_track/README.md listed two CLI flags that don't exist on the actual script:

README claimed Actual flag from script.py
--track_threshold --track_activation_threshold
--match_threshold --minimum_matching_threshold

The CLI surface is generated from the main() signature by jsonargparse.auto_cli (script.py:120-123), so the function parameter names (track_activation_threshold, minimum_matching_threshold) are the actual accepted flags. Following the README as written produced "unknown argument" errors.

Change

Two-line rename in the "script arguments" section to match the real flag names.

Scope

Documentation-only. No code changes, no behavior change.

@madhavcodez madhavcodez requested a review from SkalskiP as a code owner May 22, 2026 05:07
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 22, 2026

CLA assistant check
All committers have signed the CLA.

The README listed `--track_threshold` and `--match_threshold`, but
script.py exposes `--track_activation_threshold` and
`--minimum_matching_threshold` (the CLI surface is derived from the
main() signature by jsonargparse.auto_cli). Following the README as
written produced "unknown argument" errors.

Aligns the README with the actual CLI surface.
@Borda Borda changed the title docs(examples): fix outdated CLI flag names in heatmap_and_track README docs(examples): fix outdated CLI flag names in heatmap_and_track README May 22, 2026
@Borda Borda requested a review from Copilot May 22, 2026 17:58
@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78%. Comparing base (e7376d5) to head (bd77961).
⚠️ Report is 5 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #2266   +/-   ##
=======================================
  Coverage       78%     78%           
=======================================
  Files           66      66           
  Lines         8374    8374           
=======================================
  Hits          6501    6501           
  Misses        1873    1873           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the examples/heatmap_and_track README so its documented CLI flags match the actual flags generated from script.py’s main() signature via jsonargparse.auto_cli, preventing “unknown argument” errors when following the example.

Changes:

  • Renamed --track_threshold--track_activation_threshold in the README.
  • Renamed --match_threshold--minimum_matching_threshold in the README.

@Borda Borda merged commit 4b856f1 into roboflow:develop May 22, 2026
29 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.

4 participants