Skip to content

Commit 699f8f8

Browse files
committed
fix more copy
1 parent e5c83a5 commit 699f8f8

File tree

14 files changed

+17
-17
lines changed

14 files changed

+17
-17
lines changed

web/ee/tests/6-auto-evaluation/tests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ const testWithEvaluationFixtures = baseTest.extend<EvaluationFixtures>({
4040
// 2. Select Testset
4141
const selectedTestset = testset
4242

43-
await goToStep("Testset")
43+
await goToStep("Test set")
4444
await uiHelpers.selectTableRowInput({
4545
rowText: selectedTestset,
4646
inputType: "radio",
4747
checked: true,
4848
})
4949
await expect(
5050
page
51-
.locator(".ant-tabs-tab", {hasText: "Testset"})
51+
.locator(".ant-tabs-tab", {hasText: "Test set"})
5252
.locator(".ant-tag", {hasText: selectedTestset}),
5353
).toBeVisible()
5454

web/ee/tests/9-human-annotation/tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const testWithHumanFixtures = baseTest.extend<HumanEvaluationFixtures>({
8383

8484
await uiHelpers.typeWithDelay('input[placeholder="Enter a name"]', config.name)
8585

86-
await goToStep("Testset")
86+
await goToStep("Test set")
8787
await uiHelpers.selectTableRowInput({
8888
rowText: config.testset,
8989
inputType: "radio",

web/oss/src/components/EvalRunDetails/atoms/table/columns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const deriveStepGroupLabel = (role: StepRole, stepMeta?: StepMeta): string => {
148148
if (role === "input") {
149149
if (refs.testset) {
150150
const label = formatReferenceLabel(refs.testset)
151-
return label ? `Testset ${label}` : "Testset"
151+
return label ? `Testset ${label}` : "Test set"
152152
}
153153

154154
if (refs.query) {

web/oss/src/components/EvalRunDetails/components/FocusDrawerSidePanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const FocusDrawerSidePanel = ({runId, scenarioId}: FocusDrawerSidePanelProps) =>
4747
[rows, scenarioId],
4848
)
4949
const scenarioIndex: number | undefined = scenarioRow?.scenarioIndex
50-
const scenarioBase = evalType === "human" ? "Scenario" : "Testcase"
50+
const scenarioBase = evalType === "human" ? "Scenario" : "Test case"
5151
const parentTitle = scenarioIndex
5252
? `${scenarioBase} #${scenarioIndex}`
5353
: scenarioId

web/oss/src/components/EvalRunDetails/components/views/OverviewView/components/MetadataSummaryTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ const InvocationErrorsCell = makeMetricCell("attributes.ag.metrics.errors.cumula
381381
const METADATA_ROWS: MetadataRowRecord[] = [
382382
{
383383
key: "testsets",
384-
label: "Testset",
384+
label: "Test set",
385385
Cell: LegacyTestsetsCell,
386386
shouldDisplay: ({snapshots}) =>
387387
snapshots.some(({testsetIds}) => (testsetIds?.length ?? 0) > 0),

web/oss/src/components/EvalRunDetails/export/labelResolvers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function normalizeMetricLabel(metricKey?: string | null): string | undefined {
3131
}
3232

3333
/**
34-
* Clean up technical IDs from labels (e.g., "Testset 019ada…3d9b" -> "Testset")
34+
* Clean up technical IDs from labels (e.g., "Testset 019ada…3d9b" -> "Test set")
3535
*/
3636
function cleanTechnicalIds(label: string): string {
3737
if (!label) return label

web/oss/src/components/EvaluationRunsTablePOC/utils/referenceSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface ReferenceColumnDescriptor {
3232
const ROLE_LABEL: Record<ReferenceRole, string> = {
3333
application: "Application",
3434
variant: "Variant",
35-
testset: "Testset",
35+
testset: "Test set",
3636
query: "Query",
3737
evaluator: "Evaluator",
3838
}

web/oss/src/components/Playground/Components/PlaygroundGenerations/assets/GenerationCompletion/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const GenerationCompletion = ({
6060
{"mb-10": viewType !== "comparison"},
6161
])}
6262
>
63-
<AddButton size="small" label="Testcase" onClick={handleAddNewRow} />
63+
<AddButton size="small" label="Test case" onClick={handleAddNewRow} />
6464
</div>
6565
) : null}
6666
</div>

web/oss/src/components/TestcasesTableNew/components/TestcaseHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export function TestcaseHeader(props: TestcaseHeaderProps) {
288288
<div className="flex flex-col gap-1">
289289
<div className="flex items-center gap-2">
290290
<Typography.Title level={3} style={{margin: 0}}>
291-
{testsetName || "Testset"}
291+
{testsetName || "Test set"}
292292
</Typography.Title>
293293
<Dropdown
294294
menu={{

web/oss/src/components/TestcasesTableNew/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export function TestcasesTableNew({mode = "edit"}: TestcasesTableNewProps) {
143143
breadcrumbs: {
144144
testsets: {label: "testsets", href: `${projectURL}/testsets`},
145145
"testset-detail": {
146-
label: metadata?.testsetName ?? "Testset",
146+
label: metadata?.testsetName ?? "Test set",
147147
value: revisionIdParam as string,
148148
},
149149
},
@@ -206,7 +206,7 @@ export function TestcasesTableNew({mode = "edit"}: TestcasesTableNewProps) {
206206
onAddColumn={() => setIsAddColumnModalOpen(true)}
207207
header={
208208
<TestcaseHeader
209-
testsetName={metadata?.testsetName ?? "Testset"}
209+
testsetName={metadata?.testsetName ?? "Test set"}
210210
description={metadata?.description ?? ""}
211211
metadata={metadata}
212212
availableRevisions={availableRevisions}
@@ -297,7 +297,7 @@ export function TestcasesTableNew({mode = "edit"}: TestcasesTableNewProps) {
297297
router.push(`${projectURL}/testsets/${newRevisionId}`)
298298
}}
299299
testsetId={metadata?.testsetId ?? ""}
300-
testsetName={metadata?.testsetName ?? "Testset"}
300+
testsetName={metadata?.testsetName ?? "Test set"}
301301
/>
302302
</div>
303303
)

0 commit comments

Comments
 (0)