Coder Social home page Coder Social logo

bug-auc's Introduction

Bug-AUC

System, programs or code toolkits would report bug/error information when something goes wrong. Generally, a bug report should be regarded as a bug, and actions must be taken to avoid it. But as program grows more and more complicated, one may find out that some bug/error information would not affect system correctness. For example, one day you found a goddamn error message in your program log, which happens every day and every hour, and you try to figure out its causes, but finally another colleague tells you just ignore this error message because it is not a real bug and it do no harm to your system. On the other hand, your program may go wrong without any error or bug message, which also could happens every day and every hour, finally it takes you lots of expensive efforts to corretify your program.

Bug Report No Bug Report
Real Bug True Positive (TP) False Negative (FN)
No Bug False Positive (FP) True Negative (TN)

As is mentioned above, some bug reports does not mean actual bugs, so these can be regarded as False Positives (FP) Bugs. Conversely, some real bugs are not reported, which are considered as False Negatives (FN). FN bugs are more harmful than FP bugs. With True Positive (TP) and True Negative (TN) definition, precision, recall and f1-score can be calculated, just like what we do in assessing binary classification models. Furthermore, If we've got a model in every bug report that tells us the bug probability in such case, an AUC score can be evaluated, which is called Bug-AUC.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.