4gate commited on
Commit
aa3f536
·
verified ·
1 Parent(s): 2ef1a34

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -2
README.md CHANGED
@@ -4,9 +4,19 @@ You can find the origin dataset here: https://huggingface.co/datasets/codeparrot
4
 
5
  You can find the conversion code here: https://gist.github.com/4gatepylon/024853a9d279812e1f14be93242b3ef8#file-gistfile1-py-L1
6
 
7
- NOTE that some of the solutions/input-output are empty. You can check as the code ^ does by looking for `len(element["solution"].strip()) == 0` and/or `len(element["input_output"].strip()) == 0`
 
 
 
 
 
 
 
 
 
 
8
 
9
- Auto-generated docs:
10
  ```
11
  features:
12
  - name: problem_id
 
4
 
5
  You can find the conversion code here: https://gist.github.com/4gatepylon/024853a9d279812e1f14be93242b3ef8#file-gistfile1-py-L1
6
 
7
+ NOTE that some of the solutions/input-output are empty. You can check as the code ^ does by looking for `len(element["solution"].strip()) == 0` and/or `len(element["input_output"].strip()) == 0`. Otherwise, these objects are JSON-decodeable strings which look, respectively like:
8
+ ```
9
+ solutions: list[str] # each string is a python function/code you can run that would solve the problem
10
+ ```
11
+ and
12
+ ```
13
+ input_outputs: dict[str, list[list[str] | str | Any]]
14
+ # keys: "inputs" and "outputs" have same length
15
+ # usually the list items are lists of strings or are single strings
16
+ # (I haven't checked exhaustively)
17
+ ```
18
 
19
+ Auto-generated docs below:
20
  ```
21
  features:
22
  - name: problem_id