Update README.md
Browse files
README.md
CHANGED
@@ -90,74 +90,75 @@ The natural language text (docstring) is in English.
|
|
90 |
### Data Instances
|
91 |
```
|
92 |
{
|
93 |
-
|
94 |
-
"
|
95 |
-
"
|
96 |
-
"path": "js/scripts.js",
|
97 |
"license": [
|
98 |
"MIT"
|
99 |
],
|
100 |
-
"language": "
|
101 |
-
"identifier": "
|
102 |
-
"code": "
|
103 |
"code_tokens": [
|
104 |
-
"
|
105 |
-
"
|
106 |
"(",
|
107 |
-
"
|
108 |
",",
|
109 |
-
"
|
110 |
-
"
|
111 |
-
"
|
112 |
-
"if",
|
113 |
-
"(",
|
114 |
-
"bbFunction",
|
115 |
-
"==",
|
116 |
-
"1",
|
117 |
-
")",
|
118 |
-
"{",
|
119 |
-
"return",
|
120 |
-
"beepBoop",
|
121 |
-
"(",
|
122 |
-
"inputString",
|
123 |
-
")",
|
124 |
-
";",
|
125 |
-
"}",
|
126 |
-
"else",
|
127 |
-
"if",
|
128 |
-
"(",
|
129 |
-
"bbFunction",
|
130 |
-
"==",
|
131 |
-
"2",
|
132 |
-
")",
|
133 |
-
"{",
|
134 |
-
"return",
|
135 |
-
"beepBoop2",
|
136 |
-
"(",
|
137 |
-
"inputString",
|
138 |
-
")",
|
139 |
-
";",
|
140 |
-
"}",
|
141 |
-
"else",
|
142 |
-
"if",
|
143 |
-
"(",
|
144 |
-
"bbFunction",
|
145 |
-
"==",
|
146 |
-
"3",
|
147 |
-
")",
|
148 |
-
"{",
|
149 |
-
"return",
|
150 |
-
"beepBoop3",
|
151 |
-
"(",
|
152 |
-
"inputString",
|
153 |
")",
|
154 |
-
"
|
155 |
-
"
|
156 |
-
"
|
157 |
-
"
|
158 |
-
"
|
159 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
}
|
162 |
|
163 |
```
|
|
|
90 |
### Data Instances
|
91 |
```
|
92 |
{
|
93 |
+
"hexsha": "ee1cf38808d3db0ea364b049509a01a65e6e5589",
|
94 |
+
"repo": "Waguy02/Boomer-Scripted",
|
95 |
+
"path": "python/subprojects/testbed/mlrl/testbed/persistence.py",
|
|
|
96 |
"license": [
|
97 |
"MIT"
|
98 |
],
|
99 |
+
"language": "Python",
|
100 |
+
"identifier": "__init__",
|
101 |
+
"code": "def __init__(self, model_dir: str):\n \"\"\"\n :param model_dir: The path of the directory where models should be saved\n \"\"\"\n self.model_dir = model_dir",
|
102 |
"code_tokens": [
|
103 |
+
"def",
|
104 |
+
"__init__",
|
105 |
"(",
|
106 |
+
"self",
|
107 |
",",
|
108 |
+
"model_dir",
|
109 |
+
":",
|
110 |
+
"str",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
")",
|
112 |
+
":",
|
113 |
+
"\"\"\"\n :param model_dir: The path of the directory where models should be saved\n \"\"\"",
|
114 |
+
"self",
|
115 |
+
".",
|
116 |
+
"model_dir",
|
117 |
+
"=",
|
118 |
+
"model_dir"
|
119 |
+
],
|
120 |
+
"original_comment": "\"\"\"\n :param model_dir: The path of the directory where models should be saved\n \"\"\"",
|
121 |
+
"comment": ":param model_dir: The path of the directory where models should be saved",
|
122 |
+
"comment_tokens": [
|
123 |
+
":",
|
124 |
+
"param",
|
125 |
+
"model_dir",
|
126 |
+
":",
|
127 |
+
"The",
|
128 |
+
"path",
|
129 |
+
"of",
|
130 |
+
"the",
|
131 |
+
"directory",
|
132 |
+
"where",
|
133 |
+
"models",
|
134 |
+
"should",
|
135 |
+
"be",
|
136 |
+
"saved"
|
137 |
+
],
|
138 |
+
"start_point": [
|
139 |
+
1,
|
140 |
+
8
|
141 |
+
],
|
142 |
+
"end_point": [
|
143 |
+
3,
|
144 |
+
11
|
145 |
],
|
146 |
+
"prev_context": {
|
147 |
+
"code": null,
|
148 |
+
"start_point": null,
|
149 |
+
"end_point": null
|
150 |
+
},
|
151 |
+
"next_context": {
|
152 |
+
"code": "self.model_dir = model_dir",
|
153 |
+
"start_point": [
|
154 |
+
4,
|
155 |
+
8
|
156 |
+
],
|
157 |
+
"end_point": [
|
158 |
+
4,
|
159 |
+
34
|
160 |
+
]
|
161 |
+
}
|
162 |
}
|
163 |
|
164 |
```
|