Open ChandlerSwift opened 4 years ago
Hi, sorry for the delay. This just fell out of scope but is easy to answer, I think.
Thanks again for all your incredible work.
The easiest way to do this seems like to extend the "attack" type to include the tests against gold. If we add a type
field to attacks
, this could be set to "test" in the test_against_gold case, and "attack" otherwise. Likewise for our Result
s.
type
field to attacks and filter on:
type
field to results~ (result.attack.type) and filter results on
test.create
)type=attack
flag to existing entries~ -- result.attack.type
; more detail to cometeam.show
)test.show
page?
We have a UI mocked out for this (test_against_gold.html), but it was removed from the menu in 588188538566dd8390b503d11eea7ba2f510afed since it wasn't yet functional.
Open questions (from Slack): @pahp:
gold
to see what it does, or run it like an attack, where we print the output of bothgold
and the team's executable, and then compare them? I think the first might be slightly easier, but they should be pretty similar, since we've already got all the logic worked out anyway.