Skip to content

Instantly share code, notes, and snippets.

@shashank21j
Last active October 18, 2016 11:34
Show Gist options
  • Save shashank21j/64830e7e3dab96a2ccb8 to your computer and use it in GitHub Desktop.
Save shashank21j/64830e7e3dab96a2ccb8 to your computer and use it in GitHub Desktop.
Setter/Tester Rules

Step 1 -> Read this thoroughly https://gist.github.com/shashank21j/41191d61e59cc53d9dad. And if you have any doubts discuss with a corresponding person from HackerRank team.

###For Setters

  • Problem Statement should be well written (atleast understandable) and well formatted.
  • Description of each variables must have it's type example float, integer etc.
  • Have 10-15 test cases, multitest per file if possible, 10-15 input files varying in difficulty and corners. Atleast 3 sample test case.
  • Try not to have any medium testcases, there should be only 2 types of testcases easy (hand verifiable) and hard using maximal constraints. Example if constraints on N is 105 then a few should be of N = 10 and all other testcase should be of largest possible size.
  • Submit testcase generator to the hackerrank admin working with you for verification. Or share your test case generation plan with the tester.
  • If max TL per testcase for C++ is >1sec or For java is >2 sec please inform Hackerrank admin about it. We might need limited languages.
  • Sample test case Must be weighted 0, and difficult cases should be weighted more than easier ones.
  • Sample in test case should be same as sample in statement.
  • Editorial must be added as soon as challenge is approved.

###For Testers

  • Solve problem independently, and get access to test_case generator. Verify generator.
  • Verify input to match the constraints exactly, check for extra spaces, bounds, extra lines too.
  • Decide on Brute Force possibility and any other bad solutions.
  • verify if setter has written understandable problem, and sample is 0, weight is incremental etc.
  • Decide difficulty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment