zirui3 commited on
Commit
d825e8c
1 Parent(s): 935736c

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -0
README.md CHANGED
@@ -1,3 +1,44 @@
1
  ---
2
  license: cc-by-4.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-4.0
3
  ---
4
+
5
+ extent the `ManySStuBs4J` dataset with more commit info(commit message、source code files...)
6
+
7
+
8
+ # sample
9
+
10
+ ```python
11
+ {
12
+ "project": "ngraph",
13
+ "commit_sha": "1445e0684fbcca2ec49a5f1becf1345159b7ba6a",
14
+ "parent_sha": "4eb8eed57e506e8a2745b298340666e9d7e5ce58",
15
+ "file_path": "ngraph/op_graph/op_graph.py",
16
+ "project_url": "https://github.com/rsumner31/ngraph",
17
+ "likely_bug": true,
18
+ "comodified": false,
19
+ "in_function": true,
20
+ "diff": "@@ -787,7 +787,7 @@ def set_item(tensor, item, value):\n sl = slice(sl)\n start, end, step = sl.indices(l)\n if step <= 0:\n- raise ValueError('Invalid slice in item {}'.format(item))\n+ raise ValueError('Invalid slice (negative step) in item {}'.format(item))\n return assign(tensor_slice(tensor, item, axes=value.axes), value)\n \n \n",
21
+ "before": "raise ValueError ( 'Invalid slice in item {}' . format ( item ) )",
22
+ "after": "raise ValueError ( 'Invalid slice (negative step) in item {}' . format ( item ) )",
23
+ "sstub_pattern": "CHANGE_STRING_LITERAL",
24
+ "edit_script": "[[\"Update\", [\"string:'Invalid slice in item {}'\", 3, 30, 3, 56], \"'Invalid slice (negative step) in item {}'\"]]",
25
+ "key": "rsumner31/ngraph@1445e0684fbcca2ec49a5f1becf1345159b7ba6a",
26
+ "commit_message": "Better error description.",
27
+ "files": [
28
+ {
29
+ "sha": "52e76a0a5acb043db75592be1bdd09fc6fedf932",
30
+ "filename": "ngraph/op_graph/op_graph.py",
31
+ "status": "modified",
32
+ "additions": 1,
33
+ "deletions": 1,
34
+ "changes": 2,
35
+ "blob_url": "https://github.com/rsumner31/ngraph/blob/1445e0684fbcca2ec49a5f1becf1345159b7ba6a/ngraph%2Fop_graph%2Fop_graph.py",
36
+ "raw_url": "https://github.com/rsumner31/ngraph/raw/1445e0684fbcca2ec49a5f1becf1345159b7ba6a/ngraph%2Fop_graph%2Fop_graph.py",
37
+ "contents_url": "https://api.github.com/repos/rsumner31/ngraph/contents/ngraph%2Fop_graph%2Fop_graph.py?ref=1445e0684fbcca2ec49a5f1becf1345159b7ba6a",
38
+ "patch": "@@ -787,7 +787,7 @@ def set_item(tensor, item, value):\n sl = slice(sl)\n start, end, step = sl.indices(l)\n if step <= 0:\n- raise ValueError('Invalid slice in item {}'.format(item))\n+ raise ValueError('Invalid slice (negative step) in item {}'.format(item))\n return assign(tensor_slice(tensor, item, axes=value.axes), value)\n \n "
39
+ }
40
+ ],
41
+ "find_commit": 1
42
+ }
43
+
44
+ ```