But the whole thing I was writing comes out not very useful: it is an image processing function that only fixes salt & pepper noise, that means replaces small pixels of pure white or pure black with nearby ones
also, if other things are included like comments or other helper definitions, will they go through too? I want to comment the solutions, but if they're fairly short, commenting inside the function breaks it up too much imo
@Adám this is why I think the ideal competition is entirely objective... if the submissions returned an exact score, syntax errors would be impossible and you could submit whatever you wanted
maybe code quality etc could be a tiebreaker to retain that aspect
@rak1507 There are two objections to that. 1: We need a more capable sandboxing system than TryAPL's. 2: Some think that being able to make sure your submission is correct is part of the challenge (the superficial syntax checking was chosen as a middle ground between that camp and those that wanted phase 1 style checking).
@rak1507 then you'd just have n% (where n is large) of submissions needing to be tiebreaker-ed, and (100-n)% of solutions with some very small mistake that have zero chance to win
also, it wouldn't anymore be an array language competition, but just a programming competition with a weird language requirement that for whatever reason has : before your usual control structures
@rak1507 if you immediately showed the score, then, if the competitiong has a long time frame, everyone trying would eventually get 100% correct. If there's a small time frame, though, there's very little (or negative) incentive to make array-y solutions, again defeating the purpose of "APL" in "APL Problem Solving Competition"
@dzaima that's assuming the problems are easy enough, it could be hard enough that no one actually gets 100%, especially if you take into consideration speed and things
@rak1507 taking speed into consideration is another option, but that'd devolve into benchmarking dozens of different ways to write the same thing in Dyalog APL
@rak1507 I think that Dyalog's "good job" metric is probably still a better metric of solution array-iness than any objective metric for array-iness one can think of though
@xpqz well no, could be one of the phase 1s 'passed' and missed a crucial test case, or I didn't comment enough, or that I didn't include testing in with my solutions (what? who would do that?)...
@dzaima dyalog could run a completely different contest about solution speed or programming speed or algorithm design or some combination of those, but I do not think that'll ever come close to measuring actual array-iness