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

Import validations from ASSETS dataset into our dbs #3583

Open
misaugstad opened this issue Jun 29, 2024 · 0 comments
Open

Import validations from ASSETS dataset into our dbs #3583

misaugstad opened this issue Jun 29, 2024 · 0 comments
Assignees

Comments

@misaugstad
Copy link
Member

Brief description of problem/feature

As part of our upcoming ASSETS submission, @hoominchu, @kevinjtwu @JeremyFreiburger, and others validated thousands of labels (including their tags). We need to get these validations loaded into our db so that everyone can benefit from those contributions!

Potential solution(s)

Some steps that need to happen:

  1. Make sure that everyone who validated has an account created in every city where they validated so that we can credit their accounts with their contributions! Most (if not all) of these have already been created, because they were using admin tools on those servers to spot check.
  2. Get the final CSVs with the validations from @hoominchu. Sounds like there are a final few validations trickling in, so have to wait a little bit (won't have time to do this before I go to Europe next week anyway)
  3. Write a Python script to take in those CSVs, connect to the db, and make the updates in the same way that we do it in Scala when a validation is added through the new Validate page. And alternative could be to create an API endpoint that handles this stuff in Scala, and the Python script could instead use that API. I think that this is likely less error-prone, but also sounds more annoying to me :)
@misaugstad misaugstad self-assigned this Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: in progress
Development

No branches or pull requests

1 participant