13e5fb6abb1223e377886469e48945477a7fcf28,rasa_core/training/structures.py,Story,as_story_string,#Story#Any#,190

Before Change


            if self.story_name:
                name = self.story_name
            else:
                name = "Generated Story {}".format(hash(story_content))
            return "//// {}\n{}".format(name, story_content)
        else:
            return story_content

After Change


        self.story_steps = story_steps
        self.step_lookup = {s.id: s for s in self.story_steps}
        ordered_ids, cyclic_edges = StoryGraph.order_steps(story_steps)
        self.ordered_ids = ordered_ids
        self.cyclic_edge_ids = cyclic_edges
        if story_end_checkpoints:
            self.story_end_checkpoints = story_end_checkpoints
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: RasaHQ/rasa
Commit Name: 13e5fb6abb1223e377886469e48945477a7fcf28
Time: 2018-10-23
Author: alan@golastmile.com
File Name: rasa_core/training/structures.py
Class Name: Story
Method Name: as_story_string


Project Name: Featuretools/featuretools
Commit Name: 321a0f455524b7553a66ff229f8b4c02c40a5fda
Time: 2019-06-21
Author: chrisstadler@gmail.com
File Name: featuretools/synthesis/deep_feature_synthesis.py
Class Name: DeepFeatureSynthesis
Method Name: _handle_new_feature


Project Name: pfnet/optuna
Commit Name: 358c6d5cec99f8c67c0c0ca165d07f3e766fd5d5
Time: 2019-11-05
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: optuna/structs.py
Class Name: FrozenTrial
Method Name: __hash__