Skip to content

Commit

Permalink
disable MoE output in frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate-Wessel committed Jul 10, 2024
1 parent 2ceea8e commit df56ac5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/travelTimeQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ export class TravelTimeQuery {
record.set('hoursInRange', this.hoursInRange)
record.set('mean_travel_time_minutes', this.#results?.travel_time?.minutes)
record.set('mean_travel_time_seconds', this.#results?.travel_time?.seconds)
record.set('moe_lower_p95', this.#results?.confidence?.intervals?.['p=0.95']?.lower?.seconds)
record.set('moe_upper_p95', this.#results?.confidence?.intervals?.['p=0.95']?.upper?.seconds)
// turning these off in the frontend until they're ready for production
//record.set('moe_lower_p95', this.#results?.confidence?.intervals?.['p=0.95']?.lower?.seconds)
//record.set('moe_upper_p95', this.#results?.confidence?.intervals?.['p=0.95']?.upper?.seconds)

if(type=='json'){
return Object.fromEntries(record) // can't JSONify maps
Expand Down

0 comments on commit df56ac5

Please sign in to comment.