Giter Site home page Giter Site logo

commitbench's Introduction

CommitBench: A Benchmark for Commit Message Generation

DockerHub

This repository hosts the replication package for our research paper, titled "CommitBench: A Benchmark for Commit Message Generation". It includes the necessary code, datasets, and tools to replicate our datasets and further explore the dataset we have compiled and analyzed.

Usage Instructions

Prerequisites

  • Docker: Ensure Docker is installed on your system.

[Optional] Building the Docker Container

We already provide a build image on dockerhub which is automatically used in console.sh. If you want to build the docker image run docker build -t maxscha/commitbench:latest .

Starting a Console in the Container

Execute bash console.sh to initiate the container and enter an interactive shell environment with the current working directory mounted into /workspace.

Dataset Generation

Run run_pipeline.sh to generate both the standard and extended versions of the dataset. It will produce the short version and the long version

Comment on Replication

While we try to make everything as replicable as possible, the fact that repositories are changing or deleted makes it challenging to recreate the exact dataset. We provide the underlying scraped data on request.

Repository Structure

Scripts and resources are organized into specific folders, and they are intended to be executed from the root directory of the project.

Directory Overview

  • analyze: Contains code for analyzing various stages of the dataset.
  • enhance: Includes code for improving the dataset, such as adding more information.
  • filter: Includes code for filtering the dataset
  • exporter: Scripts for converting the dataset into formats compatible with different models.
  • importer: Scripts for importing common dataset formats to standardize the base across different datasets.
  • prepare: Contains scripts for downloading CodeSearchNet.

Contact

To contact the authors reach out to "[email protected]".

Citation

The official proceedings citation is forthcoming and will be updated once available.

Coming soon

commitbench's People

Contributors

maxscha avatar

Stargazers

Qunhong Zeng avatar Jeff Carpenter avatar Linghao Zhang avatar  avatar Yu-Fan Tang avatar Konstantin Dobler avatar Seungyun Baek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.