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

Fixed small problems with the generation #133

Merged
merged 3 commits into from
Apr 27, 2024

Conversation

UO289845
Copy link
Contributor

Sometimes when generating head of government questions the correct answer appear as null.
Sometimes when generating population questions some of the answers could be repeated.

Sometimes it would fail when trying to fetch the correct answer and return null, since in some cases instead of simply not including the property "end time" for the current head of government, it will include that property but whithout any value
Sometimes, when transforming the values to integers, it is possible that two previouslly different numbers now are the same (extremilly unlikely but possible still). Now there's a second check to ensure that all answers are different.
@UO289845 UO289845 added the bug Something isn't working label Apr 26, 2024
@UO289845 UO289845 requested a review from Mister-Mario April 26, 2024 12:08
@UO289845 UO289845 self-assigned this Apr 26, 2024
Copy link

Copy link
Contributor

@Mister-Mario Mister-Mario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job 👍

@Mister-Mario Mister-Mario merged commit 67c897f into master Apr 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants