64cf472a8013c33391aa1c680599400368131922,tests/test_policies.py,TestEmbeddingPolicyAttentionBeforeRNN,create_policy,#TestEmbeddingPolicyAttentionBeforeRNN#Any#,317

Before Change


    def create_policy(self, featurizer):
        // use standard featurizer from EmbeddingPolicy,
        // since it is using FullDialogueTrackerFeaturizer
        p = EmbeddingPolicy()
        return p

    @pytest.fixture(scope="module")
    def trained_policy(self, featurizer):

After Change


    def create_policy(self, featurizer):
        // use standard featurizer from EmbeddingPolicy,
        // since it is using FullDialogueTrackerFeaturizer
        p = EmbeddingPolicy(attn_before_rnn=True, attn_after_rnn=False)
        return p


class TestEmbeddingPolicyAttentionAfterRNN(PolicyTestCollection):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: RasaHQ/rasa
Commit Name: 64cf472a8013c33391aa1c680599400368131922
Time: 2019-01-25
Author: erohmensing@gmail.com
File Name: tests/test_policies.py
Class Name: TestEmbeddingPolicyAttentionBeforeRNN
Method Name: create_policy


Project Name: RasaHQ/rasa
Commit Name: 64cf472a8013c33391aa1c680599400368131922
Time: 2019-01-25
Author: erohmensing@gmail.com
File Name: tests/test_policies.py
Class Name: TestEmbeddingPolicyAttentionBoth
Method Name: create_policy


Project Name: RasaHQ/rasa
Commit Name: 64cf472a8013c33391aa1c680599400368131922
Time: 2019-01-25
Author: erohmensing@gmail.com
File Name: tests/test_policies.py
Class Name: TestEmbeddingPolicyAttentionAfterRNN
Method Name: create_policy


Project Name: RasaHQ/rasa
Commit Name: 64cf472a8013c33391aa1c680599400368131922
Time: 2019-01-25
Author: erohmensing@gmail.com
File Name: tests/test_policies.py
Class Name: TestEmbeddingPolicyNoAttention
Method Name: create_policy