• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubeflow / mcp-server / 29195227506
41%

Build:
DEFAULT BRANCH: main
Ran 12 Jul 2026 01:54PM UTC
Jobs 3
Files 34
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jul 2026 01:53PM UTC coverage: 41.419% (+0.9%) from 40.501%
29195227506

push

github

web-flow
fix: suggest valid HuggingFace model IDs when the format check fails (#43)

When pre_flight or estimate_resources received a malformed model reference
(an Ollama-style tag like qwen3:8b, or an hf:// prefixed value), the response
was a bare "Invalid HuggingFace model ID format" error with no guidance, so
users and agents retried with similarly wrong IDs.

Add a best-effort _suggest_hf_model_ids helper that normalizes the input
(drops an hf:// prefix and any Ollama-style :tag suffix) and queries
huggingface_hub.list_models for close matches, attaching them as a
"suggestions" list. estimate_resources re-wraps the helper error into a
ToolError, so propagate the suggestions into the error details there too,
which also covers pre_flight (it delegates to estimate_resources). The
lookup degrades to no suggestions when it errors or finds nothing, so
validation never depends on network access. huggingface_hub is already
a dependency.

Covered by unit tests (mocking list_models) at both the helper and the
estimate_resources tool boundary.

Fixes #40

Signed-off-by: Ahmed <ahmed.dlshad.m@gmail.com>

1016 of 2453 relevant lines covered (41.42%)

1.24 hits per line

Coverage Regressions

Lines Coverage ∆ File
140
20.69
10.49% trainer/api/planning.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 29195227506.1 12 Jul 2026 01:54PM UTC 34
41.42
GitHub Action Run
2 python-3.11 - 29195227506.2 12 Jul 2026 01:54PM UTC 34
41.42
GitHub Action Run
3 python-3.12 - 29195227506.3 12 Jul 2026 01:54PM UTC 34
41.42
GitHub Action Run
Source Files on build 29195227506
  • Tree
  • List 34
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29195227506
  • 99edd4ec on github
  • Prev Build on main (#29187740074)
  • Next Build on main (#29195582792)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc