task_categories:text-generation size_categories:100K<n<1M code haskell region:us
---
dataset_info:
  features:
  - name: code
    dtype: string
  - name: repo_name
    dtype: string
  - name: path
    dtype: string
  - name: license
    dtype: string
  - name: size
    dtype: int64
  - name: n_ast_errors
    dtype: int64
  - name: ast_max_depth
    dtype: int64
  - name: n_whitespaces
    dtype: int64
  - name: n_ast_nodes
    dtype: int64
  - name: n_ast_terminals
    dtype: int64
  - name: n_ast_nonterminals
    dtype: int64
  - name: loc
    dtype: int64
  - name: cycloplexity
    dtype: int64
  splits:
  - name: train
    num_bytes: 2024779946
    num_examples: 339895
  download_size: 805998536
  dataset_size: 2024779946
task_categories:
- text-generation
tags:
- code
- haskell
size_categories:
- 100K<n<1M
---
# Dataset Card for "github-code-haskell-file"

Rows: 339k
Download Size: 806M

This dataset is extracted from [github-code-clean](https://huggingface.co/datasets/codeparrot/github-code-clean).

Each row also contains attribute values for my personal analysis project.
12.6% (43k) of the rows have cyclomatic complexity and LOC valued at `-1` because [`homplexity`](https://github.com/BlastWind/homplexity) failed in parsing the row's `uncommented_code`.