-
Notifications
You must be signed in to change notification settings - Fork 4
NRL-1860 Tweak prep scripts to support NFT runs #1111
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
NRL-1860 Tweak prep scripts to support NFT runs #1111
Conversation
…nts. Output .csv file for test once nft table has been seeded
…ket for perf-test env
|
🚀 PR environment successfully deployed. |
anjalitrace2-nhs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor non-blocking comment, looks good to me! ✅
scripts/seed_nft_tables.py
Outdated
| # def _set_up_count_iterator(pointers_per_px: float) -> iter: | ||
| # """ | ||
| # Given a target average number of pointers per patient, | ||
| # generates a distribution of counts per individual patient. | ||
| # """ | ||
| # | ||
| # extra_per_hundred = int( | ||
| # (pointers_per_px - 1.0) * 100 | ||
| # ) # no patients can have zero pointers | ||
| # counts = {} | ||
| # counts["3"] = extra_per_hundred // 10 | ||
| # counts["2"] = extra_per_hundred - 2 * counts["3"] | ||
| # counts["1"] = 100 - counts[2] - counts[3] | ||
| # return _set_up_cyclical_iterator(counts) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super minor: do we need this or can we bin it?
|



No description provided.