-
Notifications
You must be signed in to change notification settings - Fork 61
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
Potential swapping of columns on save to the DB (was: Triage swaps importance score and feature value in the test_results.individual_importances) #744
Comments
Ugh! This is true! And possible with deeper implications: The culprit is: triage/src/triage/component/catwalk/utils.py Lines 244 to 261 in 1dc8a4a
The last line In our case:
But the table
I am worried that this happens in other tables or we just were lucky! |
* Python 3 interprets string literals as Unicode strings. We should prepend with 'r' the strings in a regex * Closes #744
When calculating individual importances, Triage appears to store values for importance score in
test_results.individual_importances.feature_value
, and values for feature value intest_results.individual_importances.importance_score
.The text was updated successfully, but these errors were encountered: