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

source-academy / py-slang / 28709924213
78%

Build:
DEFAULT BRANCH: main
Ran 04 Jul 2026 03:00PM UTC
Jobs 1
Files 83
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 Jul 2026 02:53PM UTC coverage: 78.687% (+0.04%) from 78.643%
28709924213

push

github

web-flow
fix(stepper): report preprocessing errors identically to the default evaluator (#194)

* fix(stepper): report preprocessing errors identically to the default evaluator

preprocessPython already delegated name resolution to the same analyze()
pass the default (CSE) evaluator runs, but then discarded the analyzer's
own formatted NameNotFoundError message in favor of a simplified
"NameError: name 'x' is not defined" string. Every other analyzer error
already used the real message; only this one case diverged.

Return errors[0].message unconditionally instead, so a preprocessing
error (undefined name, chapter feature-gate, etc.) reads exactly the
same whether the program is run from the Stepper tab or any other
evaluator. Removes NameNotFoundError.varName, which existed solely to
build the now-deleted simplified string and had no other callers.

Updated the existing stepper preprocessing tests to the analyzer's real
message text.

* fix: remove dead ResolverErrors.BreakContinueError

Never constructed anywhere in the codebase — break/continue-outside-a-loop
validation is handled by validator/types.ts instead, which already
predates this class going unused. It was permanently uncovered, and
removing coverage-tested code elsewhere in this same file (the previous
commit) tipped the repo-wide coverage ratio below CI's threshold.
Deleting genuinely dead code fixes that honestly, rather than padding
coverage with a synthetic test for an unreachable path.

---------

Co-authored-by: Shrey Jain <“shreyjain5132@email.com>

2532 of 3485 branches covered (72.65%)

Branch coverage included in aggregate %.

6004 of 7363 relevant lines covered (81.54%)

13749.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28709924213.1 04 Jul 2026 03:00PM UTC 83
78.69
GitHub Action Run
Source Files on build 28709924213
  • Tree
  • List 83
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28709924213
  • 05a9c6f1 on github
  • Prev Build on main (#28702442644)
  • Next Build on main (#28741655851)
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