aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/readme.md
blob: f1580e7e7d8baf20252c8834267aaf323fc4398c (plain) (blame)
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
# Data

The file [label_studio_interface.txt](label_studio_interface.txt) contains XML-like specification of the labeling interface
for CPE matching. As such, it was used in the Label studio tool.

## Certificate ID evaluation

The directory `./cert_id_eval` contains data on a manual evaluation of certificate ID assignment.
`missing_ids.csv` contains an evaluation of certificates to which the sec-certs tool was not able to
find a certificate ID (to analyze why that happened and whether we could fix that).
`duplicate_ids.csv` contains an evaluation of certificates to which the sec-certs tool assigned a duplicate
ID (to analyze why that happened and whether we could fix that). These files are used by the `cert_id_eval.ipynb`
Jupyter notebook which evaluates a dataset with respect to the manually labeled ground truth in them.


### Reference coding

#### Component used
The referenced certificate is for a component used in the product (e.g., IC used by a smartcard).

#### Re-certification of
The referenced certificate is of a previous version of the product that is now being re-certified.

#### Evaluation reused
The evaluation results of the referenced certificate were used for evaluation of the product, likely due to a shared component.

#### Basis for
The current certificate is a basis for the referenced certificate, likely during a simultaneous certification.

#### Previous version
The referenced certificate is for a previous version of the product, but re-certification is not explicitly mentioned.


## CPE Matching

The directory `./cpe_eval` contains digests of 100 randomly sampled certificates, together with predicted and ground-truth labels.
The file `random.csv` summarizes the data above, while `manual_cpe_labels.json` is a JSON-min export from label studio instance.

These files can be utilized from [cpe_eval notebook](../notebooks/cc/cpe_eval.ipynb) to see the performance of the classifier.

Folder `./old_manual_cpe_labels` contains some old incomplete labeling that was obtained highly unoptimized classifier.