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

Enforce uniqueness of evaluator_submission_assignment #344

Open
2 tasks
Tracked by #75
stepchud opened this issue Jan 7, 2025 · 0 comments
Open
2 tasks
Tracked by #75

Enforce uniqueness of evaluator_submission_assignment #344

stepchud opened this issue Jan 7, 2025 · 0 comments
Assignees

Comments

@stepchud
Copy link
Contributor

stepchud commented Jan 7, 2025

What/Why

As a Challenge Manager I want to ensure that submissions are only assigned to evaluators once. It should not be possible to create a duplicate assignment record with the same user_id and submission_id.

Acceptance Criteria

  • evaluator_submission_assignments have a unique index on user_id/submission_id
    • Model validation adds an error message if a duplicate submission assignment occurs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants