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

TUM-Aries-Lab / hip-controller / 34612673293
86%

Build:
DEFAULT BRANCH: main
Ran 11 Sep 2026 02:53PM UTC
Jobs 1
Files 30
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

11 Sep 2026 02:51PM UTC coverage: 83.739% (-0.003%) from 83.742%
34612673293

push

github

NGierden
Stop the plotter package forcing Qt on headless imports

CI failed at collection on all three Python versions: importing
hip_controller.plotter.csv_player pulled in PyQt6 via the package __init__,
and PyQt6 cannot load on a headless runner (no libGL). csv_player.py is pure
pandas and needs no GUI toolkit at all, and the two helpers under test in
csv_inspector_test.py are likewise pure pandas/numpy -- they were only
unreachable because csv_inspector.py defines Qt widget subclasses at module
level.

Two changes:

- plotter/__init__.py resolves `plot` through a PEP 562 __getattr__ instead
  of importing csv_inspector eagerly, so the data-only modules no longer
  depend on Qt. A TYPE_CHECKING import keeps `plot` visible to pyright.
- discover_plottable_columns and synthesize_time_vector move to a new,
  Qt-free plotter/column_utils.py, re-exported from csv_inspector for any
  existing callers. The test imports the new module.

Verified by running the whole suite with PyQt6, pyqtgraph and PySide6 forced
to raise on import: 124 passed, coverage 82.75%.

This also removes the reason for the --ignore workaround on the merge branch
(commits ea3768e / 5474d96), which skipped both test files in CI. An earlier
attempt there used a module-level pytest.mark.skipif, but it sat below the
failing import, so collection still errored.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

1102 of 1316 relevant lines covered (83.74%)

0.84 hits per line

Coverage Regressions

Lines Coverage ∆ File
35
0.0
0.0% hip_controller/__main__.py
18
77.78
35.35% hip_controller/control/signal_processing/sensor_preprocessor.py
9
90.22
13.95% hip_controller/control/motor_reference_control/amplitude_modulation.py
9
80.43
-0.33% hip_controller/control/signal_processing/filtering.py
7
95.85
-0.64% hip_controller/definitions.py
6
90.91
13.49% hip_controller/control/app.py
5
38.89
-7.78% hip_controller/__init__.py
3
94.34
-0.4% hip_controller/plotter/csv_player.py
1
98.04
14.71% hip_controller/control/motor_reference_control/motor_reference_controller.py
Jobs
ID Job ID Ran Files Coverage
1 34612673293.1 11 Sep 2026 02:53PM UTC 30
83.74
GitHub Action Run
Source Files on build 34612673293
  • Tree
  • List 30
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34612673293
  • 70d9a431 on github
  • Prev Build on main (#25805757860)
  • Next Build on main (#34614829761)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc