template-generation / README.md
tiginamaria's picture
Upload dataset
34f71d9 verified
|
raw
history blame
3.62 kB
metadata
dataset_info:
  - 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: 1644183
        num_examples: 1544
      - name: test
        num_bytes: 0
        num_examples: 0
      - name: train
        num_bytes: 1644183
        num_examples: 1544
    download_size: 995486
    dataset_size: 3288366
  - 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
    splits:
      - name: dev
        num_bytes: 314448
        num_examples: 963
      - name: test
        num_bytes: 326.5295950155763
        num_examples: 1
      - name: train
        num_bytes: 314121.47040498443
        num_examples: 962
    download_size: 287663
    dataset_size: 628896
configs:
  - 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].