Overview: open problems of the loop strategies
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- python
- Domain
- machine-learning
Research direction
This is a tracking issue that groups separate loop strategy problems; start by filtering the repository for topic: loop strategies and read the linked issues, especially #256, #257, and #243. Choose a specific open problem from the list before investigating its implementation and tests. Done means addressing that individual issue and following the tracking rules: report whether the finding exists on main, and add new strategy problems to the appropriate section.
Written by the indexing model from the issue text.
Description
Tracking issue. Loop strategies are what Prodigy is for: invariants, EVT and the sandwich, synthesis and unrolling. This issue bundles their open problems in order of importance. Each problem keeps its own issue; this list says what matters now. Filter: label topic: loop strategies. Milestone: "7 · Loop strategies" (the correctness items in progress stay in milestone 1, the research directions are collected in #347).
1. Correctness: wrong results or crashes in strategies
Strategies compute with candidate measures, and these may be signed or have infinite mass.
- #295: positivity heuristics treat parameters as series variables; claim negativity without proof (medium)
- #276: EVT upper bounds, the closed-form fixed-point check may be invalid when the radius of convergence is below 1 (high)
- #256: case-split updates unfold the marginal; on signed measures, a value whose mass cancels is lost (medium)
- #257: GiNaC, modulo by 0 on an infinite-mass measure (low)
- #243: monus of two variables with infinite marginals (exact for product form, algebraic otherwise; follow-ups in #366)
2. Termination and robustness
- #226:
evt_synthesisruns without bound when no rational invariant exists (high) - #224: unrolling is up to 100x slower on one engine than on another (medium)
- #341:
evt_synthesison GiNaC,RecursionErrorwhen SymPy parses long GiNaC strings; templates skipped (medium; clear "undecided" since #378, structural conversion open) - #229: nested loops, the summary of an inner loop concatenates the messages of all its executions (low)
3. Completeness: programs where strategies give no result yet
- #297: non-negativity not shown for sums like
5/(2-x) + t*(…)(medium) - #298:
SingleRationalFunctionraisesTypeErroron symbolic coefficients (low) - #282:
evt_synthesisfails on the simple loopwhile (b == 0) { b = bernoulli(1/2); … }(medium) - #318:
evt_synthesisafter #315, squared denominators, cost of large denominators (medium) - #313: Newton for one-counter loops, accelerated unrolling (medium)
- #305:
IndexErrorfrom SymPy's solver ends the whole analysis inevt_synthesis(medium) - #323: state-dependent probabilities rational in a counter as operators (integral, derivative)
- (folded into this issue, see comment; was #364) promote an EVT upper bound with mass 1 to exact when almost-sure termination is proven (low)
- (folded into #313; was #338) EVT exploration, guess closed forms for slowly converging loops (low)
- #336:
autokeeps the upper bound of an infinite-mass invariant (low) (#380) - #303: parameter ranges, so parametric invariants can be proven (medium)
- #281:
evt_synthesis, cheaper template solving; undecided fixed points are dropped (medium) - #225: guards that compare two variables, in strategies with templates (concrete distributions done in #365)
- #237: state-dependent probabilities beyond α + Σβ/(k+a) (polynomial in a counter, double poles, several exponentials)
- #179: lower-bound strategies for
poisson,logdist,negative_binomial
4. Usability: choosing a strategy
- #324: strategies grouped by goal,
autoas default,evt_iterateshows the EVT - #337: interactive CLI,
evt_synthesispicks an uncertified candidate first (low) - #312 (in the ideas collection #414): interactive debugger, step into loops (low)
5. Research: new classes of loops and candidates
- #347: research collection (D-finite and algebraic generating functions, tail asymptotics; formerly #231, #228, #186)
- #83, #137 (in the ideas collection #414): invariant candidates and certificates from language models (milestone 3)
Rules
- Every finding states whether it already exists on
main. A finding that a PR introduces gets the labelregressionand is fixed in that PR. - New problems of the strategies get the label
topic: loop strategiesand are added to this list in the right section.
🤖 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LKlinke/Prodigy
-
area: engines bug priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area: gui bug priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area: gui bug priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
area: engines bug priority: medium
Maintainers usually reply within 1 day
-
area: maintenance priority: low
Maintainers usually reply within 1 day
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day