ikarasz commited on
Commit
2f1c58b
·
1 Parent(s): 441e17b

remove temporary onTask debug field

Browse files

Root cause confirmed as a stale endpoint deployment (redeployed old
revision after the label fix), not a code bug. mathWord now works
as expected; no longer need the raw prediction exposed in the API
response.

Files changed (1) hide show
  1. handler.py +0 -1
handler.py CHANGED
@@ -101,7 +101,6 @@ class Utterance:
101
  'wordCount': self.word_count,
102
  'numMathTerms': self.num_math_terms,
103
  'mathTerms': self.math_terms,
104
- 'onTask': self.on_task, # temporary: raw {label, score} for debugging mathWord source
105
  'vocabularyTerms': self.vocabulary_terms,
106
  'vocabularyMatches': self.vocabulary_matches
107
  }
 
101
  'wordCount': self.word_count,
102
  'numMathTerms': self.num_math_terms,
103
  'mathTerms': self.math_terms,
 
104
  'vocabularyTerms': self.vocabulary_terms,
105
  'vocabularyMatches': self.vocabulary_matches
106
  }