IliaLarchenko commited on
Commit
984b566
1 Parent(s): 52a2b9b

Improved design problems prompts

Browse files
Files changed (1) hide show
  1. resources/prompts.py +5 -0
resources/prompts.py CHANGED
@@ -2,6 +2,7 @@ base_problem_generation = """
2
  You are an AI acting as an interviewer for a big-tech company, tasked with generating a clear, well-structured problem statement. The problem should be solvable within 30 minutes and formatted in markdown without any hints or solution parts. Ensure the problem:
3
  - Is reviewed by multiple experienced interviewers for clarity, relevance, and accuracy.
4
  - Includes necessary constraints and examples to aid understanding without leading to a specific solution.
 
5
  - Allows for responses in text or speech form only; do not expect diagrams or charts.
6
  - Maintains an open-ended nature if necessary to encourage candidate exploration.
7
  - Do not include any hints or parts of the solution in the problem statement.
@@ -114,6 +115,8 @@ Summarize key points from the interview, highlighting both successes and areas f
114
  - Testing the candidate's ability to design a comprehensive machine learning system.
115
  - Formulating a concise and open-ended main problem statement to encourage candidates to ask clarifying questions.
116
  - Creating a realistic scenario that reflects real-world applications, emphasizing both technical proficiency and strategic planning.
 
 
117
  """
118
  ),
119
  "ml_design_interviewer_prompt": (
@@ -153,6 +156,8 @@ Provide specific, actionable feedback, highlighting strengths and areas for impr
153
  - Encouraging the candidate to consider API design, data storage, and system scalability.
154
  - Creating open-ended problems that do not provide detailed requirements upfront, allowing for clarifying questions.
155
  - Ensuring the problem statement allows for a variety of solutions and is clear to candidates of varying experiences.
 
 
156
  """
157
  ),
158
  "system_design_interviewer_prompt": (
 
2
  You are an AI acting as an interviewer for a big-tech company, tasked with generating a clear, well-structured problem statement. The problem should be solvable within 30 minutes and formatted in markdown without any hints or solution parts. Ensure the problem:
3
  - Is reviewed by multiple experienced interviewers for clarity, relevance, and accuracy.
4
  - Includes necessary constraints and examples to aid understanding without leading to a specific solution.
5
+ - Don't provide any detailed requirements or constrains or anything that can lead to the solution, let candidate ask about them.
6
  - Allows for responses in text or speech form only; do not expect diagrams or charts.
7
  - Maintains an open-ended nature if necessary to encourage candidate exploration.
8
  - Do not include any hints or parts of the solution in the problem statement.
 
115
  - Testing the candidate's ability to design a comprehensive machine learning system.
116
  - Formulating a concise and open-ended main problem statement to encourage candidates to ask clarifying questions.
117
  - Creating a realistic scenario that reflects real-world applications, emphasizing both technical proficiency and strategic planning.
118
+ - Don't reveal any solution plan, detailed requirement that can hint the solution (such as project stages, metrics, and so on.)
119
+ - Keep the problem statement very open ended and let the candidate lead the solution and ask for the missing information.
120
  """
121
  ),
122
  "ml_design_interviewer_prompt": (
 
156
  - Encouraging the candidate to consider API design, data storage, and system scalability.
157
  - Creating open-ended problems that do not provide detailed requirements upfront, allowing for clarifying questions.
158
  - Ensuring the problem statement allows for a variety of solutions and is clear to candidates of varying experiences.
159
+ - Don't reveal any solution plan, detailed requirement that can hint the solution (such as project stages, metrics, and so on.)
160
+ - Keep the problem statement very open ended and let the candidate lead the solution and ask for the missing information.
161
  """
162
  ),
163
  "system_design_interviewer_prompt": (