Plots: joint grid on large closed forms, label overlap at 375 px, no frontend tests

Open
#490 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, python

Research direction

Start with the grid job that calls to_sympy/parse_expr on the marginal and then expands from 0, and with exponential_series, which builds each cell via value → expand; run the Poisson 50×50 grid to reproduce the ~0.85 s and the ~14 s unknown-cell window before changing anything. For the 375 px label overlap, render the marginal bars at that width and inspect the last, tail and "?" bar axes. The Playwright suggestion is the vaguest part — pick one keyboard path (heatmap, 3D view or bar chart) and treat a headless test that passes as done.

Written by the indexing model from the issue text.

Description

area: gui priority: low

From #482 and #485 (found, not fixed there). All exist on main.

  • Joint grid with large closed forms (e.g. a loop unrolled 60 times): a window with unknown cells costs about 14 s, about 8 s of it parsing the marginal's closed form (to_sympy → parse_expr), the rest the expansion from 0; panning by half a window recomputes everything. A per-result cache of the parsed marginal in the job process, or a long-lived grid worker, would help.
  • exponential_series builds each cell as a SymPy expression (value → expand, about 0.85 s of the Poisson 50×50 grid).
  • Marginal bars at 375 px: the axis labels of the last value bar, the tail bar and the "?" bar can overlap (28≥30?).
  • No frontend tests: the keyboard paths of the heatmap, the 3D view and the bar charts are only checked by hand. Consider a small browser-test setup (e.g. Playwright, without network) for the keyboard paths.
Dominant language
Python
Stars
6
Forks
2
Avg merge
1h 52m
Merged PRs (30d)
187

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No 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.

More from LKlinke/Prodigy

All issues in LKlinke/Prodigy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.