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

ICD-10 API: score based ranking + filtering of matches #4

Closed
4 tasks done
andreakreichgauer opened this issue Aug 17, 2020 · 0 comments
Closed
4 tasks done

ICD-10 API: score based ranking + filtering of matches #4

andreakreichgauer opened this issue Aug 17, 2020 · 0 comments
Labels
Priority: Medium Medium priority issue. Status: In Progress This is currently worked on. Type: Story An improvement to the project from a user's perspective.

Comments

@andreakreichgauer
Copy link
Contributor

andreakreichgauer commented Aug 17, 2020

🚀 Describe the Improvement

As a user, I'd like to have a convenient trade off between getting a narrow list of matches, but also getting a complete list of relevant results.
Therefore the API should not only search for matches, but also perform a kind scoring, which can be used for ranking (and filtering) results.

Example: A user enters the term "idiopathic parkinson syndrom".
Only the combinations of "idiopathic AND parkinson" and "syndrom AND parkinson" should lead to relevant results.
Nevertheless, the combination of "idiopathic AND syndrom" will also lead to a huge number of matches, that blur the overall result.

Therefore, scoring of matches should take into account, if (combinations of) search terms seem to be too generic, to be considered as matches.

✔ Goals

To complete this story, these things have to be done:

  • implement scoring (based on fuse.js fuzzy score and custom scoring)
  • implement custom score, considering if term is too generic
  • rank results based on score
  • filter results (e.g. based on threshold) if results seems to be too wide
@andreakreichgauer andreakreichgauer mentioned this issue Aug 17, 2020
4 tasks
@andreakreichgauer andreakreichgauer added Priority: Medium Medium priority issue. Status: In Progress This is currently worked on. Type: Story An improvement to the project from a user's perspective. labels Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium Medium priority issue. Status: In Progress This is currently worked on. Type: Story An improvement to the project from a user's perspective.
Projects
None yet
Development

No branches or pull requests

1 participant