Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poly-commitment/IPA: additional tests regarding expected nb chunks #2668

Open
wants to merge 5 commits into
base: dw/fixing-master
Choose a base branch
from

Conversation

dannywillems
Copy link
Member

@dannywillems dannywillems commented Oct 4, 2024

While working on the prover for o1vm/pickles, I was wondering the number of chunks commit_non_hiding was supposed to return in different cases, in particular when the polynomial has a degree higher than the number of chunks requested. This test clarifies it.
I hope it doesn't duplicate another test - I didn't look for.

As @querolita is (was?) working on chunking, cc'ing her as she might be interested in.

@dannywillems dannywillems force-pushed the dw/poly-commitment-ipa-additional-tests-regresion branch from 262d83a to aaaec41 Compare October 4, 2024 20:09
elems has been renamed in chunks previously, to map the actual meaning of the
field of the structure
And also, clarify the current number of chunks returned when the polynomial is
of degree higher than the number of chunks requested.
@dannywillems dannywillems force-pushed the dw/poly-commitment-ipa-additional-tests-regresion branch from aedddb0 to 3f8b4b2 Compare October 4, 2024 20:23
@dannywillems dannywillems changed the base branch from master to dw/fixing-master October 4, 2024 20:24
@dannywillems dannywillems force-pushed the dw/poly-commitment-ipa-additional-tests-regresion branch from 3f8b4b2 to 51b51c7 Compare October 4, 2024 20:31
Copy link

codecov bot commented Oct 4, 2024

Codecov Report

Attention: Patch coverage is 97.67442% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (dw/fixing-master@de32ce8). Learn more about missing BASE report.

Files with missing lines Patch % Lines
o1vm/src/pickles/prover.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                 @@
##             dw/fixing-master    #2668   +/-   ##
===================================================
  Coverage                    ?   72.75%           
===================================================
  Files                       ?      245           
  Lines                       ?    58037           
  Branches                    ?        0           
===================================================
  Hits                        ?    42222           
  Misses                      ?    15815           
  Partials                    ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Moving the regression test regarding the number of expected chunks into this PBT
module.
Transforming it into a PBT helps testing the output with the different PCS
available in the library.
@dannywillems dannywillems force-pushed the dw/poly-commitment-ipa-additional-tests-regresion branch from 51b51c7 to 9db8c60 Compare October 5, 2024 10:43
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.

1 participant