--- license: cc-by-4.0 --- extent the `TSSB-3M` dataset with more commit info(commit message态source code files...) # sample ```python { "project": "ngraph", "commit_sha": "1445e0684fbcca2ec49a5f1becf1345159b7ba6a", "parent_sha": "4eb8eed57e506e8a2745b298340666e9d7e5ce58", "file_path": "ngraph/op_graph/op_graph.py", "project_url": "https://github.com/rsumner31/ngraph", "likely_bug": true, "comodified": false, "in_function": true, "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", "before": "raise ValueError ( 'Invalid slice in item {}' . format ( item ) )", "after": "raise ValueError ( 'Invalid slice (negative step) in item {}' . format ( item ) )", "sstub_pattern": "CHANGE_STRING_LITERAL", "edit_script": "[[\"Update\", [\"string:'Invalid slice in item {}'\", 3, 30, 3, 56], \"'Invalid slice (negative step) in item {}'\"]]", "key": "rsumner31/ngraph@1445e0684fbcca2ec49a5f1becf1345159b7ba6a", "commit_message": "Better error description.", "files": [ { "sha": "52e76a0a5acb043db75592be1bdd09fc6fedf932", "filename": "ngraph/op_graph/op_graph.py", "status": "modified", "additions": 1, "deletions": 1, "changes": 2, "blob_url": "https://github.com/rsumner31/ngraph/blob/1445e0684fbcca2ec49a5f1becf1345159b7ba6a/ngraph%2Fop_graph%2Fop_graph.py", "raw_url": "https://github.com/rsumner31/ngraph/raw/1445e0684fbcca2ec49a5f1becf1345159b7ba6a/ngraph%2Fop_graph%2Fop_graph.py", "contents_url": "https://api.github.com/repos/rsumner31/ngraph/contents/ngraph%2Fop_graph%2Fop_graph.py?ref=1445e0684fbcca2ec49a5f1becf1345159b7ba6a", "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 " } ], "find_commit": 1 } ``` # Reference * [1]. Richter, Cedric, and Heike Wehrheim. "TSSB-3M: Mining single statement bugs at massive scale." Proceedings of the 19th International Conference on Mining Software Repositories. 2022