f7d1f15738a979db71201a2906f560fbb1f1b862,tests/test_policies.py,TestTwoStageFallbackPolicy,test_confirm_clarification,#TestTwoStageFallbackPolicy#Any#Any#,512

Before Change


                  user_uttered("greet", 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_ask_confirmation"

    def test_confirmed_clarification(self, trained_policy, domain):
        events = [ActionExecuted(action_name=ACTION_LISTEN_NAME),

After Change


                  user_uttered("greet", 0.2),
                  ]

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

        assert next_action == ACTION_DEFAULT_ASK_CONFIRMATION

    def test_confirmed_clarification(self, trained_policy,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 11

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_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_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_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_listen_after_hand_off


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