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

Implement from_qm31_array for QM31. #679

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

alonh5
Copy link
Contributor

@alonh5 alonh5 commented Jun 26, 2024

This change is Reviewable

@codecov-commenter
Copy link

codecov-commenter commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.28%. Comparing base (30ad352) to head (5c8c89d).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #679   +/-   ##
=======================================
  Coverage   90.28%   90.28%           
=======================================
  Files          75       75           
  Lines       10013    10013           
  Branches    10013    10013           
=======================================
  Hits         9040     9040           
  Misses        892      892           
  Partials       81       81           

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

@alonh5 alonh5 force-pushed the 06-19-create_phase_number_constants branch 2 times, most recently from 5602db4 to 9d0bec0 Compare June 27, 2024 11:43
@alonh5 alonh5 force-pushed the 06-26-implement_from_qm31_array_for_qm31 branch from 275858e to b62097b Compare June 27, 2024 11:43
@alonh5 alonh5 force-pushed the 06-19-create_phase_number_constants branch from 9d0bec0 to 8257e32 Compare June 30, 2024 08:32
@alonh5 alonh5 force-pushed the 06-26-implement_from_qm31_array_for_qm31 branch from b62097b to 8529f55 Compare June 30, 2024 08:33
@alonh5 alonh5 force-pushed the 06-19-create_phase_number_constants branch 2 times, most recently from fc63560 to 47fb3f1 Compare July 1, 2024 11:09
@alonh5 alonh5 force-pushed the 06-26-implement_from_qm31_array_for_qm31 branch from 8529f55 to f12a4c8 Compare July 1, 2024 11:10
Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @alonh5)


crates/prover/src/core/fields/qm31.rs line 47 at r1 (raw file):

    /// Returns the combined value, given the values of its composing base field polynomials at that
    /// point.
    pub fn from_qm31_array(evals: [Self; SECURE_EXTENSION_DEGREE]) -> Self {

Actually I don't like this name.
from_array sound as it just trivially pack them, but this is doing something else

WDYT?

Code quote:

pub fn from_qm31_array

@alonh5 alonh5 force-pushed the 06-19-create_phase_number_constants branch from 47fb3f1 to ee8f106 Compare July 2, 2024 12:45
@alonh5 alonh5 force-pushed the 06-26-implement_from_qm31_array_for_qm31 branch from f12a4c8 to 75b43ee Compare July 2, 2024 12:45
Copy link
Contributor Author

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @shaharsamocha7)


crates/prover/src/core/fields/qm31.rs line 47 at r1 (raw file):

Previously, shaharsamocha7 wrote…

Actually I don't like this name.
from_array sound as it just trivially pack them, but this is doing something else

WDYT?

Changed the name, wdyt?

@alonh5 alonh5 force-pushed the 06-19-create_phase_number_constants branch from ee8f106 to a0ba183 Compare July 2, 2024 12:52
@alonh5 alonh5 force-pushed the 06-26-implement_from_qm31_array_for_qm31 branch from 75b43ee to a51f928 Compare July 2, 2024 12:59
Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 5 of 5 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @alonh5)


crates/prover/src/core/fields/qm31.rs line 47 at r1 (raw file):

Previously, alonh5 (Alon Haramati) wrote…

Changed the name, wdyt?

maybe from_partial_evals

Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @alonh5)

@alonh5 alonh5 force-pushed the 06-26-implement_from_qm31_array_for_qm31 branch from a51f928 to 32defad Compare July 2, 2024 13:14
Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @alonh5)

Copy link
Collaborator

@shaharsamocha7 shaharsamocha7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @alonh5)

@alonh5 alonh5 force-pushed the 06-19-create_phase_number_constants branch from a0ba183 to 89129d0 Compare July 8, 2024 07:31
@alonh5 alonh5 force-pushed the 06-26-implement_from_qm31_array_for_qm31 branch from 32defad to 1665b10 Compare July 8, 2024 07:32
@alonh5 alonh5 force-pushed the 06-19-create_phase_number_constants branch from 89129d0 to 5839c99 Compare July 8, 2024 08:07
@alonh5 alonh5 force-pushed the 06-26-implement_from_qm31_array_for_qm31 branch from 1665b10 to 1d1b46c Compare July 8, 2024 08:07
Copy link
Contributor Author

alonh5 commented Jul 8, 2024

Merge activity

  • Jul 8, 4:33 AM EDT: @alonh5 started a stack merge that includes this pull request via Graphite.
  • Jul 8, 4:45 AM EDT: Graphite rebased this pull request as part of a merge.
  • Jul 8, 4:48 AM EDT: @alonh5 merged this pull request with Graphite.

@alonh5 alonh5 force-pushed the 06-19-create_phase_number_constants branch from 5839c99 to 69c7e59 Compare July 8, 2024 08:40
@alonh5 alonh5 changed the base branch from 06-19-create_phase_number_constants to dev July 8, 2024 08:43
@alonh5 alonh5 force-pushed the 06-26-implement_from_qm31_array_for_qm31 branch from 1d1b46c to 5c8c89d Compare July 8, 2024 08:44
@alonh5 alonh5 merged commit 58bc13e into dev Jul 8, 2024
13 of 14 checks passed
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.

3 participants