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

Arrabiata: define correctly the different challenges used in the protocol #2684

Merged
merged 8 commits into from
Oct 9, 2024

Conversation

dannywillems
Copy link
Member

@dannywillems dannywillems commented Oct 9, 2024

I also added some changes in Kimchi. Lemme know if a different PR is required. I splitted the changes in different clean commits.

Fix #2685

@dannywillems dannywillems marked this pull request as draft October 9, 2024 10:02
@dannywillems dannywillems force-pushed the dw/arrabiata-challenges-expressions branch from 2526618 to e815585 Compare October 9, 2024 10:04
The test is now working as the PR has been merged and we upgraded arkworks.
Respect Rust convention to move integration tests in a different subdirectory
@dannywillems dannywillems force-pushed the dw/arrabiata-challenges-expressions branch from 2c94366 to bde9704 Compare October 9, 2024 10:19
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

Attention: Patch coverage is 15.78947% with 32 lines in your changes missing coverage. Please review.

Project coverage is 72.59%. Comparing base (b993283) to head (3e5f19f).
Report is 39 commits behind head on master.

Files with missing lines Patch % Lines
arrabiata/src/columns.rs 0.00% 17 Missing ⚠️
kimchi/src/circuits/expr.rs 28.57% 15 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2684      +/-   ##
==========================================
- Coverage   72.60%   72.59%   -0.01%     
==========================================
  Files         246      246              
  Lines       58154    58156       +2     
==========================================
- Hits        42220    42219       -1     
- Misses      15934    15937       +3     

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

@dannywillems dannywillems force-pushed the dw/arrabiata-challenges-expressions branch from dd931a2 to 3e5f19f Compare October 9, 2024 11:10
@dannywillems dannywillems marked this pull request as ready for review October 9, 2024 11:10
}

fn text(&self, _cache: &mut HashMap<CacheId, Self>) -> String {
let col = self.col.text(&mut HashMap::new());
Copy link
Contributor

Choose a reason for hiding this comment

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

why isn't the cache in the arg of the function given as arg to the recursive call of text ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not the same type, and also, it is unused in any case.

@@ -3075,7 +3079,7 @@ where
});
res
}
Atom(Cell(v)) => v.latex(),
Atom(Cell(v)) => v.latex(&mut HashMap::new()),
Copy link
Contributor

Choose a reason for hiding this comment

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

why isn't the cache in the arg of the function given as arg to the recursive call ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not the same type, and also, it is unused in any case.

@@ -3122,7 +3126,7 @@ where
});
res
}
Atom(Cell(v)) => v.text(),
Atom(Cell(v)) => v.text(&mut HashMap::new()),
Copy link
Contributor

Choose a reason for hiding this comment

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

why isn't the cache in the arg of the function given as arg to the recursive call ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not the same type, and also, it is unused in any case.

@dannywillems dannywillems merged commit 53f3e45 into master Oct 9, 2024
6 of 7 checks passed
@dannywillems dannywillems deleted the dw/arrabiata-challenges-expressions branch October 9, 2024 12:29
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.

Arrabiata: define own challenges
2 participants