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

Added add_intermediate and add_secure_intermediate to eval API. #919

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

Alon-Ti
Copy link
Contributor

@Alon-Ti Alon-Ti commented Dec 2, 2024

No description provided.

This was referenced Dec 2, 2024
@reviewable-StarkWare
Copy link

This change is Reviewable

@codecov-commenter
Copy link

codecov-commenter commented Dec 2, 2024

Codecov Report

Attention: Patch coverage is 88.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 91.51%. Comparing base (6e7d2aa) to head (5fd3774).

Files with missing lines Patch % Lines
crates/prover/src/constraint_framework/mod.rs 0.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #919   +/-   ##
=======================================
  Coverage   91.51%   91.51%           
=======================================
  Files          94       94           
  Lines       13634    13666   +32     
  Branches    13634    13666   +32     
=======================================
+ Hits        12477    12507   +30     
- Misses       1042     1044    +2     
  Partials      115      115           

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

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 5fd3774 Previous: cd8b37b Ratio
merkle throughput/simd merkle 28492415 ns/iter (± 488757) 13712527 ns/iter (± 579195) 2.08

This comment was automatically generated by workflow using github-action-benchmark.

CC: @shaharsamocha7

@Alon-Ti Alon-Ti force-pushed the alont/check-whenever-simplify branch from a198090 to f84268d Compare December 2, 2024 13:23
@Alon-Ti Alon-Ti force-pushed the alont/intermediates branch from 348fc4e to 97059af Compare December 2, 2024 13:24
@Alon-Ti Alon-Ti force-pushed the alont/check-whenever-simplify branch from f84268d to 484a7d8 Compare December 2, 2024 13:58
@Alon-Ti Alon-Ti force-pushed the alont/intermediates branch from 97059af to 3e57ce5 Compare December 2, 2024 13:58
@Alon-Ti Alon-Ti force-pushed the alont/check-whenever-simplify branch from 484a7d8 to f475a85 Compare December 3, 2024 08:49
@Alon-Ti Alon-Ti force-pushed the alont/intermediates branch from 3e57ce5 to e9515a2 Compare December 3, 2024 08:49
@Alon-Ti Alon-Ti changed the base branch from alont/check-whenever-simplify to graphite-base/919 December 3, 2024 09:02
@Alon-Ti Alon-Ti force-pushed the alont/intermediates branch from e9515a2 to d1683df Compare December 3, 2024 09:03
@Alon-Ti Alon-Ti changed the base branch from graphite-base/919 to dev December 3, 2024 09:03
@Alon-Ti Alon-Ti force-pushed the alont/intermediates branch from d1683df to 2fe62b3 Compare December 3, 2024 09:03
Copy link
Collaborator

@ohad-starkware ohad-starkware 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: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @Alon-Ti and @shaharsamocha7)


crates/prover/src/constraint_framework/mod.rs line 122 at r2 (raw file):

    /// Adds a secure intermediate value to the component and returns its value.
    /// Does nothing by default.
    fn add_secure_intermediate(&mut self, val: Self::EF) -> Self::EF {

Suggestion:

extension

@Alon-Ti Alon-Ti force-pushed the alont/intermediates branch from 2fe62b3 to 43741f1 Compare December 3, 2024 12:49
Copy link
Contributor Author

@Alon-Ti Alon-Ti 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: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @ohad-starkware and @shaharsamocha7)


crates/prover/src/constraint_framework/mod.rs line 122 at r2 (raw file):

    /// Adds a secure intermediate value to the component and returns its value.
    /// Does nothing by default.
    fn add_secure_intermediate(&mut self, val: Self::EF) -> Self::EF {

Done.

@Alon-Ti Alon-Ti force-pushed the alont/intermediates branch from 43741f1 to 694d9a4 Compare December 3, 2024 12:50
@Alon-Ti Alon-Ti force-pushed the alont/intermediates branch from 694d9a4 to 5fd3774 Compare December 3, 2024 12:53
Copy link
Collaborator

@ohad-starkware ohad-starkware 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: 0 of 3 files reviewed, all discussions resolved (waiting on @shaharsamocha7)

@Alon-Ti Alon-Ti merged commit f519bb6 into dev Dec 3, 2024
16 of 19 checks passed
Copy link
Contributor Author

Alon-Ti commented Dec 3, 2024

Merge activity

  • Dec 3, 8:19 AM EST: A user merged this pull request with Graphite.

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.

4 participants