Skip to content

Commit

Permalink
Merge pull request #310 from sourcerer-io/develop
Browse files Browse the repository at this point in the history
fix: raise rails threshold (#309)
  • Loading branch information
anatolystansler authored Jul 11, 2018
2 parents 9717021 + d88491d commit 1e64a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/extractors/ClassifierManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class ClassifierManager {
val prob = prediction[cache[libId]!!.libraries.indexOf(libId)]
// Libraries with no imports.
if (libId == "rb.rails") {
prob > 0.8
prob > 0.91
} else {
prob > 0.5
}
Expand Down

0 comments on commit 1e64a70

Please sign in to comment.