HackerRank Projects for Data Science allows you to create project-based real-world questions to assess Data Scientists. It helps better identify candidates with strong data science skills, and comes with a host of options from using our predefined Data Science assessments that assess candidate skills in Data wrangling, Data modelling, Data visualization and Machine learning, to creating your own Data Science questions.
To learn more about 'HackerRank Projects for Data Science', read our blog.
In this article, we will dive into how you can create your own Data Science Question on HackerRank Projects.
- You must be logged in to your HackerRank for Work account.
- Click the Library tab on the home page and then click Create Question.
- In the Select Question Type dialog box, under Projects, select Data Science as shown below.
- Once you choose the role, you will be proceeding to the stage where the question can be designed.
- In the SELECT ENVIRONMENT tab, select Jupyter Framework and hit Proceed.
- The Setup Project tab will already be initialized with a sample project for Jupyter Framework.
- The sample project has the necessary files for a candidate to attempt and solve a Data Science question.
- You can explore the sample project files, and create your own project to assess candidates.
- The hackerrank.yml config file (also present in the sample project) is a platform-required configuration file and is required for configuring necessary project parameters. This file is present by default for Data Science questions in the root directory, and you can choose to edit it only in cases where you might want to edit certain default open paths or to add automatic scoring programs.
- For Data Science questions, the validation is completed using default files, and uploading a separate .yml file is not necessary. You simply need to upload your project and validate, to move on to the next step.
- For setting up the project:
- You can import your own project from a public git URL or by uploading a zip.
Add evaluation files and actual output file in the third section. To understand how to set up automatic scoring for Data Science Question, read our article: “Setting up automatic scoring for Data Science Questions”
Successful validation of your uploaded project entails the following:
- Should be a valid project
- Project size should be less than 5MB
- hackerrank.yml should be present in the root directory
- hackerrank.yml should be valid
If automatic scoring is setup then:
- The scoring command should run successfully
- The scoring command should produce valid output
- The scoring command should produce valid test cases
- If the validation fails, use the information provided by validation result to fix the project.
- Once validation succeeds, you can Save & proceed to the next tab.
- In the Define Question tab, specify the following:
- Problem Name
Ensure that the problem name does not hint at the solution to the problem.
While you can assign any score you want for the questions you create, we use certain standards for assigning scores to the questions we create that you might find useful.
Score Question Type 50 points For an easy question that can be solved in 15 minutes 75 points For a medium question that can be solved in 30 minutes 100 points For a hard question that can be solved in 45 to 60 minutes
Tags are words or phrases that help in searching and organizing questions. You can add existing tags or create new tags. Alternatively, associate custom Tags to identify your Question by its complexity or levels.
- Problem Name
When you view your Questions in the Library, the associated tags will be indicated for every Question. You can use these Tags to generate candidate reports and performance graphs.
Refer to Setting the Difficulty Level for Questions for more information.
- Problem Description
While describing the problem statement, ensure that the question is clear and detailed. You can also use tables, graphs, or attachments to enhance clarity.
- Internal notes
Internal notes are for later reference. You can include a rubric about scoring the questions or write solutions to the problems in this section. These can be used by your team while evaluating the test. Everything the hiring manager would need to evaluate the question, is ideally present here, including the solution Jupyter Notebook, the evaluation script, etc. They are only visible to your team and you; however, candidates cannot view these notes.
- You can support your problem statement and internal notes by attaching a relevant reference file in these sections. Refer to How to Attach a File to a Problem Statement for more information.
- Click Save & Proceed.
- Problem Description
The Questions you create are stored in the HackerRank Library under the “My Company questions” section. The Question type and the associated tags are indicated below every Question title as shown below.
While in the Library, you can proceed to create more questions or add Questions to your Tests.