Skip to content

[Docs] Fix CLI examples and README inaccuracies#404

Open
huguesva wants to merge 2 commits intogalilai-group:mainfrom
huguesva:fix-cli-docs
Open

[Docs] Fix CLI examples and README inaccuracies#404
huguesva wants to merge 2 commits intogalilai-group:mainfrom
huguesva:fix-cli-docs

Conversation

@huguesva
Copy link
Copy Markdown
Collaborator

@huguesva huguesva commented Mar 23, 2026

Summary

  • Fix spt CLI examples to use spt run subcommand (required by Typer)
  • Fix OnlineProbe parameter name: loss_fnloss to match actual API
  • Fix OnlineKNN quick example: add required metrics parameter
  • Remove references to nonexistent optional dependency groups (vision, tracking, cluster, etc.) — only dev exists in pyproject.toml

Test plan

  • Verified spt --help shows run as required subcommand
  • Verified OnlineProbe.__init__ signature uses loss parameter
  • Verified OnlineKNN.__init__ requires metrics as non-optional
  • Verified only dev group exists in [project.optional-dependencies]

The README showed 'spt config.yaml' but the CLI requires
'spt run config.yaml' since 'run' is a Typer subcommand.
- OnlineProbe: rename `loss_fn` to `loss` to match actual API
- OnlineKNN: add required `metrics` param to quick example
- Installation: remove references to nonexistent optional dependency
  groups (vision, tracking, cluster, etc.) — only `dev` exists
@huguesva huguesva changed the title [Docs] Fix spt CLI examples to use 'spt run' [Docs] Fix CLI examples and README inaccuracies Mar 23, 2026
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