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

Feature request : similarity detection using blind spots #7

Open
Bastes opened this issue May 6, 2010 · 3 comments
Open

Feature request : similarity detection using blind spots #7

Bastes opened this issue May 6, 2010 · 3 comments

Comments

@Bastes
Copy link

Bastes commented May 6, 2010

Problem :

Ruby on Rails apps error reports include precise instance IDs in this way :
#ErrorController:0x92511c0
The 0x92511c0 prevents similar errors from regrouping.

Possible solution :

Introduce "blind spot" patterns applied to the error texts before detecting similarity. They could be expressed in regexp form with the blinded replacement in an hash :
{ /(<\w+):0x[0-9a-f]+(>)/ => '\1\2', /(some_parameter: )\d+/ => '\1' }

@shingara
Copy link
Member

shingara commented May 6, 2010

I agree with you. Can you put a patch for applying ?

@Bastes
Copy link
Author

Bastes commented May 6, 2010

For now it's just an idea, I haven't dived into ErrorNot as yet but probably will considering I'm not the only one that would find it useful ^^

@shingara
Copy link
Member

shingara commented May 6, 2010

Yes it's in my mind too.

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

No branches or pull requests

2 participants