• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Contest Calculator

contest-calc-img-png.278462


The contest calculator is used to automatically calculate the results with simply pasting URLs from 1)poll thread and from 2)judge thread.


This app does not automatically read values, so one must/can manually adjust poll/judge for a contestant.


The sites source code is parsed and the filter works with regex, which means that the sites have to follow certain patterns to match the conditions so the script can get correct values:

Poll Thread:
  • The linked thread must include an official HiveWorkshop poll.
  • Single vote, or multiple votes option, both is allowed.
  • The thread's title should end with a "- Poll". It is used for a title naming. [optional]

Judge Thread:
  • The thread must contain one formula with following pattern:
    "FinalScore = (30*PollVotes/POLL_VOTES_TOTAL) + (70*JudgeScore/JUDGE_SCORE_TOTAL)"
    "30" and "70" can vary, depending on your needs.

  • The thread must contain following pattern:
    "Max Judgement Score: 40"
    "40" in this example is the highest score one can get in judgement. It can vary, depending on your needs.

  • The judge review must contain:
    "Final Judgement Score: xx"
    ... where xx represents the reached judgement score.

  • The judge review can contain [optional]:
    "Final Penalty: xx"
    ... where xx represents the reached penalty. It will be deducted at the final score calculation.

  • The judgement must be uniqe, which means that having multiple final judgement scores or final penalties for one contestant is forbidden. That also means that scores/penalties must be correctly merged together in before, in case there are multiple judgements.

  • The judge reviews must be listed in the same order as the competitors are listed in the poll thread.

Here is one example with correct pattern:
Zephyr Contest #15 - Poll
Zephyr Contest #15 - Results

For your own contest you probably won't have a public results thread to paste as link, though you may also use a pastebin link, if you put the judgement info there. (thanks, Ralle, for making pastebin entries publicly visible)

Note: When running the file's script the first time your google account will have to admit to give certain permissions for the script to work properly.

Attachments

  • contest calc.gif
    contest calc.gif
    309.7 KB · Views: 111
  • contest calc img.png
    contest calc img.png
    47.9 KB · Views: 167
  • Hive Contest Calculator v1.2.7z
    425.8 KB · Views: 118
Last edited:
Top