64b490ef173980f760d03bdf15ade430e629dad0,ikyCore/models.py,,,#,12
Before Change
After Change
activity = DictField(required=True)
if __name__ == "__main__":
newUser = User(name="Iky")
newUser.email = "iky@pealdatadirect.com"
newUser.save()
newStory = Story()
newStory.storyName = "Hello world"
newStory.labels = ["firstName", "lastName"]
newStory.actionName = "sayHello"
newStory.actionType = "1"
newStory.user = newUser
newStory.save()
newLabeledSentence = LabeledSentences()
newLabeledSentence.data = [["hello", "VB", "O"], ["haai", "VB", "O"]]
newLabeledSentence.story = newStory
newStory.labeledSentences.append(newLabeledSentence)
newStory.save()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: alfredfrancis/ai-chatbot-framework
Commit Name: 64b490ef173980f760d03bdf15ade430e629dad0
Time: 2016-07-01
Author: alfred.francis@pearldatadirect.com
File Name: ikyCore/models.py
Class Name:
Method Name:
Project Name: tensorflow/tpu
Commit Name: b33ab691edd877e7ec9a904b05c059f2ab316ca8
Time: 2017-09-24
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v2.py
Class Name:
Method Name: main
Project Name: tensorflow/tpu
Commit Name: b33ab691edd877e7ec9a904b05c059f2ab316ca8
Time: 2017-09-24
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v3.py
Class Name:
Method Name: main