GUI checks lens: early stops of unroll and mass_threshold are under-reported

Open Beginner friendly
#540 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
77/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, python
Domain
frontend, testing

Research direction

Start with prodigy/web/static/app/components/checks-lens.js at line 80 and inspect how the lens renders early-stop details for unrolling and mass_threshold; the issue says analysis/certificate_checks.py is already correct. Then find the existing web tests and add coverage for both strategies. Done means the lens shows iterations_done and the correct early-stop reason for each strategy, with the specified browser checks.

Written by the indexing model from the issue text.

Description

area: gui bug priority: low

Found in #531 (exists on main since #531). The checks lens of the GUI (prodigy/web/static/app/components/checks-lens.js:80) under-reports the early stops of the unrolling strategies:

  • "fixed point reached" is shown only for unrolling, not for mass_threshold, which has the same fixed-point stop since #531 (fixpoint: true in its certificate);
  • for an unrolling stop without a fixed point (no mass left inside the loop) it shows the cap iterations, not iterations_done.

The checks list from analysis/certificate_checks.py is correct; only the details rows of the lens are wrong. No result or guarantee is affected.

Done when

  • The lens shows iterations_done and the reason of an early stop (fixed point, or no mass left) for both unrolling and mass_threshold.
  • A web test covers both strategies; checked in the built-in browser (light/dark, 1400/700/375 px).

🤖 Generated with Claude Code

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.