safebuffer commited on
Commit
ee8d5d3
·
verified ·
1 Parent(s): 302c7c9

Update dataset card metadata

Browse files
Files changed (1) hide show
  1. README.md +177 -37
README.md CHANGED
@@ -1,39 +1,179 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: language
5
- dtype: large_string
6
- - name: page_id
7
- dtype: int64
8
- - name: page_url
9
- dtype: large_string
10
- - name: chapter
11
- dtype: int64
12
- - name: section
13
- dtype: int64
14
- - name: rule_id
15
- dtype: large_string
16
- - name: title
17
- dtype: large_string
18
- - name: intro
19
- dtype: large_string
20
- - name: noncompliant_code
21
- dtype: large_string
22
- - name: compliant_solution
23
- dtype: large_string
24
- - name: risk_assessment
25
- dtype: large_string
26
- - name: breadcrumb
27
- dtype: large_string
28
- splits:
29
- - name: train
30
- num_bytes: 571791
31
- num_examples: 83
32
- download_size: 253541
33
- dataset_size: 571791
34
- configs:
35
- - config_name: default
36
- data_files:
37
- - split: train
38
- path: data/train-*
39
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ language_creators:
5
+ - expert-generated
6
+ language: en
7
+ license: other
8
+ multilinguality: monolingual
9
+ size_categories: 10K<n<100K
10
+ source_datasets:
11
+ - original
12
+ task_categories:
13
+ - other
14
+ task_ids:
15
+ - code-modeling
16
+ pretty_name: SEI CERT C++ Coding Standard (Wiki rules)
17
+ tags:
18
+ - code
19
+ - security
20
+ - cpp
21
+ - c++
22
+ - static-analysis
23
+ - coding-standard
24
+ - sei-cert
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  ---
26
+
27
+ # Dataset Card for SEI CERT C++ Coding Standard (Wiki rules)
28
+
29
+ <!-- Provide a quick summary of the dataset. -->
30
+
31
+ Structured export of the **SEI CERT C++ Coding Standard** from the SEI wiki.
32
+
33
+ ## Dataset Details
34
+
35
+ ### Dataset Description
36
+
37
+ <!-- Provide a longer summary of what this dataset is. -->
38
+
39
+ Tabular snapshot of CERT C++ secure coding rules with narrative text and illustrative compliant / noncompliant code where published on the wiki.
40
+
41
+ - **Curated by:** Derived from public SEI CERT wiki pages; packaged as CSV by the dataset maintainer.
42
+ - **Funded by [optional]:** [More Information Needed]
43
+ - **Shared by [optional]:** [More Information Needed]
44
+ - **Language(s) (NLP):** English (rule text and embedded code).
45
+ - **License:** Compilation distributed as `other`; confirm terms with CMU SEI for redistribution.
46
+
47
+ ### Dataset Sources [optional]
48
+
49
+ <!-- Provide the basic links for the dataset. -->
50
+
51
+ - **Repository:** https://wiki.sei.cmu.edu/confluence/display/seccode/SEI+CERT+Coding+Standards
52
+ - **Paper [optional]:** [SEI CERT C++ Coding Standard](https://wiki.sei.cmu.edu/confluence/display/cplusplus/SEI+CERT+C%2B%2B+Coding+Standard)
53
+ - **Demo [optional]:** [More Information Needed]
54
+
55
+ ## Uses
56
+
57
+ <!-- Address questions around how the dataset is intended to be used. -->
58
+
59
+ ### Direct Use
60
+
61
+ <!-- This section describes suitable use cases for the dataset. -->
62
+
63
+ C++ security linting research, courseware, and retrieval-augmented assistants.
64
+
65
+ ### Out-of-Scope Use
66
+
67
+ <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
68
+
69
+ Not authoritative for compliance audits without verifying against the current standard.
70
+
71
+ ## Dataset Structure
72
+
73
+ <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
74
+
75
+ All rows share the same columns (scraped from the SEI CERT Confluence wiki):
76
+
77
+ | Column | Description |
78
+ |--------|-------------|
79
+ | `language` | Language identifier for the rule set |
80
+ | `page_id` | Confluence page id |
81
+ | `page_url` | Canonical wiki URL for the rule page |
82
+ | `chapter` | Chapter label when present |
83
+ | `section` | Section label when present |
84
+ | `rule_id` | Rule identifier (e.g. `API00-C`, `CON50-J`) |
85
+ | `title` | Short rule title |
86
+ | `intro` | Normative / explanatory text |
87
+ | `noncompliant_code` | Noncompliant example(s) when present |
88
+ | `compliant_solution` | Compliant example(s) when present |
89
+ | `risk_assessment` | Risk / severity notes when present |
90
+ | `breadcrumb` | Wiki breadcrumb trail when present |
91
+
92
+
93
+ ## Dataset Creation
94
+
95
+ ### Curation Rationale
96
+
97
+ <!-- Motivation for the creation of this dataset. -->
98
+
99
+ Expose CERT C++ guidance in a uniform schema for tooling and ML workflows.
100
+
101
+ ### Source Data
102
+
103
+ <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
104
+
105
+ #### Data Collection and Processing
106
+
107
+ <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
108
+
109
+ Wiki scrape normalized to the shared CSV schema used across SEI CERT language exports.
110
+
111
+ #### Who are the source data producers?
112
+
113
+ <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
114
+
115
+ [More Information Needed]
116
+
117
+ ### Annotations [optional]
118
+
119
+ <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
120
+
121
+ #### Annotation process
122
+
123
+ <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
124
+
125
+ [More Information Needed]
126
+
127
+ #### Who are the annotators?
128
+
129
+ <!-- This section describes the people or systems who created the annotations. -->
130
+
131
+ [More Information Needed]
132
+
133
+ #### Personal and Sensitive Information
134
+
135
+ <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
136
+
137
+ [More Information Needed]
138
+
139
+ ## Bias, Risks, and Limitations
140
+
141
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
142
+
143
+ [More Information Needed]
144
+
145
+ ### Recommendations
146
+
147
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
148
+
149
+ Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
150
+
151
+ ## Citation [optional]
152
+
153
+ <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
154
+
155
+ **BibTeX:**
156
+
157
+ [More Information Needed]
158
+
159
+ **APA:**
160
+
161
+ [More Information Needed]
162
+
163
+ ## Glossary [optional]
164
+
165
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
166
+
167
+ [More Information Needed]
168
+
169
+ ## More Information [optional]
170
+
171
+ [More Information Needed]
172
+
173
+ ## Dataset Card Authors [optional]
174
+
175
+ [More Information Needed]
176
+
177
+ ## Dataset Card Contact
178
+
179
+ [More Information Needed]