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

Write script to evaluate the results of the tool #39

Open
marco-c opened this issue Mar 17, 2017 · 3 comments
Open

Write script to evaluate the results of the tool #39

marco-c opened this issue Mar 17, 2017 · 3 comments

Comments

@marco-c
Copy link
Owner

marco-c commented Mar 17, 2017

The script should:

  1. Train the model
  2. Get a set of bugs from Bugzilla
  3. For each bug:
  • Get all signatures;
  • Verify that the tool considers those signatures to be similar
  • Verify that the tool, given a stack trace from one of the signatures, would have suggested a stack trace from one of the other signatures

Ideally, we have to somehow assign a score to the results of the tool, so we can compare different implementations (e.g. different word embeddings).

@marco-c
Copy link
Owner Author

marco-c commented Mar 22, 2017

To clarify, let's say a bug contains three signatures: A, B and C.

There are two simple things we can to to verify the results of the tool make sense:

  1. Verify if the tool considers signatures taken in pairs to be similar (e.g. A and B, B and C, C and A).

  2. Given in input a stack trace from A (then from B, then from C), the tool suggests X top similar stack traces. We can verify if these stack traces are either in A, B or C.

@marco-c
Copy link
Owner Author

marco-c commented Mar 30, 2017

Example of a bug containing multiple signatures: https://bugzilla.mozilla.org/show_bug.cgi?id=1333486.

@KirillTim
Copy link
Contributor

KirillTim commented Mar 31, 2017

Seems to be done

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