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
def dump_to_file(self, filename, flat=False):
After Change
// type: (List[StoryStep], Optional[Dict[Text, Text]]) -> None
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:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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: home-assistant/home-assistant
Commit Name: 58ef69b95db8056f12752ea125bc6b59b17ebb9a
Time: 2016-01-20
Author: erik.eriksson@yahoo.com
File Name: homeassistant/components/media_player/squeezebox.py
Class Name: SqueezeBoxDevice
Method Name: media_image_url
Project Name: PPPLDeepLearning/plasma-python
Commit Name: 2153072967dcf3db42db98cad2a4e526cc4c4ef4
Time: 2017-10-30
Author: julian@Julians-MacBook-Pro.local
File Name: plasma/models/shallow_runner.py
Class Name: FeatureExtractor
Method Name: get_save_prepath