Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Size:
< 1K
Libraries:
Datasets
pandas
File size: 1,962 Bytes
581582f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f1dad57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
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](https://huggingface.co/nuprl/stenotype), [GitHub](https://github.com/nuprl/StenoType/)).
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](https://github.com/nuprl/TypeWeaver/tree/main/data/original), 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`.