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

[Human App][Text Example] Integrate Text Example Job Type into Human App #1466

Open
simulacrum6 opened this issue Jan 16, 2024 · 0 comments
Open

Comments

@simulacrum6
Copy link
Contributor

Description
The new job type for the text example (#778) needs to be integrated into the human app. This requires adding a registration function into the backend and requires a registration function, projects overview and password lookup on the frontend.

Implementation details

When users want to perform a text span annotation job, they

  • need to be registered to the exchange oracle
  • need to request assignment of an annotation task

Once they request an assignment, they will receive a password for this particular assignment (required by the annotation tool).

This means that the backend needs to send a request to the exchange oracle's /user/register endpoint (see #1350) to register the user and the /job/assign endpoint to assign a job (see the exchange oracle specification). The assign job endpoint will contains the password for the assigned task and a link to the annotation tool.

{ password: str, url: str }

Those need to be stored on the users's profile and displayed to the user in the frontend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant