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

source-academy / py-slang / 28741655851
78%

Build:
DEFAULT BRANCH: main
Ran 05 Jul 2026 01:05PM 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

05 Jul 2026 01:01PM UTC coverage: 78.683% (-0.004%) from 78.687%
28741655851

push

github

web-flow
fix(stepper): substitute a binding into the rest of the block on its own step (#201)

* fix(stepper): substitute a binding into the rest of the block on its own step

A name binding (`x = 5`, or a `def`) substituted its value into the rest of
the block one step *after* the "Declared and substituted ... into the rest of
the block" step that claims to have already done so — the after (green) step
showed the declaration lingering (correctly, matching `pass`'s green flash)
but the rest of the tree still showed the old, unsubstituted reference, only
updating on the following, unrelated step.

This was inconsistent with function calls, where an argument substitution is
already visible on its own "Substituted ... into ... of ..." step
(`contractCall`), not the next one.

`stepHead`'s `VariableDeclaration`/`FunctionDeclaration` cases now substitute
the bound value into `rest` once and reuse that same substituted list for both
`newBody` (the next contraction's tree) and `postNewBody` (this step's own
after-tree), so the substitution is visible from the "Declared and
substituted" step itself. The declaration site still lingers, highlighted
green, for exactly one more step before disappearing — only the timing of the
substitution's visible effect on the rest of the program moves earlier.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Update src/conductor/stepper/reduce.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: Shrey Jain <“shreyjain5132@email.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

2532 of 3485 branches covered (72.65%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

6002 of 7361 relevant lines covered (81.54%)

13755.47 hits per line

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