From 8408fc2be0099c4f2a985d24ba0943b481668687 Mon Sep 17 00:00:00 2001 From: Clara Youdale Date: Mon, 9 Dec 2024 10:47:07 -0300 Subject: [PATCH 1/4] Update AI implicated systems copy --- site/gatsby-site/i18n/locales/es/entities.json | 4 ++-- site/gatsby-site/i18n/locales/fr/entities.json | 4 ++-- site/gatsby-site/i18n/locales/ja/entities.json | 4 ++-- site/gatsby-site/playwright/e2e-full/cite.spec.ts | 2 +- site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts | 2 +- .../server/emails/templates/EntityIncidentUpdated.ts | 2 +- .../server/emails/templates/NewEntityIncident.ts | 2 +- site/gatsby-site/server/emails/templates/NewIncident.ts | 2 +- site/gatsby-site/src/components/entities/AllegedEntities.js | 6 +++--- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/site/gatsby-site/i18n/locales/es/entities.json b/site/gatsby-site/i18n/locales/es/entities.json index bb668d7b61..468000ab75 100644 --- a/site/gatsby-site/i18n/locales/es/entities.json +++ b/site/gatsby-site/i18n/locales/es/entities.json @@ -21,8 +21,8 @@ "Incidents involved as both Developer and Deployer": "Incidentes involucrados como desarrollador e implementador", "Incidents Harmed By": "Afectado por Incidentes", "Alleged: <2> developed and deployed an AI system, which harmed <6>.": "Presunto: un sistema de IA desarrollado e implementado por <2>, perjudicó a <6>.", - "The AI implicated system is": "El sistema de IA implicado es", - "The AI implicated systems are": "Los sistemas de IA implicados son", + "is the AI implicated system.": "es el sistema de IA implicado.", + "are the AI implicated systems.": "son los sistemas de IA implicados.", "Alleged: <1> developed an AI system deployed by <4>, which harmed <6>.": "Presunto: un sistema de IA desarrollado por <1> e implementado por <4>, perjudicó a <6>.", "Entities involved in AI Incidents": "^Entities involved in AI Incidents", "{{count}} Incident responses": "{{count}} respuestas de incidentes", diff --git a/site/gatsby-site/i18n/locales/fr/entities.json b/site/gatsby-site/i18n/locales/fr/entities.json index d780b45678..f25ed7e83f 100644 --- a/site/gatsby-site/i18n/locales/fr/entities.json +++ b/site/gatsby-site/i18n/locales/fr/entities.json @@ -28,6 +28,6 @@ "Back to Entity: {{name}}": "Retour à l'entité: {{name}}", "Entity updated successfully.": "Entité mise à jour avec succès.", "Error updating Entity.": "Erreur lors de la mise à jour de l'entité.", - "The AI implicated system is": "Le système d'IA impliqué est", - "The AI implicated systems are": "Les systèmes d'IA impliqués sont" + "is the AI implicated system.": "est le système d'IA impliqué.", + "are the AI implicated systems.": "sont les systèmes d'IA impliqués." } diff --git a/site/gatsby-site/i18n/locales/ja/entities.json b/site/gatsby-site/i18n/locales/ja/entities.json index 2019b640ea..4d974437ca 100644 --- a/site/gatsby-site/i18n/locales/ja/entities.json +++ b/site/gatsby-site/i18n/locales/ja/entities.json @@ -29,6 +29,6 @@ "Back to Entity: {{name}}": "組織に戻る: {{name}}", "Entity updated successfully.": "組織が正常に更新されました。", "Error updating Entity.": "組織の更新中にエラーが発生しました。", - "The AI implicated system is": "関連するAIシステムは です", - "The AI implicated systems are": "関連するAIシステムは です" + "is the AI implicated system.": "はAIに関与したシステムです。", + "are the AI implicated systems.": "はAIに関与したシステムです。" } diff --git a/site/gatsby-site/playwright/e2e-full/cite.spec.ts b/site/gatsby-site/playwright/e2e-full/cite.spec.ts index b14aba546e..77e892c751 100644 --- a/site/gatsby-site/playwright/e2e-full/cite.spec.ts +++ b/site/gatsby-site/playwright/e2e-full/cite.spec.ts @@ -452,7 +452,7 @@ test.describe('Cite pages', () => { test('Should show proper entities card text', async ({ page }) => { await page.goto('/cite/3/'); await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText( - 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.The AI implicated system is Entity 1.' + 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Entity 1 is the AI implicated system.' ); }); diff --git a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts index 68e009764e..56825a3c7b 100644 --- a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts +++ b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts @@ -34,7 +34,7 @@ test.describe('Dynamic Cite pages', () => { await expect(page.getByText(`Kronos’s scheduling algorithm and its use by Starbucks managers allegedly negatively impacted financial and scheduling stability for Starbucks employees, which disadvantaged wage workers.`)).toBeVisible(); await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText( - 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.The AI implicated system is Entity 1.' + 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Entity 1 is the AI implicated system' ); await expect(page.locator('[data-cy="citation"]').getByText("Report Count", { exact: true }).locator('xpath=following-sibling::div[1]')).toHaveText('2'); diff --git a/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts b/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts index 4653d01702..2dd559e0eb 100644 --- a/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts +++ b/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts @@ -165,7 +165,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}

-
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. The implicated systems are {{implicatedSystems}}.
+
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. {{implicatedSystems}} are the AI implicated systems.

Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/server/emails/templates/NewEntityIncident.ts b/site/gatsby-site/server/emails/templates/NewEntityIncident.ts index c033435c78..26eb1be1fb 100644 --- a/site/gatsby-site/server/emails/templates/NewEntityIncident.ts +++ b/site/gatsby-site/server/emails/templates/NewEntityIncident.ts @@ -166,7 +166,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}

-
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. The implicated systems are {{implicatedSystems}}.
+
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. {{implicatedSystems}} are the AI implicated systems.

Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/server/emails/templates/NewIncident.ts b/site/gatsby-site/server/emails/templates/NewIncident.ts index c49d028092..1fd49dad2d 100644 --- a/site/gatsby-site/server/emails/templates/NewIncident.ts +++ b/site/gatsby-site/server/emails/templates/NewIncident.ts @@ -165,7 +165,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}

-
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. The implicated systems are {{implicatedSystems}}.
+
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. {{implicatedSystems}} are the AI implicated systems.

Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/src/components/entities/AllegedEntities.js b/site/gatsby-site/src/components/entities/AllegedEntities.js index 0d40495ccf..ccb2dafb79 100644 --- a/site/gatsby-site/src/components/entities/AllegedEntities.js +++ b/site/gatsby-site/src/components/entities/AllegedEntities.js @@ -51,11 +51,11 @@ function ImplicatedSystemsList({ entities }) {
{entities.length > 0 && ( <> + {' '} - The AI implicated system{entities.length > 1 ? 's' : ''}{' '} - {entities.length > 1 ? 'are' : 'is'} + {entities.length > 1 ? 'are' : 'is'} the AI implicated system + {entities.length > 1 ? 's' : ''}. {' '} - . )}
From 51541629ce763b651e7d270ac1e1b807c5604fdf Mon Sep 17 00:00:00 2001 From: Clara Youdale Date: Mon, 9 Dec 2024 12:22:50 -0300 Subject: [PATCH 2/4] Add missing . to copy in dynamicCite test --- site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts index 56825a3c7b..8addaf43a3 100644 --- a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts +++ b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts @@ -34,7 +34,7 @@ test.describe('Dynamic Cite pages', () => { await expect(page.getByText(`Kronos’s scheduling algorithm and its use by Starbucks managers allegedly negatively impacted financial and scheduling stability for Starbucks employees, which disadvantaged wage workers.`)).toBeVisible(); await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText( - 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Entity 1 is the AI implicated system' + 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Entity 1 is the AI implicated system.' ); await expect(page.locator('[data-cy="citation"]').getByText("Report Count", { exact: true }).locator('xpath=following-sibling::div[1]')).toHaveText('2'); From da84223a24305f14f98abb1073437783daae58a0 Mon Sep 17 00:00:00 2001 From: Clara Youdale Date: Mon, 9 Dec 2024 17:59:14 -0300 Subject: [PATCH 3/4] Update copy to avoid ambiguity --- site/gatsby-site/i18n/locales/es/entities.json | 4 ++-- site/gatsby-site/i18n/locales/fr/entities.json | 4 ++-- site/gatsby-site/i18n/locales/ja/entities.json | 4 ++-- site/gatsby-site/playwright/e2e-full/cite.spec.ts | 2 +- site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts | 2 +- .../server/emails/templates/EntityIncidentUpdated.ts | 2 +- .../gatsby-site/server/emails/templates/NewEntityIncident.ts | 2 +- site/gatsby-site/server/emails/templates/NewIncident.ts | 2 +- site/gatsby-site/src/components/entities/AllegedEntities.js | 5 +---- 9 files changed, 12 insertions(+), 15 deletions(-) diff --git a/site/gatsby-site/i18n/locales/es/entities.json b/site/gatsby-site/i18n/locales/es/entities.json index 468000ab75..8016c4a887 100644 --- a/site/gatsby-site/i18n/locales/es/entities.json +++ b/site/gatsby-site/i18n/locales/es/entities.json @@ -21,8 +21,8 @@ "Incidents involved as both Developer and Deployer": "Incidentes involucrados como desarrollador e implementador", "Incidents Harmed By": "Afectado por Incidentes", "Alleged: <2> developed and deployed an AI system, which harmed <6>.": "Presunto: un sistema de IA desarrollado e implementado por <2>, perjudicó a <6>.", - "is the AI implicated system.": "es el sistema de IA implicado.", - "are the AI implicated systems.": "son los sistemas de IA implicados.", + "AI implicated system:": "Sistema de IA implicado:", + "AI implicated systems:": "Sistemas de IA implicados:", "Alleged: <1> developed an AI system deployed by <4>, which harmed <6>.": "Presunto: un sistema de IA desarrollado por <1> e implementado por <4>, perjudicó a <6>.", "Entities involved in AI Incidents": "^Entities involved in AI Incidents", "{{count}} Incident responses": "{{count}} respuestas de incidentes", diff --git a/site/gatsby-site/i18n/locales/fr/entities.json b/site/gatsby-site/i18n/locales/fr/entities.json index f25ed7e83f..1328bf6c21 100644 --- a/site/gatsby-site/i18n/locales/fr/entities.json +++ b/site/gatsby-site/i18n/locales/fr/entities.json @@ -28,6 +28,6 @@ "Back to Entity: {{name}}": "Retour à l'entité: {{name}}", "Entity updated successfully.": "Entité mise à jour avec succès.", "Error updating Entity.": "Erreur lors de la mise à jour de l'entité.", - "is the AI implicated system.": "est le système d'IA impliqué.", - "are the AI implicated systems.": "sont les systèmes d'IA impliqués." + "AI implicated system:": "Système de l'IA impliqué:", + "AI implicated systems:": "Systèmes de l'IA impliqués:" } diff --git a/site/gatsby-site/i18n/locales/ja/entities.json b/site/gatsby-site/i18n/locales/ja/entities.json index 4d974437ca..6613d666c5 100644 --- a/site/gatsby-site/i18n/locales/ja/entities.json +++ b/site/gatsby-site/i18n/locales/ja/entities.json @@ -29,6 +29,6 @@ "Back to Entity: {{name}}": "組織に戻る: {{name}}", "Entity updated successfully.": "組織が正常に更新されました。", "Error updating Entity.": "組織の更新中にエラーが発生しました。", - "is the AI implicated system.": "はAIに関与したシステムです。", - "are the AI implicated systems.": "はAIに関与したシステムです。" + "AI implicated system:": "AI関連システム:", + "AI implicated systems:": "AI関連システム:" } diff --git a/site/gatsby-site/playwright/e2e-full/cite.spec.ts b/site/gatsby-site/playwright/e2e-full/cite.spec.ts index 77e892c751..f129f9a507 100644 --- a/site/gatsby-site/playwright/e2e-full/cite.spec.ts +++ b/site/gatsby-site/playwright/e2e-full/cite.spec.ts @@ -452,7 +452,7 @@ test.describe('Cite pages', () => { test('Should show proper entities card text', async ({ page }) => { await page.goto('/cite/3/'); await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText( - 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Entity 1 is the AI implicated system.' + 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.AI implicated system: Entity 1' ); }); diff --git a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts index 8addaf43a3..56541305d9 100644 --- a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts +++ b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts @@ -34,7 +34,7 @@ test.describe('Dynamic Cite pages', () => { await expect(page.getByText(`Kronos’s scheduling algorithm and its use by Starbucks managers allegedly negatively impacted financial and scheduling stability for Starbucks employees, which disadvantaged wage workers.`)).toBeVisible(); await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText( - 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Entity 1 is the AI implicated system.' + 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.AI implicated system: Entity 1' ); await expect(page.locator('[data-cy="citation"]').getByText("Report Count", { exact: true }).locator('xpath=following-sibling::div[1]')).toHaveText('2'); diff --git a/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts b/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts index 2dd559e0eb..95c6cb4e8f 100644 --- a/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts +++ b/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts @@ -165,7 +165,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}

-
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. {{implicatedSystems}} are the AI implicated systems.
+
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. AI implicated system(s): {{implicatedSystems}}.

Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/server/emails/templates/NewEntityIncident.ts b/site/gatsby-site/server/emails/templates/NewEntityIncident.ts index 26eb1be1fb..4678c30e3e 100644 --- a/site/gatsby-site/server/emails/templates/NewEntityIncident.ts +++ b/site/gatsby-site/server/emails/templates/NewEntityIncident.ts @@ -166,7 +166,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}

-
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. {{implicatedSystems}} are the AI implicated systems.
+
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. AI implicated system(s): {{implicatedSystems}}.

Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/server/emails/templates/NewIncident.ts b/site/gatsby-site/server/emails/templates/NewIncident.ts index 1fd49dad2d..8513de96c1 100644 --- a/site/gatsby-site/server/emails/templates/NewIncident.ts +++ b/site/gatsby-site/server/emails/templates/NewIncident.ts @@ -165,7 +165,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}

-
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. {{implicatedSystems}} are the AI implicated systems.
+
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. AI implicated system(s): {{implicatedSystems}}.

Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/src/components/entities/AllegedEntities.js b/site/gatsby-site/src/components/entities/AllegedEntities.js index ccb2dafb79..2074313f6c 100644 --- a/site/gatsby-site/src/components/entities/AllegedEntities.js +++ b/site/gatsby-site/src/components/entities/AllegedEntities.js @@ -51,11 +51,8 @@ function ImplicatedSystemsList({ entities }) {
{entities.length > 0 && ( <> + AI implicated system{entities.length > 1 ? 's' : ''}:{' '} {' '} - - {entities.length > 1 ? 'are' : 'is'} the AI implicated system - {entities.length > 1 ? 's' : ''}. - {' '} )}
From f741ab2aeddacfaec9f8fd01c85c4f20c43250ea Mon Sep 17 00:00:00 2001 From: Clara Youdale Date: Wed, 11 Dec 2024 08:48:09 -0300 Subject: [PATCH 4/4] Fix implicated systems english copy --- site/gatsby-site/i18n/locales/es/entities.json | 4 ++-- site/gatsby-site/i18n/locales/fr/entities.json | 4 ++-- site/gatsby-site/i18n/locales/ja/entities.json | 4 ++-- site/gatsby-site/playwright/e2e-full/cite.spec.ts | 2 +- site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts | 2 +- .../server/emails/templates/EntityIncidentUpdated.ts | 2 +- site/gatsby-site/server/emails/templates/NewEntityIncident.ts | 2 +- site/gatsby-site/server/emails/templates/NewIncident.ts | 2 +- site/gatsby-site/src/components/entities/AllegedEntities.js | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/site/gatsby-site/i18n/locales/es/entities.json b/site/gatsby-site/i18n/locales/es/entities.json index 8016c4a887..ad0e9a5f5e 100644 --- a/site/gatsby-site/i18n/locales/es/entities.json +++ b/site/gatsby-site/i18n/locales/es/entities.json @@ -21,8 +21,8 @@ "Incidents involved as both Developer and Deployer": "Incidentes involucrados como desarrollador e implementador", "Incidents Harmed By": "Afectado por Incidentes", "Alleged: <2> developed and deployed an AI system, which harmed <6>.": "Presunto: un sistema de IA desarrollado e implementado por <2>, perjudicó a <6>.", - "AI implicated system:": "Sistema de IA implicado:", - "AI implicated systems:": "Sistemas de IA implicados:", + "Implicated AI system:": "Sistema de IA implicado:", + "Implicated AI systems:": "Sistemas de IA implicados:", "Alleged: <1> developed an AI system deployed by <4>, which harmed <6>.": "Presunto: un sistema de IA desarrollado por <1> e implementado por <4>, perjudicó a <6>.", "Entities involved in AI Incidents": "^Entities involved in AI Incidents", "{{count}} Incident responses": "{{count}} respuestas de incidentes", diff --git a/site/gatsby-site/i18n/locales/fr/entities.json b/site/gatsby-site/i18n/locales/fr/entities.json index 1328bf6c21..6eac29c7fc 100644 --- a/site/gatsby-site/i18n/locales/fr/entities.json +++ b/site/gatsby-site/i18n/locales/fr/entities.json @@ -28,6 +28,6 @@ "Back to Entity: {{name}}": "Retour à l'entité: {{name}}", "Entity updated successfully.": "Entité mise à jour avec succès.", "Error updating Entity.": "Erreur lors de la mise à jour de l'entité.", - "AI implicated system:": "Système de l'IA impliqué:", - "AI implicated systems:": "Systèmes de l'IA impliqués:" + "Implicated AI system:": "Système de l'IA impliqué:", + "Implicated AI systems:": "Systèmes de l'IA impliqués:" } diff --git a/site/gatsby-site/i18n/locales/ja/entities.json b/site/gatsby-site/i18n/locales/ja/entities.json index 6613d666c5..462109f69a 100644 --- a/site/gatsby-site/i18n/locales/ja/entities.json +++ b/site/gatsby-site/i18n/locales/ja/entities.json @@ -29,6 +29,6 @@ "Back to Entity: {{name}}": "組織に戻る: {{name}}", "Entity updated successfully.": "組織が正常に更新されました。", "Error updating Entity.": "組織の更新中にエラーが発生しました。", - "AI implicated system:": "AI関連システム:", - "AI implicated systems:": "AI関連システム:" + "Implicated AI system:": "AI関連システム:", + "Implicated AI systems:": "AI関連システム:" } diff --git a/site/gatsby-site/playwright/e2e-full/cite.spec.ts b/site/gatsby-site/playwright/e2e-full/cite.spec.ts index f129f9a507..807a95372a 100644 --- a/site/gatsby-site/playwright/e2e-full/cite.spec.ts +++ b/site/gatsby-site/playwright/e2e-full/cite.spec.ts @@ -452,7 +452,7 @@ test.describe('Cite pages', () => { test('Should show proper entities card text', async ({ page }) => { await page.goto('/cite/3/'); await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText( - 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.AI implicated system: Entity 1' + 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Implicated AI system: Entity 1' ); }); diff --git a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts index 56541305d9..05493b33f7 100644 --- a/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts +++ b/site/gatsby-site/playwright/e2e-full/dynamicCite.spec.ts @@ -34,7 +34,7 @@ test.describe('Dynamic Cite pages', () => { await expect(page.getByText(`Kronos’s scheduling algorithm and its use by Starbucks managers allegedly negatively impacted financial and scheduling stability for Starbucks employees, which disadvantaged wage workers.`)).toBeVisible(); await expect(page.locator('[data-cy="alleged-entities"]')).toHaveText( - 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.AI implicated system: Entity 1' + 'Alleged: Kronos developed an AI system deployed by Starbucks, which harmed Starbucks Employees.Implicated AI system: Entity 1' ); await expect(page.locator('[data-cy="citation"]').getByText("Report Count", { exact: true }).locator('xpath=following-sibling::div[1]')).toHaveText('2'); diff --git a/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts b/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts index 95c6cb4e8f..750a5f344f 100644 --- a/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts +++ b/site/gatsby-site/server/emails/templates/EntityIncidentUpdated.ts @@ -165,7 +165,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}

-
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. AI implicated system(s): {{implicatedSystems}}.
+
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. Implicated AI system(s): {{implicatedSystems}}.

Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/server/emails/templates/NewEntityIncident.ts b/site/gatsby-site/server/emails/templates/NewEntityIncident.ts index 4678c30e3e..df8f73acd1 100644 --- a/site/gatsby-site/server/emails/templates/NewEntityIncident.ts +++ b/site/gatsby-site/server/emails/templates/NewEntityIncident.ts @@ -166,7 +166,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}

-
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. AI implicated system(s): {{implicatedSystems}}.
+
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. Implicated AI system(s): {{implicatedSystems}}.

Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/server/emails/templates/NewIncident.ts b/site/gatsby-site/server/emails/templates/NewIncident.ts index 8513de96c1..0f54e24a41 100644 --- a/site/gatsby-site/server/emails/templates/NewIncident.ts +++ b/site/gatsby-site/server/emails/templates/NewIncident.ts @@ -165,7 +165,7 @@ export default `Incident Description: {{incidentDescription}}
Incident Date: {{incidentDate}}

-
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. AI implicated system(s): {{implicatedSystems}}.
+
Alleged: {{developers}} developed an AI system deployed by {{deployers}}, which harmed {{entitiesHarmed}}. Implicated AI system(s): {{implicatedSystems}}.

Sincerely,
Responsible AI Collaborative
diff --git a/site/gatsby-site/src/components/entities/AllegedEntities.js b/site/gatsby-site/src/components/entities/AllegedEntities.js index 2074313f6c..b3d193c742 100644 --- a/site/gatsby-site/src/components/entities/AllegedEntities.js +++ b/site/gatsby-site/src/components/entities/AllegedEntities.js @@ -51,7 +51,7 @@ function ImplicatedSystemsList({ entities }) {
{entities.length > 0 && ( <> - AI implicated system{entities.length > 1 ? 's' : ''}:{' '} + Implicated AI system{entities.length > 1 ? 's' : ''}:{' '} {' '} )}