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

Type Activity/Stage/Round/Pool #1347

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

jchaffraix
Copy link
Collaborator

@jchaffraix jchaffraix commented Oct 4, 2024

Those 4 are closely coupled so it made
sense to handle them as a single PR.

Unfortunately due to the coupling, the return of
some key getters were not added, instead I added
a comment explaning the situation. Properly typing will likely require some refactoring to split up
the per-type lists, which is better done in a follow-up.

TEST=Checked a user's available rounds, updated a project's state to confirm that the rounds/pools were still listed.

Update from cpeel: sandbox at https://www.pgdp.org/~cpeel/c.branch/julien_type_Activity/

Those 4 are closely coupled so it made
sense to handle them as a single PR.

Unfortunately due to the coupling, the return of
some key getters were not added, instead I added
a comment explaning the situation. Properly typing
will likely require some refactoring to split up
the per-type lists, which is better done in a follow-up.

TEST=Checked a user's available rounds, updated a project's state
to confirm that the rounds/pools were still listed.
pinc/Activity.inc Show resolved Hide resolved
pinc/Activity.inc Outdated Show resolved Hide resolved
jchaffraix and others added 3 commits October 9, 2024 13:01
We round the user's registration to the closest .1 day
so we must return a float from get_user_score.
@cpeel cpeel requested review from chrismiceli, 70ray and srjfoo October 11, 2024 23:19
@cpeel cpeel added the ready-for-merge PR is ready for merging after freeze/slush label Oct 13, 2024
@cpeel cpeel merged commit c0170de into DistributedProofreaders:master Oct 15, 2024
12 checks passed
@jchaffraix jchaffraix deleted the julien_type_Activity branch October 15, 2024 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge PR is ready for merging after freeze/slush
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants