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

source-academy / frontend / 31238729588

08 Aug 2026 04:07AM UTC coverage: 45.139% (-0.03%) from 45.173%
31238729588

push

github

web-flow
Playground: show the Step Limit control for Python, drop the dead Execution Time one (#4260)

The "Step Limit" control (step-count based) was already wired end-to-end
into /__cse_config__ for every Conductor-based language, but its render
gate only covered js-slang's own usingSubst/usingCse/isCseVariant state,
so it silently never appeared for Python chapters even though py-slang's
CSE machine and Stepper both already read that value. Extended the gate
to also cover Conductor languages whose selected sublanguage offers a
stepper or CSE evaluator.

Removed "Execution Time" (ControlBarExecutionTime, ms-based) alongside it:
it only ever fed the legacy non-Conductor js-slang path via
originalMaxExecTime, and with conductor.enable defaulting to true for
every current chapter, that branch was already unreachable except for
SICP-JS snippets or a manually-disabled feature flag. The underlying
execTime Redux field/action is left untouched — AssessmentWorkspace and
GradingWorkspace still use it independently (question.library.execTimeMs)
for grading's own execution-timeout safety feature, unrelated to this
control.

Companion py-slang PR: the Stepper evaluator was fetching this same host
config already but discarding stepLimit, always using a hardcoded 1000.


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

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

3060 of 7795 branches covered (39.26%)

Branch coverage included in aggregate %.

1 of 0 new or added lines in 0 files covered. (NaN%)

3 existing lines in 2 files now uncovered.

7020 of 14536 relevant lines covered (48.29%)

30.31 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

68.66
/src/commons/workspace/WorkspaceReducer.ts


Build SHA Not Found

The commit SHA "50886d365bb896f7bbee152fbd118b949f83577c" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

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