stenotype-eval-js / README.md
mhyee's picture
Upload README.md with huggingface_hub
581582f verified
metadata
dataset_info:
  features:
    - name: name
      dtype: string
    - name: dataset
      dtype: string
    - name: size
      dtype: int64
    - name: content
      dtype: string
    - name: content_without_annotations
      dtype: string
    - name: loc
      dtype: int64
    - name: functions
      dtype: int64
    - name: function_signatures
      dtype: int64
    - name: function_parameters
      dtype: int64
    - name: variable_declarations
      dtype: int64
    - name: property_declarations
      dtype: int64
    - name: function_usages
      dtype: int64
    - name: trivial_types
      dtype: int64
    - name: predefined_types
      dtype: int64
    - name: type_definitions
      dtype: int64
    - name: dynamism_heuristic
      dtype: int64
    - name: loc_per_function
      dtype: float64
    - name: estimated_tokens
      dtype: int64
    - name: typechecks
      dtype: bool
  splits:
    - name: test
      num_bytes: 581253
      num_examples: 50
  download_size: 239868
  dataset_size: 581253
configs:
  - config_name: default
    data_files:
      - split: test
        path: data/test-*

Dataset Card for "stenotype-eval-js"

This is one of the datasets used to evaluate StenoType (model, GitHub). This dataset is called typeweaver-bundle-filtered-subset in the code and JS-Sourced in the dissertation.

The dataset is derived from the TypeWeaver benchmarks, with multi-file projects bundled into single files, and filtered. For more details, see the StenoType GitHub repository and the linked dissertation.

To type check this dataset, a tarball containing the type declaration (.d.ts) files is included in type_declarations.tar.gz.

Versions

The evaluation dataset is a sample of 50 files from the "filtered" dataset, which can be found in the branch filtered.

The filtered dataset is derived from the full dataset, which can be found in the branch full.