template-generation / README.md
tiginamaria's picture
Upload dataset
f6d80cd verified
|
raw
history blame
4.85 kB
metadata
dataset_info:
  - config_name: android
    features:
      - name: id
        dtype: int64
      - name: repo_owner
        dtype: string
      - name: repo_name
        dtype: string
      - name: html_url
        dtype: string
      - name: is_template
        dtype: bool
      - name: description
        dtype: string
      - name: template_keywords
        dtype: string
      - name: license
        dtype: string
      - name: topics
        dtype: string
      - name: size
        dtype: int64
      - name: metrics
        dtype: string
      - name: languages
        dtype: string
      - name: language
        dtype: string
      - name: created_at
        dtype: string
      - name: code_lines
        dtype: string
    splits:
      - name: dev
        num_bytes: 562192
        num_examples: 529
      - name: test
        num_bytes: 1062.7448015122873
        num_examples: 1
      - name: train
        num_bytes: 561129.2551984877
        num_examples: 528
    download_size: 331194
    dataset_size: 1124384
  - config_name: java
    features:
      - name: id
        dtype: int64
      - name: repo_owner
        dtype: string
      - name: repo_name
        dtype: string
      - name: html_url
        dtype: string
      - name: is_template
        dtype: bool
      - name: description
        dtype: string
      - name: template_keywords
        dtype: string
      - name: license
        dtype: string
      - name: topics
        dtype: string
      - name: size
        dtype: int64
      - name: metrics
        dtype: string
      - name: languages
        dtype: string
      - name: language
        dtype: string
      - name: created_at
        dtype: string
      - name: code_lines
        dtype: string
    splits:
      - name: dev
        num_bytes: 1548705
        num_examples: 1457
      - name: test
        num_bytes: 1062.9409746053534
        num_examples: 1
      - name: train
        num_bytes: 1547642.0590253947
        num_examples: 1456
    download_size: 965949
    dataset_size: 3097410
  - config_name: kt
    features:
      - name: id
        dtype: int64
      - name: repo_owner
        dtype: string
      - name: repo_name
        dtype: string
      - name: html_url
        dtype: string
      - name: is_template
        dtype: bool
      - name: description
        dtype: string
      - name: template_keywords
        dtype: string
      - name: license
        dtype: string
      - name: topics
        dtype: string
      - name: size
        dtype: int64
      - name: metrics
        dtype: string
      - name: languages
        dtype: string
      - name: language
        dtype: string
      - name: created_at
        dtype: string
      - name: code_lines
        dtype: string
    splits:
      - name: dev
        num_bytes: 192670
        num_examples: 187
      - name: test
        num_bytes: 1030.3208556149732
        num_examples: 1
      - name: train
        num_bytes: 191639.67914438504
        num_examples: 186
    download_size: 140772
    dataset_size: 385340
configs:
  - config_name: android
    data_files:
      - split: dev
        path: android/dev-*
      - split: test
        path: android/test-*
      - split: train
        path: android/train-*
  - config_name: java
    data_files:
      - split: dev
        path: java/dev-*
      - split: test
        path: java/test-*
      - split: train
        path: java/train-*
  - config_name: kt
    data_files:
      - split: dev
        path: kt/dev-*
      - split: test
        path: kt/test-*
      - split: train
        path: kt/train-*

Template Generation Dataset for AI Agents Evaluation

Data Collection

This dataset contains information about repos (initially gathered from https://seart-ghs.si.usi.ch) matching the following criteria:

  • Java and Kotlin programming languages
  • 10+ stars
  • not forks
  • permissive licenses ('MIT License', 'Apache License 2.0', 'BSD 3-Clause "New" or "Revised" License', 'BSD 2-Clause "Simplified" License')
  • filtered by is_template=True or template-related keywords presence in the description ("template", "boilerplate", "starter", "skeleton", "blueprint", "scaffold", "pattern", "seed", "example", "demo", "sample", "showcase", "illustration", "exemplar", "use case","prototype")

You can find all scripts to reproduce dataset collection in our GitHub repository

Final Dataset Description

Field Description
id Identifier of data point.
repo_owner Bug issue repository owner.
repo_name Bug issue repository name.
html_url GitHub link to issue
https://github.com/{repo_owner}/{repo_name}.
is_template True if the repositories marked as a template, otherwise False.
description Repository description.
template_keywords Template-related keywords.
license Repository license
(one from 'MIT License', 'Apache License 2.0',
'BSD 3-Clause "New" or "Revised" License', 'BSD 2-Clause "Simplified" License').
topics Repository topics.
size Repo size [MB].