f7d1f15738a979db71201a2906f560fbb1f1b862,tests/test_policies.py,TestTwoStageFallbackPolicy,test_unknown_instead_confirmation,#TestTwoStageFallbackPolicy#Any#Any#,581

Before Change


                  user_uttered("bye", 0.2),
                  ]

        tracker = get_tracker(events)
        scores = trained_policy.predict_action_probabilities(tracker, domain)
        index = scores.index(max(scores))
        assert domain.action_names[index] == "action_default_fallback"

    def test_listen_after_hand_off(self, trained_policy, domain):
        events = [ActionExecuted("action_default_fallback")]

After Change


        next_action = self._get_next_action(trained_policy, events,
                                            default_domain)

        assert next_action == ACTION_DEFAULT_FALLBACK_NAME

    def test_listen_after_hand_off(self, trained_policy, default_domain):
        events = [ActionExecuted(ACTION_DEFAULT_FALLBACK_NAME)]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: RasaHQ/rasa
Commit Name: f7d1f15738a979db71201a2906f560fbb1f1b862
Time: 2018-12-06
Author: t.wochinger@rasa.com
File Name: tests/test_policies.py
Class Name: TestTwoStageFallbackPolicy
Method Name: test_unknown_instead_confirmation


Project Name: RasaHQ/rasa
Commit Name: f7d1f15738a979db71201a2906f560fbb1f1b862
Time: 2018-12-06
Author: t.wochinger@rasa.com
File Name: tests/test_policies.py
Class Name: TestTwoStageFallbackPolicy
Method Name: test_ask_confirmation


Project Name: RasaHQ/rasa
Commit Name: f7d1f15738a979db71201a2906f560fbb1f1b862
Time: 2018-12-06
Author: t.wochinger@rasa.com
File Name: tests/test_policies.py
Class Name: TestTwoStageFallbackPolicy
Method Name: test_denied_clarification_confirmation


Project Name: RasaHQ/rasa
Commit Name: f7d1f15738a979db71201a2906f560fbb1f1b862
Time: 2018-12-06
Author: t.wochinger@rasa.com
File Name: tests/test_policies.py
Class Name: TestTwoStageFallbackPolicy
Method Name: test_confirm_clarification


Project Name: RasaHQ/rasa
Commit Name: f7d1f15738a979db71201a2906f560fbb1f1b862
Time: 2018-12-06
Author: t.wochinger@rasa.com
File Name: tests/test_policies.py
Class Name: TestTwoStageFallbackPolicy
Method Name: test_unknown_instead_confirmation