render: replace "diff" with Δ|δ to not mistake it for diffuse

This commit is contained in:
Ivan Avdeev 2024-02-01 12:21:50 -05:00
parent 6e809543f3
commit 55b7e1fc21

View File

@ -68,7 +68,7 @@ function buildTestResultsTable(data) {
const fields = [
{label: 'Test', field: 'test', tags_func: sectionLink},
{label: 'Channel', field: 'channel', tags_func: sectionLink},
{label: 'Diff, %', field: 'diff_pct'},
{label: 'Δ, %', field: 'diff_pct'},
{label: 'Failed', field: 'fail'},
];
@ -92,7 +92,7 @@ function buildSummary(data) {
function buildTestResultImages(data) {
return data.flatMap((d) => {
return Tag('details', {id: makeId(d)}, null, [
Tag('summary', null, `${d.test}/${d.channel} diff=${d.diff_pct}`),
Tag('summary', null, `${d.test}/${d.channel} δ=${d.diff_pct}`),
Tag('img', {src: d.image_diff}),
Tag('img', {src: d.image_flip}),
]);