Datasets:

Modalities:
Text
Languages:
code
ArXiv:
Tags:
License:
repobench-r / README.md
tianyang's picture
update readme
626d55d
metadata
language_creators:
  - found
language:
  - code
license:
  - cc-by-nc-nd-4.0
multilinguality:
  - multilingual
pretty_name: RepoBench-Retrieval
source_datasets:
  - original
task_categories:
  - text-retrieval
task_ids:
  - document-retrieval

Dataset Card for RepoBench-R

Table of Contents

Dataset Description

Dataset Summary

RepoBench-R is a subtask of RepoBench, targeting the retrieval component of a repository-level auto-completion system, focusing on extracting the most relevant code snippet from a project repository for next-line code prediction.

Supported Tasks

The dataset supports two programming languages, Python and Java, and contains two settings:

  • cff: short for cross_file_first, where the cross-file module in next line is first used in the current file.
  • cfr: short for cross_file_random, where the cross-file module in next line is not first used in the current file.

For each setting, we provide train and test subset, and each subset with two levels of difficulty: easy and hard.

Suppose the number of code snippets in the context is kk,

  • For the easy subset, we have 5k<105 \leq k < 10.
  • For the hard subset, we have k10k \geq 10.

Dataset Structure

Dataset Creation

Curation Rationale

[More Information Needed]

Source Data

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

[More Information Needed]

Annotations

Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

Licensing Information

[More Information Needed]

Citation Information

[More Information Needed]

Contributions

Thanks to @github-username for adding this dataset.