File size: 2,242 Bytes
1cc087a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
  "name": "stack_v2_sparse_classes_75kplus",
  "snapshot_size": 75829,
  "snapshot_seed": 42,
  "source_dataset_dir": "data/stack_v2_sparse_classes_30k",
  "source_dataset": "bigcode/the-stack-v2-dedup",
  "source_data_files": "multi-shard running snapshot from Stack v2 Python parquet files",
  "bad_json_lines_skipped": 0,
  "splits": {
    "train": 74829,
    "val": 500,
    "test": 500
  },
  "format": "class-level Python code generation with prompt, skeleton, method bodies, and reconstructed solution",
  "filters": {
    "min_methods": 2,
    "max_methods": 6,
    "require_method_docstrings": true,
    "min_body_lines": 3,
    "max_body_lines": 30,
    "max_total_tokens": 1500,
    "min_length_bytes": 500,
    "max_length_bytes": 50000,
    "skip_tests_docs_examples_init": true,
    "pyflakes_hard_filter": false
  },
  "method_count_distribution": {
    "2": 44668,
    "3": 16949,
    "4": 7896,
    "5": 4079,
    "6": 2237
  },
  "top_repos": [
    [
      "cohesity/management-sdk-python",
      692
    ],
    [
      "microsoftgraph/msgraph-sdk-python",
      631
    ],
    [
      "home-assistant/core",
      491
    ],
    [
      "953250587/leetcode-python",
      202
    ],
    [
      "sungminoh/algorithms",
      187
    ],
    [
      "Shiv2157k/leet_code",
      186
    ],
    [
      "metoppv/improver",
      180
    ],
    [
      "jansel/pytorch-jit-paritybench",
      172
    ],
    [
      "Jimmy-INL/google-research",
      155
    ],
    [
      "bssrdf/pyleet",
      145
    ],
    [
      "oxhead/CodingYourWay",
      135
    ],
    [
      "vincent-lg/tsunami",
      123
    ],
    [
      "JavaRod/SP_Python220B_2019",
      119
    ],
    [
      "vsdrun/lc_public",
      119
    ],
    [
      "log2timeline/plaso",
      117
    ],
    [
      "espnet/espnet",
      115
    ],
    [
      "mindspore-ai/models",
      113
    ],
    [
      "inventree/InvenTree",
      113
    ],
    [
      "dealflowteam/Idfy",
      112
    ],
    [
      "yiming1012/MyLeetCode",
      106
    ]
  ],
  "avg_body_lines": 9.061921161179859,
  "task": "Given class/method signatures and docstrings, generate class skeleton and method bodies for Diffusion + AR hybrid code generation experiments."
}