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

migrate tests to use ? instead of unwrap & experimental-frontends renaming #176

Merged
merged 5 commits into from
Dec 5, 2024

Conversation

arnaucube
Copy link
Collaborator

@arnaucube arnaucube commented Nov 19, 2024

  • rename frontends to experimental-frontends to make more explicit that those are experimental and not recommended for usage, as discussed in the last meeting
    • the recommended frontend is defining the FCircuit with arkworks
  • rename upper_bound_ccs to compute_concrete_ccs to describe better the method logic
  • migrate tests to use result instead of unwrap
    • motivation: in this way tests are like in-library code and there is no differenciation between test code and library code in terms of style, where errors are returned with ? instead of unwrap. Same for examples. This was already done partially like this in some of the PrtoGalaxy tests, now on almost all the folding-schemes tests.

@arnaucube arnaucube changed the title rename frontends to experimental-frontends to make it explicit, as discussed in the last meeting experimental-frontends & IVC renamings Nov 19, 2024
@arnaucube arnaucube changed the title experimental-frontends & IVC renamings eperimental-frontends & IVC renamings Nov 22, 2024
@arnaucube arnaucube changed the title eperimental-frontends & IVC renamings experimental-frontends & IVC renamings Nov 28, 2024
@arnaucube arnaucube force-pushed the renamings branch 2 times, most recently from f13a8fd to 93bde0e Compare December 3, 2024 10:11
@arnaucube arnaucube changed the title experimental-frontends & IVC renamings migrate tests to ? instead of unwrap & experimental-frontends renaming Dec 3, 2024
@arnaucube arnaucube changed the title migrate tests to ? instead of unwrap & experimental-frontends renaming migrate tests to use ? instead of unwrap & experimental-frontends renaming Dec 3, 2024
@arnaucube arnaucube marked this pull request as ready for review December 3, 2024 10:13
motivation: in this way tests are like in-library code and there is no
differenciation between test code and library code in terms of style,
where errors are returned with `?` instead of `unwrap`. Same for
examples. This was already done partially like this in some of the
ProtoGalaxy tests, now on almost all the folding-schemes tests.
@arnaucube arnaucube force-pushed the renamings branch 3 times, most recently from 2d52042 to c82405d Compare December 3, 2024 10:20
@arnaucube arnaucube enabled auto-merge December 5, 2024 09:00
@arnaucube arnaucube disabled auto-merge December 5, 2024 09:00
@arnaucube arnaucube added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit 83d1383 Dec 5, 2024
9 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.

2 participants