8258c5500108110525aef16fa20ee0f47f435b1e,rasa/core/policies/memoization.py,MemoizationPolicy,predict_action_probabilities,#MemoizationPolicy#Any#Any#Any#,218

Before Change


    ) -> PolicyPrediction:
        result = self._default_predictions(domain)

        tracker_as_states = self.featurizer.prediction_states([tracker], domain)
        states = tracker_as_states[0]
        logger.debug(f"Current tracker state:{self.format_tracker_states(states)}")
        predicted_action_name = self.recall(states, tracker, domain)
        if predicted_action_name is not None:
            logger.debug(f"There is a memorised next action "{predicted_action_name}"")

After Change


        
        result = self._default_predictions(domain)

        states = self._prediction_states(tracker, domain)
        logger.debug(f"Current tracker state:{self.format_tracker_states(states)}")
        predicted_action_name = self.recall(states, tracker, domain)
        if predicted_action_name is not None:
            logger.debug(f"There is a memorised next action "{predicted_action_name}"")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: RasaHQ/rasa
Commit Name: 8258c5500108110525aef16fa20ee0f47f435b1e
Time: 2021-03-22
Author: vladimir@rasa.com
File Name: rasa/core/policies/memoization.py
Class Name: MemoizationPolicy
Method Name: predict_action_probabilities


Project Name: RasaHQ/rasa
Commit Name: 8258c5500108110525aef16fa20ee0f47f435b1e
Time: 2021-03-22
Author: vladimir@rasa.com
File Name: rasa/core/policies/memoization.py
Class Name: AugmentedMemoizationPolicy
Method Name: _recall_using_delorean


Project Name: RasaHQ/rasa
Commit Name: 8258c5500108110525aef16fa20ee0f47f435b1e
Time: 2021-03-22
Author: vladimir@rasa.com
File Name: rasa/core/policies/rule_policy.py
Class Name: RulePolicy
Method Name: _find_action_from_rules


Project Name: RasaHQ/rasa
Commit Name: 8258c5500108110525aef16fa20ee0f47f435b1e
Time: 2021-03-22
Author: vladimir@rasa.com
File Name: rasa/core/policies/form_policy.py
Class Name: FormPolicy
Method Name: state_is_unhappy