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

yzhao062 / pyod / 23973126519
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: development
DEFAULT BRANCH: master
Ran 04 Apr 2026 06:44AM UTC
Jobs 11
Files 117
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

04 Apr 2026 06:22AM UTC coverage: 95.01% (+1.1%) from 93.926%
23973126519

push

github

yzhao062
Fix AutoModelSelector: import guards, name mismatches, registry, tests (#625)

- Guard openai import with _check_openai_dependency() that verifies
  the OpenAI client class is importable up front
- Make python-dotenv optional: only load .env when no explicit api_key
  is provided
- Fix model name mismatches: JSON stems (MO-GAAL, SO-GAAL, Deep SVDD)
  now normalized to registry keys (MO_GAAL, SO_GAAL, DeepSVDD) via
  _NAME_NORMALIZATION dict
- Replace 11-branch if/elif chain in get_top_clf() with _MODEL_REGISTRY
  dict mapping names to (module_path, class_name, kwargs)
- Check OPENAI_API_KEY env var first (standard), fall back to API_KEY
- Fix typo "weekness" -> "weaknesses" in GPT prompt
- Replace Chinese comment with English
- Add 10 tests: JSON loading, name normalization, registry resolution,
  mocked end-to-end pipeline, and dependency error path

96 of 109 new or added lines in 2 files covered. (88.07%)

2 existing lines in 1 file now uncovered.

10968 of 11544 relevant lines covered (95.01%)

10.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
91.25
pyod/test/test_auto_model_selector.py
6
82.86
82.86% pyod/utils/auto_model_selector.py

Coverage Regressions

Lines Coverage ∆ File
2
82.86
82.86% pyod/utils/auto_model_selector.py
Jobs
ID Job ID Ran Files Coverage
1 23973126519.1 04 Apr 2026 06:44AM UTC 117
95.01
GitHub Action Run
2 23973126519.2 04 Apr 2026 06:44AM UTC 117
95.01
GitHub Action Run
3 23973126519.3 04 Apr 2026 06:44AM UTC 117
95.0
GitHub Action Run
4 23973126519.4 04 Apr 2026 06:46AM UTC 117
95.01
GitHub Action Run
5 23973126519.5 04 Apr 2026 06:49AM UTC 117
95.01
GitHub Action Run
6 23973126519.6 04 Apr 2026 06:50AM UTC 117
95.01
GitHub Action Run
7 23973126519.7 04 Apr 2026 06:52AM UTC 117
95.0
GitHub Action Run
8 23973126519.8 04 Apr 2026 06:52AM UTC 117
95.01
GitHub Action Run
9 23973126519.9 04 Apr 2026 06:57AM UTC 117
95.01
GitHub Action Run
10 23973126519.10 04 Apr 2026 06:58AM UTC 117
95.01
GitHub Action Run
11 23973126519.11 04 Apr 2026 05:20PM UTC 117
95.0
GitHub Action Run
Source Files on build 23973126519
  • Tree
  • List 117
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e0ad5cd2 on github
  • Prev Build on development (#23972073553)
  • Next Build on development (#23984779282)
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