File size: 2,191 Bytes
eba3f5f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_10k",
  "source_dataset_dir": "data/stack_v2_sparse_classes_30k",
  "source_dataset": "bigcode/the-stack-v2-dedup",
  "source_data_files": "data/Python/*.parquet",
  "snapshot_size": 10000,
  "snapshot_seed": 42,
  "bad_json_lines_skipped": 0,
  "splits": {
    "train": 9000,
    "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": 6117,
    "3": 2225,
    "4": 929,
    "5": 460,
    "6": 269
  },
  "top_repos": [
    [
      "cohesity/management-sdk-python",
      190
    ],
    [
      "microsoftgraph/msgraph-sdk-python",
      161
    ],
    [
      "home-assistant/core",
      100
    ],
    [
      "jansel/pytorch-jit-paritybench",
      80
    ],
    [
      "sungminoh/algorithms",
      54
    ],
    [
      "953250587/leetcode-python",
      47
    ],
    [
      "bssrdf/pyleet",
      44
    ],
    [
      "Shiv2157k/leet_code",
      37
    ],
    [
      "Jimmy-INL/google-research",
      37
    ],
    [
      "inventree/InvenTree",
      28
    ],
    [
      "metoppv/improver",
      28
    ],
    [
      "JavaRod/SP_Python220B_2019",
      28
    ],
    [
      "bingli8802/leetcode",
      28
    ],
    [
      "musabahmed/baba",
      27
    ],
    [
      "mindspore-ai/models",
      27
    ],
    [
      "vincent-lg/tsunami",
      27
    ],
    [
      "RaulCatalano/meraki-python-sdk",
      26
    ],
    [
      "yiming1012/MyLeetCode",
      26
    ],
    [
      "demisto/content",
      26
    ],
    [
      "metux/chromium-suckless",
      26
    ]
  ],
  "avg_body_lines": 9.226233090922793,
  "task": "Given class/method signatures and docstrings, generate class skeleton and method bodies for Diffusion + AR hybrid code generation experiments."
}