twosigma / twosigma/beakerx

Wrong Python behavior after interrupting %%groovy magic

Open
#7,354 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

If we interrupt one cell the next cell will display result from last cell
![image](https://user-images.githubusercontent.com/17744188/40050459-3bead270-5840-11e8-8aec-7f149407ed2b.png)

If we try to interrupt infinite loop the cell will hangs
![image](https://user-images.githubusercontent.com/17744188/40108774-9860d300-5904-11e8-9fc5-0b35a546613b.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the %%groovy magic behavior described: interrupt a cell and then run the next cell, or interrupt an infinite loop. The issue names no source file, test, or entry point, so trace the Groovy magic's interrupt and cell-execution handling first; done means the next cell no longer shows the previous result and interruption does not leave the cell hanging.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, jupyter-notebook
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.