-
Notifications
You must be signed in to change notification settings - Fork 89
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
Eval framework info #715
Eval framework info #715
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #715 +/- ##
==========================================
- Coverage 90.43% 90.20% -0.23%
==========================================
Files 80 81 +1
Lines 10328 10354 +26
Branches 10328 10354 +26
==========================================
Hits 9340 9340
- Misses 904 930 +26
Partials 84 84 ☔ View full report in Codecov by Sentry. |
05452dd
to
86be1d9
Compare
c009152
to
4d92f82
Compare
d1f2d95
to
d4bdc02
Compare
4d92f82
to
b9d91f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @spapinistarkware)
crates/prover/src/constraint_framework/info.rs
line 11 at r1 (raw file):
#[derive(Default)] pub struct InfoEvaluator {
Document that this is used to collect the mask offsets and count the constraints for a specific component.
Code quote:
pub struct InfoEvaluator {
crates/prover/src/constraint_framework/info.rs
line 30 at r1 (raw file):
if self.mask_offsets.len() <= interaction { self.mask_offsets.resize(interaction + 1, vec![]); }
This code assumes that 'interaction` is continuous (which is true) but it may be called differently
Alternatively handle that differently
Suggestion:
if self.mask_offsets.len() <= interaction {
assert_eq(self.mask_offsets.len() == interaction + 1);
self.mask_offsets.resize(interaction + 1, vec![]);
}
crates/prover/src/constraint_framework/info.rs
line 41 at r1 (raw file):
} fn combine_ef(_values: [Self::F; 4]) -> Self::EF {
Fix
Suggestion:
fn combine_ef(values: [Self::F; SECURE_EXTENSION_DEGREE]) -> Self::EF {
d4bdc02
to
7074467
Compare
0d809f0
to
3f50cef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 2 files reviewed, 3 unresolved discussions (waiting on @shaharsamocha7)
crates/prover/src/constraint_framework/info.rs
line 11 at r1 (raw file):
Previously, shaharsamocha7 wrote…
Document that this is used to collect the mask offsets and count the constraints for a specific component.
Done.
crates/prover/src/constraint_framework/info.rs
line 30 at r1 (raw file):
Previously, shaharsamocha7 wrote…
This code assumes that 'interaction` is continuous (which is true) but it may be called differently
Alternatively handle that differently
As discussed.
crates/prover/src/constraint_framework/info.rs
line 41 at r1 (raw file):
Previously, shaharsamocha7 wrote…
Fix
Done.
3f50cef
to
8608416
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 2 files at r2, 1 of 1 files at r3, 1 of 1 files at r4, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @spapinistarkware)
03ac5c2
to
ef45c3c
Compare
8608416
to
f2e7d1a
Compare
Merge activity
|
f2e7d1a
to
890386f
Compare
This change is