go to post Kevin An · Dec 25, 2023 My solutions: https://github.com/projecteulerlover/AdventOfCode.Quality scanner: https://community.objectscriptquality.com/dashboard?id=intersystems_iris... Happy holidays all! <3
go to post Kevin An · Dec 23, 2022 Thanks! I think in the future, we should have a class template for these problems that would make it easy to check each contestant's code programmatically. I'm guessing this year, people did not follow some uniform API pattern to solve each problem, where to grab the inputs, etc. It would be nice if we all followed some standard so no one has to go through checking these by hand.
go to post Kevin An · Dec 22, 2022 Regarding the formal verification part. Seems a bit strange to me: quite a few problems this year involved thinking heuristically. How can I guarantee my solution works for any input when I myself have only seen a single input?
go to post Kevin An · Dec 15, 2022 Same question as mark actually. Actually used classes this year, but the quality checker still displays it as having 0 lines.
go to post Kevin An · Dec 26, 2021 It feels weird to me that the rules should be changed to disallow Python for this year, as that would actively cost Robert Cemper his 3rd place prize, but on this it's of course up to the organizers.As for your second point, I think it is correct that having the IRIS wrapper around pure Python code would be a bit pointless, and it would also be strange for InterSystems to sponsor such a event. I think the main selling point of doing these problems in CoS is a flexibility of working with multidimensional arrays and the flexibility of this data structure to solve challenging and intricate problems.
go to post Kevin An · Dec 25, 2021 After the holidays, could we get an update on the use of embedded Python for these contests?I always got the feel from InterSystems events like this that we are trying to push for greater product visibility to those outside the InterSystems/CoS/Mumps umbrella, and that these contests welcome new people to take part in these technologies. Please correct me if I'm incorrect in this assumption- if this is the case, the rest of this post is just nonsensical rambling.I don't fault anyone who used it during the contest; for example, I see from scrolling up that @FabianHaupt asking for clarifications on additional rules for the code in this thread, which I guess could have been hinting at this feature (which didn't receive any public follow up). However, it makes me feel strange that this is both allowed and no announcement was made about it.From my perspective, the first rule which says "...present the code in InterSystems ObjectScript in UDL form..." would automatically make most new contestants write in CoS only, when its more likely (from a probabilistic perspective) that they have more experience and would have done much better with Python. Obviously, the fact that embedded Python in IRIS as a feature isn't a state secret, but I still feel like new users are disadvantaged from knowing about it.
go to post Kevin An · Dec 25, 2021 Guess that's my plan for next year :) I guess I don't really follow ISC products for the rest of the year
go to post Kevin An · Dec 25, 2021 Wow this is very interesting. We can use Python inside Iris? (e.g., https://github.com/rcemper/AoC2021-rcc/blob/master/src/dc/aoc2021/Day23.cls) If I had know this ahead of time this would have been a lot less painful...
go to post Kevin An · Dec 25, 2021 Happy holidays everyone! Another year of interesting problems and order of operation related errors ;)Repository: https://github.com/projecteulerlover/AdventOfCodeObjectScript quality status: https://community.objectscriptquality.com/dashboard?id=intersystems_iris_community%2FAdventOfCode
go to post Kevin An · Dec 20, 2021 I wrote a script to calculate what the scoreboard looks like if we only account for people using COS (using @Robert Cemper's list). That is, I used the provided JSON data to form my own sorted lists of solve times for part 1 and part 2 for each question, discluding users not present in Robert's list. Scores are then recalculated based on each user's position in the sorted lists and summed up (which should match how they are calculated by AoC).
go to post Kevin An · Dec 19, 2021 Ah, I am using the same json inputs as you (freshly downloaded a few seconds before the script was run). The thing with only sorting the scores from the json file is that people who didn't solve in CoS shouldn't really reflect the "actual standings" for the contest. That's why the scores are so different- for example suppose the leaderboard only consists of the three users "cos_coder_1", "cos_coder_2", and "non_cos_coder". My script effectively removes the effect that "non_cos_coder" has on the leaderboard (e.g. on days where they got first, the other two users effectively get first/second). The overall decreased scores is because this means we consider fewer participants as "active".
go to post Kevin An · Dec 1, 2021 I think as long as this code doesn't have errors (when you look for your repository in https://community.objectscriptquality.com/projects?sort=-analysis_date), and gets the correct answer on the AoC website, it should be accepted.
go to post Kevin An · Dec 1, 2021 Just an addendum that since we use the private leaderboard mentioned in the original post, replace "100" with "the number of people in the private leaderboard", and decrement this by one for each person that did a particular part before you.
go to post Kevin An · Nov 30, 2021 Resolved: it looks like submitting a dummy change kicked off the scan.
go to post Kevin An · Nov 29, 2021 I made this repo public, but it doesn't seem to have been scanned?https://github.com/projecteulerlover/AdventOfCode