remove temporary onTask debug field
Browse filesRoot 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.
- 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 |
}
|