Skip to content

Commit

Permalink
chore: py.flask clf threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
yaronskaya authored Mar 14, 2019
1 parent e0aa4d2 commit 69c7874
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/app/extractors/ClassifierManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ class ClassifierManager {
// TODO(lyaronskaya): move thresholds to protobuf.
if (libId == "rb.rails") {
prob > 0.91
} else if (libId == "py.flask") {
prob > 0.95
} else if (libId.startsWith(Lang.PLPGSQL)) {
prob > 0.7
} else if (libId.startsWith(Lang.PHP)) {
Expand Down

0 comments on commit 69c7874

Please sign in to comment.