scotch_updated
Browse files
Scotch.py
CHANGED
|
@@ -80,6 +80,7 @@ class ScotchDataset(datasets.GeneratorBasedBuilder):
|
|
| 80 |
"function": datasets.Value("string"),
|
| 81 |
"docstring": datasets.Value("string"),
|
| 82 |
"function_url": datasets.Value("string"),
|
|
|
|
| 83 |
"license":datasets.Value("string"),
|
| 84 |
}
|
| 85 |
)
|
|
@@ -154,6 +155,7 @@ class ScotchDataset(datasets.GeneratorBasedBuilder):
|
|
| 154 |
"function": str(func['function']),
|
| 155 |
"docstring": str(func['docstring']),
|
| 156 |
"function_url": str(func['url']),
|
|
|
|
| 157 |
"license":str(func['license']),
|
| 158 |
}
|
| 159 |
|
|
|
|
| 80 |
"function": datasets.Value("string"),
|
| 81 |
"docstring": datasets.Value("string"),
|
| 82 |
"function_url": datasets.Value("string"),
|
| 83 |
+
"context":datasets.Value("string"),
|
| 84 |
"license":datasets.Value("string"),
|
| 85 |
}
|
| 86 |
)
|
|
|
|
| 155 |
"function": str(func['function']),
|
| 156 |
"docstring": str(func['docstring']),
|
| 157 |
"function_url": str(func['url']),
|
| 158 |
+
"context":str(func['context']),
|
| 159 |
"license":str(func['license']),
|
| 160 |
}
|
| 161 |
|