Content deleted Content added
Jackmcbarn (talk | contribs) make sure the args stay in order |
Jackmcbarn (talk | contribs) use pre-existing sorted keys, and prepare to use awards |
||
Line 44:
end
local function
local
table.insert(
elseif v:match('^award(%d)$') then
▲ if k:match('^agg(%d+)$') then
▲ table.insert(aggregators, args[k])
▲ elseif k:match('^rev(%d+)$') then
▲ table.insert(reviewers, args[k])
end
end
return reviewers, aggregators,
end
Line 499 ⟶ 495:
local awardnums = {}
local j = 1
local activeSystems = getActiveSystems(args)▼
local platforms = #activeSystems▼
local sortedArgKeys = {}
Line 511 ⟶ 503:
end
table.sort(sortedArgKeys)
▲ local activeSystems = getActiveSystems(args)
▲ local platforms = #activeSystems
local reviewerKeys, aggregatorKeys, awardKeys = getArgKeyTables(sortedArgKeys)
local custome_rev, custome_agg = #reviewerKeys, #aggregatorKeys
-- creates a table of all unique reviewers.
|