Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement proposed reporting requirements from discussion 103 #123

Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
14cad22
Add first pass of text
Sealjay Oct 20, 2021
f77e01b
Add reference to RFC4122
Sealjay Oct 20, 2021
5a97ab8
Added description of valid requirements
Sealjay Oct 20, 2021
c8708a4
Added first examples
Sealjay Oct 20, 2021
ae859ea
Grammar review
Sealjay Oct 20, 2021
2bd16ab
Remove JSON
Sealjay Oct 20, 2021
7211726
Move table structure to appendix
Sealjay Oct 20, 2021
4195d4d
Remove reporting process
Sealjay Oct 20, 2021
d466644
Changed software boundary reporting requirements
Sealjay Oct 20, 2021
89b6920
Removed other references to reports
Sealjay Oct 20, 2021
d3ea485
updated URLs
Sealjay Oct 21, 2021
0daac68
Update Software_Carbon_Intensity/Software_Carbon_Intensity_Specificat…
Sealjay Oct 21, 2021
b75d076
Update Software_Carbon_Intensity/Appendix_A_Further_Information_on_Re…
Sealjay Oct 21, 2021
ef8199e
Update Software_Carbon_Intensity/Software_Carbon_Intensity_Specificat…
Sealjay Oct 21, 2021
e0c5518
Changed baseline preset text
Sealjay Oct 21, 2021
1a5bdae
Merge branch '103-requirements-reporting-sci' of https://github.com/S…
Sealjay Oct 21, 2021
6d98b15
Made software version mandatory
Sealjay Oct 21, 2021
25c2ecd
Removed the requirement to report C and R baseline comment
Sealjay Oct 21, 2021
d623a58
Merge pull request #204 from Green-Software-Foundation/dev
atg-abhishek Nov 15, 2021
92e68de
Merge branch 'main' of https://github.com/Green-Software-Foundation/s…
Sealjay Nov 25, 2021
22024da
Merge branch 'Green-Software-Foundation-main' into 103-requirements-r…
Sealjay Nov 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Software_Carbon_Intensity/Appendix_A.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Appendix A: Further information on Reporting Requirements
This appendix provides additional detail on validly formed machine-readable SCI reporting files, in YAML format.

## File Structure

To comply with this specification and implement carbon transparency, an entity MUST meet these reporting requirements. The hierachical structure of the YAML file is described below.

### Data elements to be reported
The following list contains the REQUIRED and OPTIONAL data elements to be reported.

| Name | Identifier | Optionality | Format | Notes |
| - | - | - | - | - |
| Supporting infrastructure and systems contained within the [Software Boundary](Software_Carbon_Intensity_Specification#software-boundary) | sci/software-boundary | MUST | Text | A description of the software boundary for the entity. |
| [Software Carbon Intensity](Software_Carbon_Intensity_Specification#reporting-the-sci-value) - `SCI`| sci/sci | MUST | Numeric | The [Software Carbon Intensity](Software_Carbon_Intensity_Specification#reporting-the-sci-value) of the entity itself.
| [Software Carbon Intensity](Software_Carbon_Intensity_Specification#reporting-the-sci-value) - `R` baseline value | sci/r | MUST | Numeric |
| [Software Carbon Intensity](Software_Carbon_Intensity_Specification#reporting-the-sci-value) - `R` baseline source| sci/r-source | MUST | Text | The text CAN refer to one of the identifiers in the [pre-set list](Software_Carbon_Intensity_Specification#preset-list-for-baselines), but it can also refer to a similar concept. |
| Product Name, entity name, or Software Product | metadata/name | MUST | Text | |
| Contact name | metadata/contact-name | MUST | Text | The point of contact responsible and accountable for the report. |
| Contact email | metadata/contact-email | MUST | Text | The point of contact responsible and accountable for the report. |
| Organization | metadata/organization | SHOULD | Text | This SHALL be populated where the report is not by an individual contributor, otherwise it is not required. |
| GUID | metadata/guid | MUST | GUID | Following a format in [RFC4122], provided to uniquely identify this particular product, resource, or service. |
| Software or Product Version | metadata/entity-version | MUST | Text | |
| SCI Specification Version | metadata/sci-version | MUST | Numeric | The version of the SCI specification against which this report is being made. |
| Date of Calculation | metadata/calculation-date | MUST | Date | Following a format described in [RFC3339], [a subset](https://ijmacd.github.io/rfc3339-iso8601/) of ISO 8601 |
| Further information on calculation | metadata/calculation-information | MAY | Text | More information on your calculation methodology can be provided as freetext, or as a URL to an external document or software repository. |
| Further information on report | metadata/report-information-url | MAY | URL | More information on your calculation methodology MAY be provided, and this MUST be a URL to an external document or software repository. |

## YAML File Example

### 1. Generic Example without an additional report
File name: `25c78b6d-b049-424d-87c1-28f07e41bb23/report.yaml`

```yaml
sci:
software-boundary: 'The software boundary of this report is limited to a single markdown file, as it is provided for example only.'
sci: 0.5
r: 1
r-source: machine-learning-baseline
metadata:
name: Example Report
contact-name: Responsible Point of Contact
contact-email: [email protected]
organization: GSF
guid: 25c78b6d-b049-424d-87c1-28f07e41bb23
entity-version: '0.1'
sci-version: 1.0
calculation-date: '2021-10-20'
calculation-information: 'https://github.com/Green-Software-Foundation/software_carbon_intensity'

```
### 2. Generic Example with an additional report
File name: `25c78b6d-b049-424d-87c1-28f07e41bb23/report.yaml`

```yaml
sci:
software-boundary: 'The software boundary of this report is limited to a single markdown file, as it is provided for example only.'
sci: 0.5
r: 1
r-source: machine-learning-baseline
metadata:
name: Example Report
contact-name: Responsible Point of Contact
contact-email: [email protected]
organization: GSF
guid: 25c78b6d-b049-424d-87c1-28f07e41bb23
entity-version: '0.1'
sci-version: 1.0
calculation-date: '2021-10-20'
calculation-information: 'https://github.com/Green-Software-Foundation/software_carbon_intensity'
report-information-url: 'https://github.com/Green-Software-Foundation/software_carbon_intensity'

```

### 3. Generic Example by an individual contributor
File name: `25c78b6d-b049-424d-87c1-28f07e41bb23/report.yaml`

```yaml
sci:
software-boundary: 'The software boundary of this report is limited to a single markdown file, as it is provided for example only.'
sci: 0.5
r: 1
r-source: machine-learning-baseline
metadata:
name: Example Report
contact-name: Individual Point of Contact
contact-email: [email protected]
guid: 25c78b6d-b049-424d-87c1-28f07e41bb23
entity-version: '0.1'
sci-version: 1.0
calculation-date: '2021-10-20'
calculation-information: 'https://github.com/Green-Software-Foundation/software_carbon_intensity'

```
Loading