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

source-academy / plugins / 45975042492
73%
feat/add-init-infra: 67%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: feat/add-init-infra
Ran 27 Nov 2026 09:37AM UTC
Jobs 1
Files 118
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

27 Nov 2026 09:35AM UTC coverage: 73.093% (-22.0%) from 95.122%
45975042492

push

github

web-flow
environment-diagram: the CSE machine's drawing as a library (slice 1 of #194) (#217)

* environment-diagram: the CSE machine's drawing as a library

Lifted from the frontend's src/features/cseMachine with its tests (120 pass). Not a plugin: private,
no manifest, no directory entry; web plugins that draw an environment inline it. The protocol types
come from common-cse-machine, the drag cursor is set in code instead of a SCSS module, and three
lint rules are off for this package until the code is tightened. The tests need jsdom and canvas at
the root, so the root package.json has them (canvas allowed to build through dependenciesMeta).

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

* environment-diagram: an array keeps its objectId, as a list does

The array branch of the adapter dropped the evaluator's objectId, so hovering and the plugin's
arrows, which find a heap object by data.objectId, did nothing for arrays. It was so in the
frontend's copy too.

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

---------

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

2251 of 3181 branches covered (70.76%)

Branch coverage included in aggregate %.

2370 of 3645 new or added lines in 65 files covered. (65.02%)

3842 of 5155 relevant lines covered (74.53%)

189.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
127
67.57
src/web/environment-diagram/src/CseMachineLayout.tsx
83
75.86
src/web/environment-diagram/src/CseMachineUtils.ts
80
35.93
src/web/environment-diagram/src/CseMachineAnimation.tsx
77
60.96
src/web/environment-diagram/src/components/arrows/GenericArrow.tsx
63
0.0
src/web/environment-diagram/src/components/values/ContValue.tsx
56
0.0
src/web/environment-diagram/src/animationComponents/FrameCreationAnimation.tsx
50
59.28
src/web/environment-diagram/src/components/values/FnValue.tsx
49
0.0
src/web/environment-diagram/src/animationComponents/ArrayAssignmentAnimation.tsx
48
53.48
src/web/environment-diagram/src/components/values/GlobalFnValue.tsx
46
0.0
src/web/environment-diagram/src/animationComponents/FunctionApplicationAnimation.tsx
39
3.08
src/web/environment-diagram/src/utils/astToString.ts
37
0.0
src/web/environment-diagram/src/animationComponents/ArrayAccessAnimation.tsx
36
0.0
src/web/environment-diagram/src/animationComponents/ArraySpreadAnimation.tsx
35
0.0
src/web/environment-diagram/src/animationComponents/InstructionApplicationAnimation.tsx
31
82.38
src/web/environment-diagram/src/CseSnapshotAdapter.ts
24
0.0
src/web/environment-diagram/src/animationComponents/BinaryOperationAnimation.tsx
23
0.0
src/web/environment-diagram/src/animationComponents/LookupAnimation.tsx
21
84.15
src/web/environment-diagram/src/CseEnvironmentView.tsx
21
0.0
src/web/environment-diagram/src/animationComponents/base/AnimatedGenericArrow.tsx
21
31.67
src/web/environment-diagram/src/animationComponents/base/AnimationUtils.ts
20
0.0
src/web/environment-diagram/src/animationComponents/UnaryOperationAnimation.tsx
19
12.9
src/web/environment-diagram/src/animationComponents/ControlToStashAnimation.tsx
19
0.0
src/web/environment-diagram/src/animationComponents/EnvironmentAnimation.tsx
19
56.14
src/web/environment-diagram/src/components/ControlItemComponent.tsx
17
0.0
src/web/environment-diagram/src/animationComponents/PopAnimation.tsx
17
85.53
src/web/environment-diagram/src/animationComponents/base/AnimationComponents.tsx
17
54.84
src/web/environment-diagram/src/components/StashItemComponent.tsx
16
24.14
src/web/environment-diagram/src/animationComponents/ControlExpansionAnimation.tsx
14
83.64
src/web/environment-diagram/src/CseMachine.tsx
14
0.0
src/web/environment-diagram/src/components/shapes/RoundedRect.tsx
13
0.0
src/web/environment-diagram/src/animationComponents/BranchAnimation.tsx
11
61.22
src/web/environment-diagram/src/CseRenderTypes.ts
11
75.32
src/web/environment-diagram/src/components/Text.tsx
11
79.37
src/web/environment-diagram/src/components/arrows/ArrowFromText.tsx
11
85.44
src/web/environment-diagram/src/components/values/ArrayValue.tsx
10
72.34
src/web/environment-diagram/src/components/ControlStack.tsx
10
37.93
src/web/environment-diagram/src/components/Visible.tsx
9
52.27
src/web/environment-diagram/src/animationComponents/AssignmentAnimation.tsx
9
91.47
src/web/environment-diagram/src/components/Frame.tsx
8
71.88
src/web/environment-diagram/src/components/ArrayUnit.tsx
7
76.47
src/web/environment-diagram/src/components/arrows/ArrowFromFnTooltip.tsx
7
77.11
src/web/environment-diagram/src/components/values/PrimitiveValue.tsx
3
77.42
src/web/environment-diagram/src/animationComponents/base/AnimatedTextbox.tsx
3
88.5
src/web/environment-diagram/src/components/arrows/ArrowFromArrayUnit.tsx
3
77.78
src/web/environment-diagram/src/components/arrows/ArrowFromStashItemComponent.tsx
2
77.78
src/web/environment-diagram/src/components/arrows/ArrowSelection.ts
2
80.95
src/web/environment-diagram/src/components/values/UnassignedValue.tsx
1
82.61
src/web/environment-diagram/src/components/ArrayEmptyUnit.tsx
1
96.88
src/web/environment-diagram/src/components/Level.tsx
1
84.0
src/web/environment-diagram/src/components/arrows/ArrowFromControlItemComponent.tsx
1
88.37
src/web/environment-diagram/src/components/arrows/ArrowFromFn.tsx
1
87.18
src/web/environment-diagram/src/components/arrows/ArrowFromFrame.tsx
1
60.0
src/web/environment-diagram/src/components/values/Value.tsx
Jobs
ID Job ID Ran Files Coverage
1 45975042492.1 27 Nov 2026 09:37AM UTC 118
73.09
GitHub Action Run
Source Files on build 45975042492
  • Tree
  • List 118
  • 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 #45975042492
  • 92bdbff0 on github
  • Prev Build on main (#45952757761)
  • Next Build on main (#45977333902)
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