Skip to content

[Enhancement] Assign examples to members#2261

Merged
Hironsan merged 24 commits intomasterfrom
enhancement/assignment
Aug 10, 2023
Merged

[Enhancement] Assign examples to members#2261
Hironsan merged 24 commits intomasterfrom
enhancement/assignment

Conversation

@Hironsan
Copy link
Copy Markdown
Member

@Hironsan Hironsan commented Aug 9, 2023

This PR introduces the following assignment features:

  • Assign an example at a time
  • Bulk assign examples to the project members

Assign an example at a time

The project manager can assign examples to members. This allows for flexible assignments but can be stressful if there are many examples.

image

Bulk assign

The project manager can assign examples to members in bulk. They can select the following:

  • Assignment strategy: This controls how to assign examples.
  • Weights per member: This controls how many examples the project manager assigns each member.

image

Result

  • The annotators can annotate the assigned examples only.
  • The project managers can access all the examples.

Resolved issues

Resolve #948
Resolve #1113
Resolve #1515
Resolve #1993

@Hironsan Hironsan merged commit 6387097 into master Aug 10, 2023
@Hironsan Hironsan deleted the enhancement/assignment branch August 10, 2023 04:32
@kuraga
Copy link
Copy Markdown
Contributor

kuraga commented Aug 10, 2023

@Hironsan , thank you very much!

Are you sure #1113 has been solved by this PR? 7dc58a5 and b4c72af, or which commits did it?

@Hironsan
Copy link
Copy Markdown
Member Author

Hironsan commented Aug 10, 2023

I think 7dc58a5 solved the issue.

@kuraga
Copy link
Copy Markdown
Contributor

kuraga commented Aug 10, 2023

I think 7dc58a5 solved the issue.

Is queryset.order_by("assignments__id") really random?

@Hironsan
Copy link
Copy Markdown
Member Author

I think so.

id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)

If there are better approach, please let me know.

@kuraga
Copy link
Copy Markdown
Contributor

kuraga commented Aug 10, 2023

Ah, ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants