-
Notifications
You must be signed in to change notification settings - Fork 13
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
Embargo end date should not be a user populated field #2116
Comments
@jjnesbitt - the nih requirement is more complicated: end of award or publication of paper whichever is earlier. we could ask the user for end of award date when they create an embargoed dataset. and use that to set any asset. i agree that this shouldn't be a user filled element, and should be updated when unembargoed. |
Thanks for the clarification. Is there any concern about verifying this end of award date? For example, a user could set an "end of award" date 10 years in the future, just because they don't feel like dealing with it. |
no award is typically more than 5 years. so we should put in that sanity check. we can perhaps verify and update as an admin component. when that happens, i suspect some command may need to be run to update everything. for nih, awards we should really use the reporter.nih.gov API to pull in award name and project end date. however, all awards will not be nih. hence this may require a bit of work to restructure the registration (people have also complained that we only say nih on that dandiset embargo registration page). |
Thanks @jjnesbitt.
I might be missing some context but why can the embargo end date only be a maximum of 1 year from the current date?
If the Archive is to automatically unembargo a Dandiset, I would suggest that we should send out several warning emails (6 months prior to unembargo date, 1 month prior, after unembargo), and provide the option to extend the unembargo date if the grant was extended. It is fairly common for the grant end date to be extended by a year. |
That's what I thought was the NIH requirements. Satra has already pointed out that there's more to it than that, so I must've been mistaken about that. My point was, some maximum so that embargoed dandisets aren't embargoed indefinitely.
I agree. I suppose the question is then, do we care to verify the embargo end date, and if so, how? I like the idea of the user that's creating a dandiset providing an award number, and us automatically pulling in that info (including end date). However, I'm not sure how many non NIH awards we'll need to deal with. |
I think that it would be good to verify the project end date. The NIH Reporter API allows one to search for projects and returns the project end date. I'm not sure how quickly it is updated if the grant is extended. I'm also not sure how many non NIH awards we'll need to deal with, but perhaps we can just not verify the non NIH awards for now and address those cases in the future based on user demand? |
on the UI side for an embargoed dandiset registration: if NIH award: allow searching info from reporter api and allow setting to earlier date if needed on the admin side:
|
That seems like a pretty good set of requirements. What would the verification flag represent exactly? If the award number (and thus, end date) has been verified? |
if NIH auto-extracted, it could be set to True |
Due to the trouble this is causing for end users in #2089, I think we should come up with a short term solution to re-enable usability while we tackle the deeper policy problems here. Here are three solution strategies I think we could pursue, in descending order of speed-to-deploy and ascending order of pain-to-implement:
As a practical matter, I think a quick solution that gives way to a better, slower solution would be valuable to prevent further pain to end users. That means implementing (1) and then getting serious about exploring whether (2), (3), or some other solution is the proper permanent solution. @satra, @yarikoptic, @kabilar: thoughts? |
Currently, the
embargoedUntil
field in the asset metadata is required to be set if the dandiset is embargoed. However, this is often not set, and as a result, people are left with validation errors. Here is where that error is generated in dandi-schema.IMO this should not be a user filled field, and should instead be automatically populated by the archive. When a user first creates an embargoed dandiset, we could require that the user set an embargo end date, with a maximum of 1 year from the current date (as per NIH requirements). This would then automatically populate that field in the schema, and when that time comes, we would automatically unembargo that dandiset. If the user unembargos before that previously set unembargo end date, we can update it to when it was actually unembargoed.
Thoughts @satra @yarikoptic?
The text was updated successfully, but these errors were encountered: