RunestoneInteractive / RunestoneInteractive/rs

Runestone Issue: PythonTutor / CodeLens does not allow "import test"

Open
#1,146 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
69
Forks
117
Avg merge
6d 4h
Merged PRs (30d)
24

Description

What Page were you on

https://runestone.academy/ns/books/published/thinkcspy/Functions/ProgramDevelopment.html

Describe the bug

The code there includes "import test" -- but the current version of PythonTutor it uses does not allow that import, so you can't use it / CodeLens.

A Screenshot is worth a thousand words

Image

What is your username

github: dandrake
runestone: ddrake1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked Functions/ProgramDevelopment.html page and inspect the example containing "import test". Run it with the page's current PythonTutor or CodeLens integration, then update the example or its surrounding content so the exercise executes successfully and verify that the interactive view works.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
content, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.