Open smiet opened 1 month ago
Attention: Patch coverage is 4.00000%
with 24 lines
in your changes missing coverage. Please review.
Project coverage is 91.80%. Comparing base (
5b1cb70
) to head (e5545ac
). Report is 218 commits behind head on master.:exclamation: Current head e5545ac differs from pull request most recent head 181f7ca
Please upload reports for the commit 181f7ca to get more accurate results.
Files | Patch % | Lines |
---|---|---|
src/simsopt/configs/zoo.py | 4.00% | 24 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
It would be amazing to have all of the QUASR configurations accessible with just one command.
I implemented a simple interface using the 'requests' library, that downloads any QUASR field.
I tried to make it so that it picks a random configuration, but apparently not all integers between 0 and 300,000 correspond to an entry in the database. @andrewgiuliani is there a list of which entries exist, so that a robust random picker can be returned? Or even better, the user could directly query the database for a list of constraints (NFP, A, iota, coil length, etc) and get a random config that fits their needs.
Something like this must be already implemented on the website, one would only have to adapt this to python. I am happy to do this but would need more info on the database itself. Would this be of interest @andrewgiuliani?