Repository navigation
Conversation
shehadak
marked this pull request as draft
December 19, 2023 05:13
shehadak
force-pushed
the
ks/fix-plugin-tests
branch
from
December 19, 2023 06:23
5280445 to
36a4131
Compare
mschrimpf
approved these changes
Dec 19, 2023
shehadak
force-pushed
the
ks/fix-plugin-tests
branch
from
December 19, 2023 07:35
c775e91 to
eab2427
Compare
shehadak
marked this pull request as ready for review
December 20, 2023 03:50
…nto ks/fix-plugin-tests
…d features from AWS
mschrimpf
requested changes
Dec 23, 2023
mschrimpf
left a comment
Member
There was a problem hiding this comment.
For all functions using store we need the model_identifier -- otherwise it's not going to differentiate between different models.
I am also concerned with the many unexplained changes to scores and hashes -- these should not have changed, unless there is a very good reason.
Comment on lines
+68
to
+67
| def get_firing_rates(model_identifier, model, region, stimulus_identifier, number_of_trials, in_rf): | ||
| affine_transformation = firing_rates_affine(model_identifier=model_identifier, model=model, region=region) | ||
| def get_firing_rates(model, region, stimulus_identifier, number_of_trials, in_rf): | ||
| affine_transformation = firing_rates_affine(model=model, region=region) |
Member
There was a problem hiding this comment.
this will run into issues with store where it will re-use a previous model's stored firing rates since there is no more model_identifier to separate them. When you revert this, can you add a comment to better explain?
Collaborator
Author
Comment on lines
+99
to
+98
| def filter_receptive_fields(model_identifier, model, region, pos, rf_delta=RF_DELTA): | ||
| rf_pos, rf_map = map_receptive_field_locations(model_identifier=model_identifier, model=model, region=region) | ||
| def filter_receptive_fields(model, region, pos, rf_delta=RF_DELTA): | ||
| rf_pos, rf_map = map_receptive_field_locations(model=model, region=region) |
Comment on lines
+108
to
+106
| def map_receptive_field_locations(model_identifier, model: BrainModel, region): | ||
| def map_receptive_field_locations(model: BrainModel, region): |
Member
There was a problem hiding this comment.
same problem as above -- need model_identifier
Comment on lines
+157
to
+155
| def firing_rates_affine(model_identifier, model: BrainModel, region): | ||
| def firing_rates_affine(model: BrainModel, region): |
Member
There was a problem hiding this comment.
same problem as above -- need model_identifier
Comment on lines
+168
to
+166
| in_rf = filter_receptive_fields(model_identifier=model_identifier, model=model, region=region, pos=stim_pos) | ||
| in_rf = filter_receptive_fields(model=model, region=region, pos=stim_pos) |
| bucket="brainio-brainscore", | ||
| csv_sha1="4205eca54974da46accba7812fce25c1b6df58e0", | ||
| zip_sha1="ab07880a0770bd73f68bcd5fd34e6cd945ee17fc", | ||
| zip_sha1="3eacddfecd825b18026da3e4c749d5d1bc9213ed", |
| identifier="aru.Kuzovkin2018", | ||
| version_id="nk5w.m3N1D4fWg2PeY9_AJb5yY6UtPeM", | ||
| sha1="5fae8b283a043562ce9925d48ad99db151f39067", | ||
| sha1="c3787b30ffdc6816e245a8f8d8f2096d8bf85569", |
Comment on lines
+32
to
+33
| csv_sha1="a5990b24aea3e453756141cbe69a83304db72d0b", | ||
| zip_sha1="cca4d819d7743bdd4bf65c1cb2439fd0ec97543a", | ||
| csv_sha1="f40cbe9f385c2f391952bcc91cec3878a18f0bc4", | ||
| zip_sha1="9698c22f30b19d68bbb72195eaefbdf4a5899f57", |
| identifier="klab.Zhang2018search_obj_array", | ||
| version_id="EDRblSpQTmoaKRdiY4JEoQ.1UO8mo0Tk", | ||
| sha1="84400dc814b79df8d8eca99a557df5f741cce4b9", | ||
| sha1="9357581c4082de3ed5031c914468fd24c57ac9cf", |
Comment on lines
+22
to
+23
| csv_sha1="e9c2f6b35b84256242d257e8d36261aa26d3ed4a", | ||
| zip_sha1="d92dfb20a87bb9a015c77c2862a215e8fa4f2cc3", | ||
| csv_sha1="4808db57a59c44ee4900e2cf914e76bf42c61bcd", | ||
| zip_sha1="eab5e52730cc236e71e583a2c401208380dc8628", |
This reverts commit a5a9672.
shehadak
force-pushed
the
ks/fix-plugin-tests
branch
2 times, most recently
from
January 3, 2024 16:09
6a14d42 to
4715a93
Compare
deirdre-k
self-requested a review
July 1, 2024 13:43
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.