e2b-dev / e2b-dev/E2B

JS SuperChart deserializer reads data instead of elements, and Result never deserializes charts

Open Beginner friendly
#1,821 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Code Interpreter sdk
Dominant language
Python
Stars
13.9k
Forks
1k
Avg merge
1d 20h
Merged PRs (30d)
70

Description

deserializeChart in packages/code-interpreter-js/src/charts.ts maps SuperChart children from data.data. The SuperChart type and Python _deserialize_chart use elements. Result in messaging.ts assigns this.chart = data['chart'] and never calls deserializeChart. Python Result does call _deserialize_chart.

Contributor guide

Open the contributing guide

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

Start with packages/code-interpreter-js/src/charts.ts and messaging.ts, then compare their SuperChart and Result handling with Python _deserialize_chart and Result. Trace the chart payload through deserializeChart and Result, and verify that SuperChart elements and Result charts are deserialized consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
devtools
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.