Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,69 @@
|
|
1 |
-
---
|
2 |
-
license: cdla-permissive-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cdla-permissive-2.0
|
3 |
+
task_categories:
|
4 |
+
- text-generation
|
5 |
+
- text2text-generation
|
6 |
+
- other
|
7 |
+
tags:
|
8 |
+
- code
|
9 |
+
- fstar
|
10 |
+
- popai
|
11 |
+
pretty_name: PoPAI-FStarDataSet-V2
|
12 |
+
size_categories:
|
13 |
+
- 10K<n<100K
|
14 |
+
language:
|
15 |
+
- code
|
16 |
+
- fst
|
17 |
+
---
|
18 |
+
|
19 |
+
This dataset is the Version 2.0 of [`microsoft/FStarDataSet`](https://huggingface.co/datasets/microsoft/FStarDataSet).
|
20 |
+
|
21 |
+
## Data Source
|
22 |
+
In addition to the eight projects in `microsoft/FStarDataSet`, data from four more projects are included in this version.
|
23 |
+
1. [Starmad](https://github.com/microsoft/Armada): a framework for doing proofs by stepwise refinement for concurrent programs in a weak memory model. Starmada is an experimental version of Armada implemented in F⋆, relying on various advanced features of F⋆’s dependent type system for more generic and abstract proofs.
|
24 |
+
2. [Zeta](https://github.com/project-everest/zeta): a high performance, concurrent monitor for stateful services proven correct in F⋆ and its Steel concurrent separation logic
|
25 |
+
3. [Dice-star](https://github.com/verified-HRoT/dice-star): a verified implementation of the DICE measured boot protocol for embedded devices
|
26 |
+
4. [Noise-star](https://github.com/Inria-Prosecco/noise-star): a verified compiler for implementations of Noise protocols, a family of key-exchange protocols
|
27 |
+
|
28 |
+
## Primary-Objective
|
29 |
+
|
30 |
+
## Data Format
|
31 |
+
Each of the examples in this dataset are organized as dictionaries with the following schema
|
32 |
+
```json
|
33 |
+
{
|
34 |
+
"file_name": <str: Name of the file>,
|
35 |
+
"name": <str: name of the example, can be used to uniquely identify the example>,
|
36 |
+
"original_source_type": <str: actual source type, to be used for type checking>,
|
37 |
+
"source_type": <str: modified source type, to be used to formulate prompt>,
|
38 |
+
"source_definition": <str: target definition>,
|
39 |
+
"source": <dict: contains metadata acout the source of this example, including project_name, git url, git sha, etc.>,
|
40 |
+
"source_range": <dict: metadata containing start and end lines and columns of this definition in the source file>,
|
41 |
+
"file_context": <str: extracted file context upto the point of current definition>,
|
42 |
+
"dependencies": <dict: build dependencies for this file>,
|
43 |
+
"opens_and_abbrevs": <list[dict]: List of opened modules and abbreviated modules in the file, necessry for evaluating.>,
|
44 |
+
"vconfig": <dict: variour buils configuration for this definition>,
|
45 |
+
"interleaved": <bool: whether this definition is interleaved with another>,
|
46 |
+
"verbose_type": <str: the verbose type of this definition as resolved by the type checker>,
|
47 |
+
"effect": <str: effect>,
|
48 |
+
"effect_flags": <list[str]: any effect flags>,
|
49 |
+
"mutual_with": <list: if this definition is mutually recursive with other, list of those names>,
|
50 |
+
"ideal_premises": <list[str]: Other definitions that are used in the ground truth definition>,
|
51 |
+
"proof_features": <list[str]>,
|
52 |
+
"is_simple_lemma": <bool/null>,
|
53 |
+
"is_div": <bool: if this definition is divergent>,
|
54 |
+
"is_proof": <bool>,
|
55 |
+
"is_simply_typed": <bool>,
|
56 |
+
"is_type": <bool/null>,
|
57 |
+
"partial_definition": <str>,
|
58 |
+
"completed_definiton": <str>,
|
59 |
+
"isa_cross_project_example": <bool: if this example belongs to cross-project evaluation set>
|
60 |
+
}
|
61 |
+
```
|
62 |
+
|
63 |
+
# Usage
|
64 |
+
|
65 |
+
## Input
|
66 |
+
|
67 |
+
## Output
|
68 |
+
|
69 |
+
# Evaluation on this dataset
|