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

Testing latest on staging #471

Merged
merged 8 commits into from
Aug 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6,159 changes: 3,386 additions & 2,773 deletions dependency_licenses.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@code.gov/code-gov-front-end",
"version": "1.2.1",
"version": "1.3.0",
"description": "Code.gov — America’s Home for Open Source Projects from the Federal Government",
"main": "index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ exports[`components - AboutPage - InventoryCode render should render correctly 1
schema={Object {}}
url="/assets/data/schema.json"
/>
<LazyHTML
url="/src/components/federal-agencies/html/compliance/data-assets-ai.html"
/>
<div
id="how-to-inventory-b"
>
Expand Down
138 changes: 138 additions & 0 deletions src/components/federal-agencies/html/compliance/data-assets-ai.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<div id="data-assets-ai-wrapper">
<h2 id="data-assets-ai">Source Code Considerations for AI R&D Models</h2>
<p>
Consistent with the
<a
href="https://www.whitehouse.gov/presidential-actions/executive-order-maintaining-american-leadership-artificial-intelligence/"
title="link to AI executive order"
>Executive Order on Maintaining American Leadership in Artificial Intelligence (EO 13859)</a
>, agencies are directed to improve source code inventory documentation (i.e., agency code.json)
to enable discovery and usability of source code AI models.
</p>
<table class="usa-table">
<thead>
<tr>
<th scope="col">Field Name</th>
<th scope="col">Tags</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Data Type</th>
<td>Array</td>
</tr>
<tr>
<th scope="row">Definition</th>
<td>
An array of keywords that will be helpful in discovering and searching for the release.
</td>
</tr>
<tr>
<th scope="row">Required</th>
<td>Always</td>
</tr>
<tr>
<th scope="row"><span style="white-space: nowrap;">AI R&D Guidance</span></th>
<td>
Agencies shall include the keyword of <code>usg-artificial-intelligence</code> for all
source code determined to support AI R&D. Other keywords can be developed and used as
appropriate and coordinated with standard data tagging available on
<a href="https://resources.data.gov/">resources.data.gov</a>.
</td>
</tr>
</tbody>
</table>
<table class="usa-table">
<thead>
<tr>
<th scope="col">Field Name</th>
<th scope="col">Contact</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Data Type</th>
<td>Object</td>
</tr>
<tr>
<th scope="row">Definition</th>
<td>Point of contact information for the release.</td>
</tr>
<tr>
<th scope="row">Required</th>
<td>Always</td>
</tr>
<tr>
<th scope="row"><span style="white-space: nowrap;">AI R&D Guidance</span></th>
<td>
Be sure to identify and include domain experts and their contact information who can
discuss the model with interested AI researchers. If not the same as the domain expert,
Agencies shall also identify an expert and their contact information who can discuss
restrictions or controls on the model.
</td>
</tr>
</tbody>
</table>
<table class="usa-table">
<thead>
<tr>
<th scope="col">Field Name</th>
<th scope="col">exemptionText</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Data Type</th>
<td>String or Null</td>
</tr>
<tr>
<th scope="row">Definition</th>
<td>
If an exemption is listed in the <code>usageType</code> field, this field should include a
one or two sentence justification for the exemption used.
</td>
</tr>
<tr>
<th scope="row">Required</th>
<td>No</td>
</tr>
<tr>
<th scope="row"><span style="white-space: nowrap;">AI R&D Guidance</span></th>
<td>
Agencies shall describe how researchers may be able to access
<code>governmentWideReuse</code> or exempt data.
</td>
</tr>
</tbody>
</table>
<table class="usa-table">
<thead>
<tr>
<th scope="col">Field Name</th>
<th scope="col">relatedCode</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Data Type</th>
<td>Array</td>
</tr>
<tr>
<th scope="row">Definition</th>
<td>
An array of affiliated government repositories that may be a part of the same project. For
example, <code>relatedCode</code> for <code>code-gov-front-end</code> would include
<code>code-gov-api</code> and <code>code-gov-client</code>.
</td>
</tr>
<tr>
<th scope="row">Required</th>
<td>No</td>
</tr>
<tr>
<th scope="row"><span style="white-space: nowrap;">AI R&D Guidance</span></th>
<td>Agencies shall describe related models and code.</td>
</tr>
</tbody>
</table>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class InventoryCodeContainer extends Component {
<LazyHTML url={`${dataurl}compliance/how-to-inventory-a.html`} />
</div>
<InventoryCodeComponent url={schemaUrl} schema={schema} />
<LazyHTML url={`${dataurl}compliance/data-assets-ai.html`} />
<div id="how-to-inventory-b">
<LazyHTML url={`${dataurl}compliance/how-to-inventory-b.html`} />
</div>
Expand Down
3 changes: 3 additions & 0 deletions styles/theme/_uswds-theme-custom-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,6 @@ html {
}
}
}
code {
background-color: rgba(0, 0, 0, 0.05);
}