Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.28 KB

File metadata and controls

34 lines (29 loc) · 1.28 KB

Custom interview question sets

Administrators use the Interview Questions dropdown in the editor toolbar. Included questions are grouped by their built-in set. The Custom Questions group contains imported questions and a Load custom questions from file… option for loading another JSON file.

An imported file has this shape:

{
  "name": "Backend Fundamentals",
  "description": "A short custom interview for backend candidates.",
  "questions": [
    {
      "title": "C# — Calculate a Total",
      "language": "csharp",
      "content": "// Starter code shown to the candidate",
      "answerKey": "Interviewer-only answer and grading guidance"
    }
  ]
}

See question-set-example.json for an importable example. Every question requires title, language, content, and answerKey. The language must match one supported by the editor, such as csharp, sql, javascript, html, or markdown.

Imported sets are validated and saved in protected Firebase storage for the admin team. The selected set ID is saved with the interview session, so the loaded question list is restored after a page refresh. Starter code and answer keys are returned only by the authenticated interviewer API; they are not written into the shared session.