Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Synpulse assignment MK#27

Open
Kuchto47 wants to merge 13 commits intoinfinityworks:mainfrom
Kuchto47:main
Open

Synpulse assignment MK#27
Kuchto47 wants to merge 13 commits intoinfinityworks:mainfrom
Kuchto47:main

Conversation

@Kuchto47
Copy link

Since i had to do "number of assumptions", i did following:

User is able to filter from Scottish and English countries.
Mapping of Rating values was done according to supplied tables in the assignment, even though they appear to be either partial or wrong.

Refactored majority of code to show how i practice clean code.

Tests implementation was not mandatory so i added no tests.

Regarding the API - its documentation is rather vague, and there are multiple discrepancies between information given in assignment and information stated in the API documentation (eg. possible values for different SchemeTypes).

For sorting i wanted to use sortOptionKey=desc_rating but for some reason, in case of england, ratings then started with value 0 (which to me seems more like an ascending, rather than descending sorting), so i resorted to using sortOptionKey=rating instead.

I hope you like the code.
Happy review:)

@Kuchto47 Kuchto47 changed the title Synpulse assignment Synpulse assignment MK Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant