Code Monkey home page Code Monkey logo

corral_qai's Introduction

Corral QAI Experiment

This repo contains a big dataset (more than 4,000 observations) of public fragments of python code extracted from: Pastebin, Gist and ActiveState. These are used to estimate the most common number of errors of any python file (tau).

This value is used as default tolerance for the Corral Quality Assurance Index (QAI).

Yo can see more about this in the paper: Astronomical Data Processing Through Model-View-Controller Inspired Architecture

1. Files:

  • requirements.txt: before running anything, you need to run

      $ pip install -r requirements.txt
    
  • corral_qai.py: Data Collector Utility. This file extracts data from a data-source and dumps into a SQLite database.

  • metrics.py: Creates a Pandas dataframe from the SQLite database.

  • settings.py.template: settings.py template needed to run corral_qai.py

  • Makefile: Gnu-Make routines

  • analysis.ipynb: the experiment to determine tau.

2. Data

  • The data are distributed in two formats: a CSV data/corral_qai.csv and a SQLite Dump corral_qai.sql

2.1. Description

The csv and the sql file attributes are:

  • id: internal id (integer unique)
  • timestamp: date and time of the observation (datetime)
  • response: the full dump of the retrieved data for this observation (text)
  • source: gist, pastebin or active state (text)
  • source_id: id used internally for the source (text)
  • description: a description of the file (text)
  • file_name: name of the file (text)
  • file_sha512: hash of the file (unique)
  • file_raw_url: where to find the original data (text)
  • file_size: size in bytes of the file (integer)
  • file_content: the full content of the file encoded in utf-8 (text)
  • flake8_output: full output of the flake8 analysis over the file (text)
  • flake8_errors: number of errors found by flake8 (integer)

4. Citation

If you are interested in using this dataset in your research please cite us as

> foo fo fo

Or in bibtext

3. Disclaimer

All information here is made public by their authors.

corral_qai's People

Contributors

leliel12 avatar martinberoiz avatar

Watchers

 avatar  avatar  avatar  avatar  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.