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

Get confidenceThreshold from config file #780

Merged
merged 1 commit into from
Aug 11, 2021

Conversation

GabrielKS
Copy link
Contributor

Use the confidenceThreshold from the server

  • Get confidenceThreshold from the trip object instead of using a hardcoded placeholder

End-to-end testing:

  1. Use server and client branches with only mode and purpose
  2. Enable placeholder predictor 3
  3. Use an expectations config that has a relaxed mode with a confidenceThreshold < 0.80 and an intensive mode with a confidenceThreshold >= 0.80 with a schedule beginning at 2015-07-22T16:00:00 local time
  4. Reset pipeline; load and intake the shankari_2015-07-22 test_july_22 test dataset
  5. Ensure on the client that the second most recent trip has all yellow labels and that the most recent trip has all red labels

 + Get confidenceThreshold from the trip object instead of using a hardcoded placeholder

End-to-end testing:
 1. Use server and client branches with only mode and purpose
 2. Enable placeholder predictor 3
 3. Use an expectations config that has a relaxed mode with a confidenceThreshold < 0.80 and an intensive mode with a confidence threshold >= 0.80 with a schedule beginning at 2015-07-22T16:00:00 local time
 2. Reset pipeline; load and intake the shankari_2015-07-22 test_july_22 test dataset
 4. Ensure on the client that the second most recent trip has all yellow labels and that the most recent trip has all red labels
@shankari shankari merged commit 6f0235d into e-mission:master Aug 11, 2021
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

Successfully merging this pull request may close these issues.

2 participants