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

source-academy / py-slang / 30791743260
86%

Build:
DEFAULT BRANCH: main
Ran 03 Aug 2026 07:13AM UTC
Jobs 1
Files 137
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

03 Aug 2026 06:54AM UTC coverage: 86.047%. Remained the same
30791743260

push

github

web-flow
Add regression test for CodeRabbit's ModuleFunction/Opaque substitution concern (#387)

CodeRabbit flagged that substitute()'s generic mapChildren/clone() walk
might corrupt ModuleFunction.closure / Opaque.handle during AST
substitution, since neither field is special-cased as an opaque leaf.

Verified this is a false positive: mapValue only recurses into a field
whose own `.type` is a string (DataType.CLOSURE/OPAQUE are numbers, so
already skipped); clone() does deep-copy the wrapper object, but
ClosureIdentifier/OpaqueIdentifier are `Identifier & {...}` and
conductor's own types define Identifier = number, so the brand is
compile-time only and GenericDataHandler's lookups key off that
primitive number, not object identity — a cloned wrapper still
resolves correctly.

Extended the opaque round-trip test to bind the value to a variable
first (forcing it through substitute's clone(), not just nested
directly as a call argument, which bypasses substitute entirely via
plain object-spread rebuilding) to pin this down as a real regression
guard rather than just an assertion in a review reply.


Claude-Session: https://claude.ai/code/session_017w4FqCep4j8XyFpF4kpVue

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

4657 of 5835 branches covered (79.81%)

Branch coverage included in aggregate %.

10378 of 11638 relevant lines covered (89.17%)

167114.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30791743260.1 03 Aug 2026 07:13AM UTC 137
86.05
GitHub Action Run
Source Files on build 30791743260
  • Tree
  • List 137
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30791743260
  • 89d88f2a on github
  • Prev Build on main (#30790277143)
  • Next Build on main (#30794326607)
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