ReDiP benchmarks of arXiv:2612.02006: inventory against pgfexamples, then synthesis timeouts and RecursionError
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github, python
- Domain
- databases, performance, testing
Research direction
Start by parsing and printing the 50 programs in the linked paper repository’s benchmarks/{polar,diabolo,prodigy,psi,ours}/*.txt, then compare their content with pgfexamples/ and record matches, variants, missing programs, and internal duplicates. Next run evt_synthesis with a timeout per program on both engines and record each result; investigate recursion errors and measure where each timeout occurs. Done means the inventory and result list are recorded, recursion errors have regression coverage, and every remaining timeout has a measured cause and an issue or fix.
Written by the indexing model from the issue text.
Description
Problem
arXiv:2612.02006 (Yang et al., Dec 2026, §7.1) ran Prodigy's occupation-invariant synthesis on 50 ReDiP benchmarks
with a 60 s limit per benchmark. They report:
- 16 timeouts in synthesis;
- 5 recursion-depth errors (
RecursionError).
Their own engine (C++/FLINT with Z3) synthesised candidates for 46 of the 50. The authors name optimisations Prodigy
lacks: constant propagation and variable elimination by substitution, both applied before the fixed-point
constraints are built. They also note that the synthesis does not check finite mass itself (§7.1, the baseline adds
it); compare the finite_mass obligation of #556.
The benchmarks come from Polar, Diabolo, Prodigy, PSI, and the paper's own SampleMatching example (Table 3). The
paper does not say which of them failed in Prodigy.
Step 0: inventory before anything is added (no duplicate benchmarks)
All 50 programs are public in the paper's repository:
https://github.com/V-star-ai/Epsum-Exact-Posteriors-via-absolutely-SUMmable-fixed-points (benchmarks/{polar,diabolo,prodigy,psi,ours}/*.txt).
Many of them are already in pgfexamples/, often under other names. The 18 prodigy/* programs come from our own
suite, with observe removed. Before a single program is added:
- Map each of the 50 programs by content to
pgfexamples/: compare the program after parsing and printing it
with our printer, not the file name. Each one gets one of: identical, same up to renaming, variant (e.g.
withoutobserve, other parameters or initial distribution; name the difference), or missing. - While doing so, list the duplicates inside
pgfexamples/. For example,geometric,dueling_cowboys,
random_walk,nonterminationandcoupon_collectoreach appear in two or three folders. Decide for each
whether it is a real variant or a copy. - Add only what is missing. A variant is added only if the difference is relevant to the analysis, and its
header comment names the original. Every added program names its source (Polar, Diabolo, PSI, the paper) and
licence. No folder gets a second copy of a program that exists elsewhere; a benchmark list (e.g. a manifest that
maps the paper's names to our files) refers to the existing files instead.
Name matches found so far (not yet checked by content):
prodigy/condand,dep_bern,ky_die,ky_die_2,random_walk,trivial_iid→
pgfexamples/equivalence/loopy/…;bit_flip,endless→…_conditioning;17_die→17_die_even;geo,geo_shifted,n_geo→geometric,geometric_shifted,n_geometric;seq_loops→sequential_loops;skip_geom→inference/loopy/skip_geom_dist;brp_param,geo_param→template_parameter_synthesis/…;nonterm→nontermination;polar/coupon_collector,duelling_cowboys→lower_bounds/exact/….
Most programs from Diabolo and PSI, and sample_matching, have no name match.
Then
- Run
evt_synthesison all 50, mapped to our files, on both engines, withtimeoutper program. Record the
result per program. - Every
RecursionError: find the cause and fix it. It is a crash, not a slow path, and must end either in a
result or in "not implemented"/unknownwith a reason. A GiNaC cause belongs inLKlinke/prodigy-ginac-bindings. - Every timeout: measure where the time goes (template construction, Ψ, constraint solving, the positivity
check). Fix what is a bug. File the rest as performance items with the measurement, e.g. constant propagation
or variable elimination before the constraints are built. - Check the paper's remark (§7.2) that for
prodigy/random_walkthe candidate (1+X)/(1−X) passes the positivity
check but has infinite mass. Thefinite_massobligation of #556 must reject it.
Done when
- The inventory (50 programs → existing file, variant or added) and the duplicates found inside
pgfexamples/are in the issue. No program exists twice without a stated reason. - The benchmark list with its result per engine is in the issue or in
docs/, before and after. - No
RecursionErroris left on the benchmarks. A regression test covers the class of each one. - Every remaining timeout has a measured cause and an issue or a fix.
Related: the signed fixed-point rule from the same paper (separate issue); #473 (time-limited exploration);
#348 (engine performance).
- 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