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

source-academy / frontend / 21937474559
41%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2026 07:31AM UTC
Jobs 1
Files 451
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

12 Feb 2026 07:28AM UTC coverage: 40.912% (+0.7%) from 40.236%
21937474559

push

github

web-flow
CSE Machine Liveness (#3570)

* WEEK - 3

	1. Added a set of strings to CSELayout to have only those env IDs which are supposed to be live.
	2. Adding a live defn in SetContext of CSELayout
	3. Edited the draw() method in Frame()
		added another import statement for the FADED thing from 'Utils -> Config'
	4. Adding methods for REAL liveness analysis in CseMachineUtils.ts
	5. Edited the Binding() class and added an isLive() flag JUST like Frame for finding out if its live or not

ToDO
	Make arrows and text other bindings also yellow (dead) somehow and UNDERSTAND how garbage collection is working!!
	Whats that error huh?

* Updated GenericArrow for Liveness

- Updated such that GenericArrows pointing FROM a Frame will check if the source Frame is live/dead, and change colours accordingly. Usually applies to ArrowFromFrame.

- Need to fix: arrows pointing from function objects and arrays also count as pointing from Frames? And all arrows pointing from function objects and arrays turn yellow (even from alive func objects and arrays).

* WEEK 4

This commit made the following changes
1. The function values now FADE as required (along with the hoverable text)
2. Added a instance variable called isLive for GenericArrow that's by default false
	Every subclass of GenericArrow including all the ArrowFromXXXXXX files now override the constructor with their own updates to
	isLive since here the source of the arrow is clear as dictated by the foundation class in the main Arrow.tsx file

	In the GenericArrow.draw() method which is NEVER overridden, we draw based on the isLive attribute
3. Unpacked the MIRACLE : It was heap reachability and isReferenced() func in action
4. Added a function to ArrayValue that tells us if its live or not using isReferenced and enclosingFrame
5. All arrows that have functions/arrays/pairs/ContValues/Frames as sources are live/dead based on the source's live/dead status now
6. All arrayUnits and arrayValues now fade based on whether an ... (continued)

2123 of 6124 branches covered (34.67%)

Branch coverage included in aggregate %.

141 of 146 new or added lines in 22 files covered. (96.58%)

8 existing lines in 2 files now uncovered.

5242 of 11878 relevant lines covered (44.13%)

28.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
6.94
-0.1% src/pages/sicp/subcomponents/chatbot/ChatBox.tsx
4
1.64
-0.12% src/features/cseMachine/components/values/ContValue.tsx

Uncovered Existing Lines

Lines Coverage ∆ File
1
1.64
-0.12% src/features/cseMachine/components/values/ContValue.tsx
7
14.76
-1.78% src/commons/navigationBar/subcomponents/SicpNavigationBar.tsx
Jobs
ID Job ID Ran Files Coverage
1 21937474559.1 12 Feb 2026 07:31AM UTC 451
40.91
GitHub Action Run
Source Files on build 21937474559
  • Tree
  • List 451
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 35fd4244 on github
  • Prev Build on master (#21825858297)
  • Next Build on master (#21955350519)
  • Delete
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