#41 Use search result scores to show best matching result on top of list

已合并
DebenOldert 5 年之前 将 3 次代码提交从 DebenOldert/scoring_results合并至 DebenOldert/master

By using a system to score each search result, the best results are shown on top of the list. This also lays the foundation for automated setup. Based on #11

Currently, the system decreases the score if this occurs:

Criteria Score
Duration <180s -0.5
Duration >600s -1
'radio' in title -1
Artist does not match search -2
Title does not match search -2

The system increases the score if this occurs:

Criteria Score
Title is perfect match == +1
Song duration is known +0.1
File size is known +0.1

These lists will be updated upon further evaluation.

Only results with a score greater than 0 are shown.

By using a system to score each search result, the best results are shown on top of the list. This also lays the foundation for automated setup. Based on #11 Currently, the system decreases the score if this occurs: | Criteria | Score | | --- | --- | | Duration <180s | -0.5 | | Duration >600s | -1 | | 'radio' in title| -1 | | Artist does not match search | -2 | | Title does not match search | -2 | The system increases the score if this occurs: | Criteria | Score | | --- | --- | | Title is perfect match `==` | +1 | | Song duration is known | +0.1 | | File size is known | +0.1 | These lists will be updated upon further evaluation. Only results with a score greater than 0 are shown.
Deben Oldert 评论于 5 年之前
所有者

Tested for a night. Results look good, the desired item to download is always shown on top :+1:

Tested for a night. Results look good, the desired item to download is always shown on top :+1:
该合并请求已经成功合并!
登录 并参与到对话中。
未选择里程碑
未指派成员
1 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。