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

Balanced search results in auto-debugger #20

Open
Demfier opened this issue Nov 23, 2017 · 3 comments
Open

Balanced search results in auto-debugger #20

Demfier opened this issue Nov 23, 2017 · 3 comments

Comments

@Demfier
Copy link
Collaborator

Demfier commented Nov 23, 2017

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.

@kurianbenoy
Copy link
Collaborator

Can you please explain more about the issue?

@kaustubhhiware
Copy link
Owner

@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.

@Demfier
Copy link
Collaborator Author

Demfier commented Nov 30, 2017

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants