diff --git a/libs/e2e/src/lib/describer/modelAssessment/Constants.ts b/libs/e2e/src/lib/describer/modelAssessment/Constants.ts index 1c563db28c..55a1510966 100644 --- a/libs/e2e/src/lib/describer/modelAssessment/Constants.ts +++ b/libs/e2e/src/lib/describer/modelAssessment/Constants.ts @@ -225,5 +225,6 @@ export enum Locators { VisionDataExplorerImageExplorerViewImage = "#VisionDataExplorer #visionImage_0", VisionDataExplorerImageExplorerViewImagePredictedY = "#VisionDataExplorer #predictedY_0", VisionDataExplorerImageExplorerViewImageTrueY = "#VisionDataExplorer #trueY_0", - VisionDataExplorerImageExplorerViewImageODAggLabel = "#VisionDataExplorer #odAggregateLabel_0" + VisionDataExplorerImageExplorerViewImageODAggLabelCorrect = "#VisionDataExplorer #odAggregateLabel_correct_0", + VisionDataExplorerImageExplorerViewImageODAggLabelIncorrect = "#VisionDataExplorer #odAggregateLabel_incorrect_0", } diff --git a/libs/e2e/src/lib/describer/modelAssessment/visionDataExplorer/ensureAllVisionDataExplorerImageExplorerViewElementsAfterSelectionArePresent.ts b/libs/e2e/src/lib/describer/modelAssessment/visionDataExplorer/ensureAllVisionDataExplorerImageExplorerViewElementsAfterSelectionArePresent.ts index 91ae0dfb66..10dd73790b 100644 --- a/libs/e2e/src/lib/describer/modelAssessment/visionDataExplorer/ensureAllVisionDataExplorerImageExplorerViewElementsAfterSelectionArePresent.ts +++ b/libs/e2e/src/lib/describer/modelAssessment/visionDataExplorer/ensureAllVisionDataExplorerImageExplorerViewElementsAfterSelectionArePresent.ts @@ -14,7 +14,10 @@ export function ensureAllVisionDataExplorerImageExplorerViewElementsAfterSelecti Locators.VisionDataExplorerImageExplorerViewObjectDetectionContainer ).should("exist"); - cy.get(Locators.VisionDataExplorerImageExplorerViewImageODAggLabel).should( + cy.get(Locators.VisionDataExplorerImageExplorerViewImageODAggLabelCorrect).should( + "exist" + ); + cy.get(Locators.VisionDataExplorerImageExplorerViewImageODAggLabelIncorrect).should( "exist" ); } else { diff --git a/libs/e2e/src/lib/describer/modelAssessment/visionDataExplorer/ensureAllVisionDataExplorerViewElementsBeforeSelectionAreNotPresent.ts b/libs/e2e/src/lib/describer/modelAssessment/visionDataExplorer/ensureAllVisionDataExplorerViewElementsBeforeSelectionAreNotPresent.ts index 2ab55047aa..3b805d0cac 100644 --- a/libs/e2e/src/lib/describer/modelAssessment/visionDataExplorer/ensureAllVisionDataExplorerViewElementsBeforeSelectionAreNotPresent.ts +++ b/libs/e2e/src/lib/describer/modelAssessment/visionDataExplorer/ensureAllVisionDataExplorerViewElementsBeforeSelectionAreNotPresent.ts @@ -43,7 +43,10 @@ export function ensureAllVisionDataExplorerImageExplorerViewElementsBeforeSelect cy.get(Locators.VisionDataExplorerImageExplorerViewImageTrueY).should( "not.exist" ); - cy.get(Locators.VisionDataExplorerImageExplorerViewImageODAggLabel).should( + cy.get(Locators.VisionDataExplorerImageExplorerViewImageODAggLabelCorrect).should( + "not.exist" + ); + cy.get(Locators.VisionDataExplorerImageExplorerViewImageODAggLabelIncorrect).should( "not.exist" ); } diff --git a/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/ImageList.styles.ts b/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/ImageList.styles.ts index 3ffae90b3d..d55444d680 100644 --- a/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/ImageList.styles.ts +++ b/libs/interpret-vision/src/lib/VisionExplanationDashboard/Controls/ImageList.styles.ts @@ -72,7 +72,8 @@ export const imageListStyles: () => IProcessedStyleSet {this.props.taskType === DatasetTaskType.ObjectDetection ? ( - + + {`✅ Correct: ${odAggregate[0].split(' ')[0]}`} + + - {odAggregate} + {`❌ Wrong: ${odAggregate[1].split(' ')[0]}`} ) : (