Skip to content

Commit

Permalink
adjust names
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Nov 25, 2024
1 parent 7820ef4 commit 7f1b63e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion report-viewer/src/components/ComparisonTableFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</ButtonComponent>
</div>
<OptionsSelector
title="Sort By:"
title="Sorting Metric:"
:defaultSelected="getSortingMetric()"
:labels="tableSortingOptions"
@selection-changed="(index: number) => changeSortingMetric(index)"
Expand Down
14 changes: 7 additions & 7 deletions report-viewer/src/model/MetricType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,31 +78,31 @@ class PercentageMetricType extends MetricType {
export namespace MetricTypes {
export const AVERAGE_SIMILARITY = new PercentageMetricType(
'AVG',
'Average Similarity',
'Average',
'The average similarity of the two files.\nA high similarity indicates that the programs work in a similar way.',
MetricJsonIdentifier.AVERAGE_SIMILARITY
)
export const MAXIMUM_SIMILARITY = new PercentageMetricType(
'MAX',
'Maximum Similarity',
'Maximum',
'The maximum similarity of the two files.\nUseful if programs are very different in size.',
MetricJsonIdentifier.MAXIMUM_SIMILARITY
)
export const MINIMUM_SIMILARITY = new PercentageMetricType(
'MIN',
'Minimum Similarity',
'Minimum',
'The minimum similarity of the two files.',
MetricJsonIdentifier.MINIMUM_SIMILARITY
)
export const INTERSECTION = new IdentityMetricType(
'INTER',
'COUNT',
'Matched Tokens',
'The number of tokens that are matched between the two files.',
MetricJsonIdentifier.INTERSECTION
)
export const SYMMETRIC = new PercentageMetricType(
'SYM',
'Symmetric Similarity',
'Symmetric',
'A symmetric similarity measure.',
MetricJsonIdentifier.SYMMETRIC
)
Expand All @@ -113,8 +113,8 @@ export namespace MetricTypes {
MetricJsonIdentifier.LONGEST_MATCH
)
export const OVERALL = new IdentityMetricType(
'ALL',
'Overall',
'LEN',
'Overall Length',
'Sum of both submission lengths.',
MetricJsonIdentifier.OVERALL
)
Expand Down

0 comments on commit 7f1b63e

Please sign in to comment.