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

robertdstein / snipergw
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: versionbump
DEFAULT BRANCH: main
Repo Added 17 Apr 2023 11:45PM UTC
Token HSPjR0tEyBijL7FSdpkJnO5DOLUNk04Jz regen
Build 208 Last
Files 9
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

LAST BUILD ON BRANCH test/increase-coverage
branch: test/increase-coverage
CHANGE BRANCH
x
Reset
Sync Branches
  • test/increase-coverage
  • ci
  • dependabot/pip/astropy-5.3
  • dependabot/pip/astropy-5.3.1
  • dependabot/pip/astropy-5.3.2
  • dependabot/pip/astropy-5.3.3
  • dependabot/pip/astropy-5.3.4
  • dependabot/pip/black-23.10.0
  • dependabot/pip/black-23.10.1
  • dependabot/pip/black-23.7.0
  • dependabot/pip/black-23.9.1
  • dependabot/pip/black-24.10.0
  • dependabot/pip/black-24.8.0
  • dependabot/pip/ligo-gracedb-2.11.0
  • dependabot/pip/ligo-gracedb-2.12.0
  • dependabot/pip/lxml-4.9.3
  • dependabot/pip/numpy-1.24.3
  • dependabot/pip/numpy-1.25.0
  • dependabot/pip/numpy-1.25.1
  • dependabot/pip/numpy-1.25.2
  • dependabot/pip/numpy-1.26.0
  • dependabot/pip/numpy-1.26.1
  • dependabot/pip/pandas-2.0.2
  • dependabot/pip/pandas-2.0.3
  • dependabot/pip/pandas-2.1.0
  • dependabot/pip/pandas-2.1.1
  • dependabot/pip/pandas-2.1.2
  • dependabot/pip/planobs-0.7.2
  • dependabot/pip/planobs-0.7.3
  • dependabot/pip/pre-commit-3.3.1
  • dependabot/pip/pre-commit-3.3.2
  • dependabot/pip/pre-commit-3.3.3
  • dependabot/pip/pre-commit-3.4.0
  • dependabot/pip/pre-commit-3.5.0
  • dependabot/pip/pydantic-1.10.8
  • dependabot/pip/pydantic-1.10.9
  • dependabot/pip/pylint-3.2.3
  • dependabot/pip/pylint-3.2.4
  • dependabot/pip/pylint-3.2.5
  • dependabot/pip/pylint-3.2.6
  • dependabot/pip/pylint-3.2.7
  • dependabot/pip/pylint-3.3.0
  • dependabot/pip/pylint-3.3.1
  • dependabot/pip/pylint-3.3.2
  • dependabot/pip/requests-2.29.0
  • dependabot/pip/requests-2.30.0
  • dependabot/pip/requests-2.31.0
  • dependabot/pip/winterapi-0.2.0
  • docs
  • fix/dedupe-coverage-probability
  • fix/pin-matplotlib
  • fix/ztfpass-bearer-auth
  • fixbug
  • fixci
  • hotfix
  • json
  • main
  • move-args
  • opt_movie
  • paths
  • shallow
  • v0.2.0
  • v1.0.0
  • versionbump
  • winter

14 Sep 2026 11:21PM UTC coverage: 97.727% (+52.1%) from 45.609%
34908488152

Pull #99

github

robertdstein
Fix q.queue[0] bug; remove non-functional DECam telescope option

submit_too_ztf's per-queue-entry json dump always wrote q.queue[0]'s
content to every output file, regardless of which entry the file
was named after (a copy/paste leftover from before the loop existed).
Fixed to dump the loop variable. Strengthened the covering test to
use a two-entry queue and assert each file's content individually,
which the previous single-entry test couldn't have caught.

DECam was listed in model.py's all_telescopes, but was never
actually usable: set_default_filter's per-filter validation loop
only special-cases ZTF/WINTER and otherwise always raises, so
PlanConfig(telescope="DECam") failed for every input. Removed it
from all_telescopes, and the now-dead (telescope is never "DECam")
branch in plan.py that skipped --doAlternatingFilters for it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #99: Add unit tests for model, paths, run, skymap, and submit modules

5 of 5 new or added lines in 4 files covered. (100.0%)

344 of 352 relevant lines covered (97.73%)

1.95 hits per line

Relevant lines Covered
Build:
Build:
352 RELEVANT LINES 344 COVERED LINES
1.95 HITS PER LINE
Source Files on test/increase-coverage
  • Tree
  • List 9
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
34908488152 test/increase-coverage Fix q.queue[0] bug; remove non-functional DECam telescope option submit_too_ztf's per-queue-entry json dump always wrote q.queue[0]'s content to every output file, regardless of which entry the file was named after (a copy/paste leftover from bef... Pull #99 14 Sep 2026 11:25PM UTC robertdstein github
97.73
34894629762 test/increase-coverage Construct WinterAPI lazily inside submit_too_winter Replaces the previous fix (tests/__init__.py monkeypatching WinterAPI's network-calling methods before test collection) with a proper fix: winter = WinterAPI() was a module-level singleton, so m... Pull #99 14 Sep 2026 08:46PM UTC robertdstein github
97.73
34894026090 test/increase-coverage Neutralize WinterAPI's network calls during test collection Importing snipergw.submit.winter (pulled in transitively by several test modules, e.g. via snipergw.submit/__init__.py or snipergw.run) constructs a module-level WinterAPI() singleton. I... Pull #99 14 Sep 2026 08:41PM UTC robertdstein github
97.73
34892832452 test/increase-coverage Add type hints and Sphinx-style :param:/:return: docstrings to tests Matches the docstring style already used in production code (e.g. snipergw/plan.py's run_gwemopt), including documenting which mock corresponds to which patched target where dec... Pull #99 14 Sep 2026 08:29PM UTC robertdstein github
97.73
34892836873 test/increase-coverage Merge 1e7c16d9f into bdbd5d088 Pull #99 14 Sep 2026 08:28PM UTC web-flow github
97.73
34891686874 test/increase-coverage Add docstrings to all new test functions Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Pull #99 14 Sep 2026 08:17PM UTC robertdstein github
97.73
34889649160 test/increase-coverage Pin wintertoo>=1.4.0; drop duplicate numpy/matplotlib pins wintertoo<1.4.0 doesn't have the total_exposure_time field that submit_too_winter now uses (see the t_exp fix earlier in this PR), so pin the actual minimum version required, directly, ra... Pull #99 14 Sep 2026 07:57PM UTC robertdstein github
97.73
34888403989 test/increase-coverage Fix broken WinterFieldToO field name in submit_too_winter submit_too_winter passed t_exp=... to WinterFieldToO, but current wintertoo/winterapi releases renamed that field to total_exposure_time and dropped the old alias (extra="forbid"), so ever... Pull #99 14 Sep 2026 07:44PM UTC robertdstein github
97.73
See All Builds (99)

Badge your Repo: snipergw

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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