Skip to content

Report not-enough-specs and no-angelic-value cases separately#239

Merged
monperrus merged 2 commits into
SpoonLabs:masterfrom
agodio:angelic-value-report
Mar 14, 2026
Merged

Report not-enough-specs and no-angelic-value cases separately#239
monperrus merged 2 commits into
SpoonLabs:masterfrom
agodio:angelic-value-report

Conversation

@agodio

@agodio agodio commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

collectSpecifications returns an empty list when synthesis is not possible (i.e., when there is no angelic value). This case is now reported accordingly.

"Not enough specifications" is now reported when a trivial patch would satisfy the available specifications.

The counter of statements with angelic values is updated accordingly. If there is only one spec for a statement with an angelic value, the final status will be NO_SYNTHESIS instead of NO_ANGELIC_VALUE.

@monperrus

Copy link
Copy Markdown
Contributor

Thanks a lot. Started CI.

Would you be able to add a test case for this?

@agodio agodio force-pushed the angelic-value-report branch from 2294025 to b1ec3e2 Compare March 13, 2026 04:06
@agodio

agodio commented Mar 13, 2026

Copy link
Copy Markdown
Contributor Author

I've added a small regression test for this scenario, following the existing test structure.

@monperrus monperrus merged commit 917956d into SpoonLabs:master Mar 14, 2026
5 checks passed
@monperrus

Copy link
Copy Markdown
Contributor

thanks a lot @agodio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants