-
Notifications
You must be signed in to change notification settings - Fork 81
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
Add ordering for DifficultyTag and DiffultyTagLocalization #438
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
twalen
approved these changes
Dec 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
twalen
added a commit
that referenced
this pull request
Dec 16, 2024
)" This reverts commit 95da4bc.
reivvax
added a commit
to reivvax/oioioi
that referenced
this pull request
Dec 22, 2024
commit 9d32a09 Author: Tomasz Waleń <[email protected]> Date: Mon Dec 16 18:19:20 2024 +0100 Revert "Add ordering for DifficultyTag and DiffultyTagLocalization (sio2project#438)" (sio2project#446) This reverts commit 95da4bc. commit 95da4bc Author: reivvax <[email protected]> Date: Mon Dec 16 17:31:44 2024 +0100 Add ordering for DifficultyTag and DiffultyTagLocalization (sio2project#438) * Add ordering for DifficultyTag and DiffultyTagLocalization * Make migrations commit ae10597 Author: Grzegorz Franciszek Krawczyk <[email protected]> Date: Mon Dec 16 17:29:45 2024 +0100 Aggregated tag proposals (sio2project#431) * Add new AggregatedAlgorithmTagProposal class. * Make AggregatedAlgorithmTagProposal increase each time a new AlgorithmTagProposal is created. This is most likely a temporary implementation. * Change handling of modification of AggregatedAlgorithmTagProposal to happen when adding or deleting AlgorithmTagProposals. * Remove created argument from decrease_aggregated_algorithm_tag_proposal, correct increase function to only increase amount of AggregatedTag if a new AlgorithmTagProposal is created, not when modified. * Split test_tags.py into test_tags.py file, testing AlgorithmTag and DifficultyTag classes and test_tag_proposals.py file, testing AlgorithmTagProposal and DifficultyTagProposal classes. * Expand test_save_proposals_view in TestSaveProposals class to also check AggregatedAlgorithmTagProposal. * Add AggregatedDifficultyTagProposal. * Add checking AggregatedDifficultyTagProposal in test_save_poposals_view in TestTagProposals class. Fix mistaken 'assertEquals' to 'assertEqual'. * Migrate AggregatedTagProposal classes. * Fixed test_tag_proposals.py to work correctly. * Remove unnecessary import. * Add data migration from TagProposal models to AggregatedTagProposal models. * Remove unnecessary import. * Initial version of test_data_migrations.py. It should be restructured. * Change import of migration function from static to dynamic. * Change user primary keys to keys corresponding to valid users from test_users fixture. * Change usages of creates in for loops to bulk_creates. * Change exceptions raised to logged messages. * Make increase_aggregated and decrease_aggregated functions more compact. * Add atomicity to increase and decrease functions. * Avoided repeating code through making generic function that increases tag proposals for given aggregated model. * Add exception logging for decrease_aggregated_tag_proposal function. * Simplify tests testing Aggregated Tag Proposals with helper functions. * Fix comment explaining _get_tag_amounts helper function. * Remove needles whitespaces and end of lines. commit 9392524 Author: reivvax <[email protected]> Date: Mon Dec 16 17:24:58 2024 +0100 Optimize teacher dashboard (sio2project#439) * Start working on optimizing teacher dashboard * Optimize database queries in contest dashboard view * Add test for round context * Fix test for round context * Fix fixtures for simpleui tests * Adjust test style commit e0d3fa2 Author: Michał Birecki <[email protected]> Date: Mon Dec 16 16:18:36 2024 +0100 Disable USE_SINOLPACK_MAKEFILES for test_single_file_replacement test (sio2project#442) commit a761f89 Author: Max Baak <[email protected]> Date: Fri Dec 13 10:16:17 2024 +0100 FIX: correct small typos in readme file (sio2project#443) Co-authored-by: kx79wq <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #344