-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtro.md.jinja2
63 lines (44 loc) · 2.23 KB
/
tro.md.jinja2
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
# <img src="https://transparency-certified.github.io/trace-specification/_static/logo.png" width=40/> TRO Report
## TRO Information
| Property | Value |
| -------- | ----- |
| Name | {{ tro["name"] }} |
| Description | {{ tro["description"] }} |
| Created by | {{ tro["creator"] }} |
| Created date | {{ tro["dateCreated"] }} |
## TRACE System Information
This TRO was generated by the following TRACE System:
| Property | Value |
| -------- | ----- |
| Name | {{ tro["trs"]["name"] }} |
| Publisher | {{ tro["trs"]["publisher"] }} |
| Contact | {{ tro["trs"]["email"] }} |
| URL | {{ tro["trs"]["url"] }} |
<details>
<summary>Show Public Key</summary>
{{ tro["trs"]["publicKey"] }}
</details>
### Capabilities
| Capability | Description |
| ----------- | ------------ |
{%- for capability in tro["trs"]["capabilities"] %}
| {{ capability["name"] }} | {{ capability["description"] }} |
{%- endfor %}
## Trusted Research Performances
A Trusted Research Performance (TRP) captures the execution of a process in the context of a TRACE system. Typically, a TRP would take as input one or more sets of files (input arrangements) and produce another set of files (output arrangements).
<img src="workflow.png" width=900>
| Description | Accessed | Contributed |
| ----------- | ------------ | ------------ |
{%- for trp in tro["trps"] %}
| {{ trp["description"] }} | {{ trp["accessed"] }} | {{ trp["contributed"] }} |
{%- endfor %}
## Arrangements
Arrangements define how artifacts, typically files, are organized before and after each TRP. Artifacts are defined by their location and a checksum of their contents. Artifacts may be local or remote, defined by an URI. They may be included or excluded from the associated archive.
{%- for arrangement in tro["arrangements"].keys() %}
### Step: {{ tro["arrangements"][arrangement]["name"] }}
| Artifact | SHA-256 | Status |
| -------- | -------- | ------ |
{%- for location in tro["arrangements"][arrangement]["artifacts"] %}
| {{ location }} | {{ tro["arrangements"][arrangement]["artifacts"][location]["sha256"] | truncate(32) }} | {{ tro["arrangements"][arrangement]["artifacts"][location]["status"] }} |
{%- endfor %}
{%- endfor %}