c0derunR
c0derunR copied to clipboard
Balanced search results in auto-debugger
As of now, we show top 10 legit links as suggestions but that is very naturally, a biased way. We need to pick up a balanced list of results, that would not leave any of important key features.
Can you please explain more about the issue?
@kurianbenoy When you click on the DEBUG button, it is supposed to show most relevant links to solve any compilation error you might receive. However, it is not working as intended. You can talk to @Demfier about this.
@kurianbenoy - Sorry for the delayed response. But yeah -
Have a look at the following piece of code from home
module in coyote/views.py
.
We build the links
array which contains the desired suggestions we obtain by searching for every keyword extracted from the error message. But finally it being truncated to just the first 10 links in line 81. Now what this basically does is that it discards the links we've got from other keywords. I hope now you can understand the bias. So, it would be better if we keep the links from all the searched keywords.
Let me know what solution you think of. Cheers!