4a02df999f2df0ffff4f895dd62aa92001f71aea,rasa_core/evaluate.py,,_collect_user_uttered_predictions,#Any#Any#Any#Any#Any#,169
Before Change
predictions.append(predicted_intent)
golds.append(intent_gold)
entity_golds, predicted_entities = [], []
if training_data.entity_examples:
entities = training_data.entity_examples[0].get("entities")
entity_golds.extend([ent["entity"] for ent in entities])
After Change
def _collect_user_uttered_predictions(e2e_reader, event, interpreter,
partial_tracker,
fail_on_prediction_errors):
evaluation_store = EvaluationStore()
message = e2e_reader._parse_item(event.text)
training_data = TrainingData([message])
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: RasaHQ/rasa
Commit Name: 4a02df999f2df0ffff4f895dd62aa92001f71aea
Time: 2018-10-08
Author: ric.wkr@gmail.com
File Name: rasa_core/evaluate.py
Class Name:
Method Name: _collect_user_uttered_predictions
Project Name: RasaHQ/rasa
Commit Name: 4a02df999f2df0ffff4f895dd62aa92001f71aea
Time: 2018-10-08
Author: ric.wkr@gmail.com
File Name: rasa_core/evaluate.py
Class Name:
Method Name: collect_story_predictions
Project Name: RasaHQ/rasa
Commit Name: 4a02df999f2df0ffff4f895dd62aa92001f71aea
Time: 2018-10-08
Author: ric.wkr@gmail.com
File Name: rasa_core/evaluate.py
Class Name:
Method Name: _collect_action_executed_predictions
Project Name: RasaHQ/rasa
Commit Name: 4a02df999f2df0ffff4f895dd62aa92001f71aea
Time: 2018-10-08
Author: ric.wkr@gmail.com
File Name: rasa_core/evaluate.py
Class Name:
Method Name: _predict_tracker_actions