Overview
You can now build your own VS Code tasks in the Task Wizard, publish them to your Task Library and use them in interviews. Until now the Task Wizard created tasks for the Basic editor only.
With a VS Code task you can:
- Pick a base technology and attach up to 2 services (for example a database), the same technologies you see when setting up an interview.
- Prepare the code in a real VS Code workspace before the interview, so the interview starts with the task instead of the setup.
- Add an Intro, Hints and a Solution for interviewers, hidden from the candidate.
- Reuse the task in any interview and edit it later.
Availability: Preview. The feature is enabled per account. If you don't see the VS Code option in the Environment step, contact Codility Support at support@codility.com to have it enabled.
Before you start
- VS Code tasks created in the Task Wizard are available in Interview only (not in Screen).
- They are scored manually. There is no automated scoring.
- Services available: Redis, PostgreSQL, MongoDB and MySQL. You can attach up to 2.
Create a VS Code task
1. Choose the VS Code environment
- Go to Create tasks and click Create task.
- Choose Create it manually, then Real-life task.
- In the Evaluation step, choose Manually.
- In the Environment step, choose VS Code. It is marked Interviews only.
2. Configure the environment
- Select a base technology.
- Optionally, attach up to 2 services: Redis, PostgreSQL, MongoDB or MySQL.
- Check the diagram, which shows the environment the candidate will get.
3. Review your choices
The summary shows the VS Code environment, the technology and services, manual scoring, and that the task will be available in Interview. Click Continue to task creator.
4. Build the task
- Fill in the task name, synopsis, time limit, difficulty and task description, then click Continue.
- Write the description sections:
- Candidate instructions: visible to the candidate.
- Intro, Hints and Solution: visible to the interviewer only.
- Prepare the code in the VS Code workspace. It starts with the technology and services you chose.
- Click Save workspace to save your files. The time of the last save is shown next to the button.
- Click Add to library to publish the task.
Tip: An unfinished task stays in Task drafts on the Create tasks page. Click Discard draft to remove it.
Note: Save the workspace before you publish. Changes you haven't saved with Save workspace are not stored with the task.
Find and edit a VS Code task
- Open the Task Library. Your task is shown as a Real Life task, available in Interview, with the VSCode IDE environment.
- Click Edit to open it in the Task Wizard again.
- Each description section shows whether it is hidden from or visible to candidates.
- Update the description or workspace, save the workspace and publish your changes.
Use the task in an interview
- When creating an interview, or inside an existing one, open the task library, click Add tasks and open Codility tasks.
- Find your task (it carries the VS Code IDE tag) and click Add.
- In the interview room, the task opens with the Intro, the candidate-visible description, the Hints, the Solution and the saved VS Code workspace.
Candidates see the VS Code environment with the prepared code and the candidate instructions, as in any other VS Code interview task. The Intro, Hints and Solution are never shown to them.
Current limitations
- Interview only; not available in Screen.
- Manual scoring only.
- AI Instructions can't be set for the task in the Task Wizard. You can still set them in the interview (see AI Instructions for VSCode in Interview).
- An Excalidraw board can't be saved with the task in the Task Wizard.
- The AI assistant isn't available in the Task Wizard to help build the task.
- A maximum of 2 services can be attached.
FAQ
Where do I create a VS Code task?
In Create tasks: click Create task, choose Create it manually, Real-life task, Manually, and then VS Code in the Environment step.
Why can't I use my VS Code task in Screen?
VS Code tasks from the Task Wizard are scored manually, so they are available in Interview only.
Which technologies can I choose?
The same base technologies as in the Interview setup, plus up to 2 services: Redis, PostgreSQL, MongoDB or MySQL.
What does the candidate see?
The candidate instructions and the VS Code workspace. Intro, Hints and Solution are visible to interviewers only.
Can I change a task after publishing it?
Yes. Open the task in the Task Library and click Edit.
Where is my unfinished task?
In Task drafts on the Create tasks page.
Do I need to configure anything on my account?
During Preview the feature must be enabled for your account. Contact Codility Support at support@codility.com if you don't see the VS Code option.