DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
733 stars 256 forks source link

Add image visualization as type of script to generate testcase images #367

Open eldering opened 6 years ago

eldering commented 6 years ago

Currently we support having testcase images, but only loaded statically. We should have a new type of script to both be able generate those during import and also to generate them from team output, in case the visualization depends on the output and then also display those in the jury interface for visual comparison.

meisterT commented 6 years ago

I seem to remember that you have a prototype of this, is that correct?

eldering commented 6 years ago

I started looking into it, but no prototype yet. All I have is https://github.com/eldering/domjudge/tree/testcase-image-gen

nickygerritsen commented 4 years ago

Some points:

meisterT commented 7 months ago

In the discussion just now, it came up that this could a judgetask.

vmcj commented 1 month ago

@eldering looking at the problem spec it seems to hint that a generator for testcases should be run before import, I would say that a (testcase)visualization_generator should by the same logic also be ran before the import.

So should we only visualize the output of teams? I see an usecase for that or do you want both features?

eldering commented 1 month ago

@eldering looking at the problem spec it seems to hint that a generator for testcases should be run before import, I would say that a (testcase)visualization_generator should by the same logic also be ran before the import.

So should we only visualize the output of teams? I see an usecase for that or do you want both features?

Yes, this only applies to team output in the current context.