test-B evaluations visible in Tables

This commit is contained in:
Mateusz Tylka 2023-07-02 19:29:32 +02:00
parent d645964266
commit 671d0ed650
4 changed files with 13 additions and 0 deletions

View File

@ -11,9 +11,13 @@ const orderKeys = (elem) => {
const testAkeys = elemKeys
.filter((key) => key.split('.')[1] === 'test-A')
.sort();
const testBkeys = elemKeys
.filter((key) => key.split('.')[1] === 'test-B')
.sort();
result = result.concat(dev0keys);
result = result.concat(dev1keys);
result = result.concat(testAkeys);
result = result.concat(testBkeys);
result.push('when');
return result;
}

View File

@ -159,6 +159,7 @@ const Leaderboard = (props) => {
const n = (pageNr - 1) * (ELEMENTS_PER_PAGE * 2);
const elements = entries.slice(n, n + ELEMENTS_PER_PAGE * 2);
console.log(entries);
return (
<FlexColumn

View File

@ -11,9 +11,13 @@ const orderKeys = (elem) => {
const testAkeys = elemKeys
.filter((key) => key.split('.')[1] === 'test-A')
.sort();
const testBkeys = elemKeys
.filter((key) => key.split('.')[1] === 'test-B')
.sort();
result = result.concat(dev0keys);
result = result.concat(dev1keys);
result = result.concat(testAkeys);
result = result.concat(testBkeys);
result.push('times', 'when');
return result;
}

View File

@ -11,9 +11,13 @@ const orderKeys = (elem) => {
const testAkeys = elemKeys
.filter((key) => key.split('.')[1] === 'test-A')
.sort();
const testBkeys = elemKeys
.filter((key) => key.split('.')[1] === 'test-B')
.sort();
result = result.concat(dev0keys);
result = result.concat(dev1keys);
result = result.concat(testAkeys);
result = result.concat(testBkeys);
result.push('when');
return result;
}