Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -777,9 +777,10 @@ def generate_question(subject, difficulty, question_type, subtopic=None, use_enh
|
|
777 |
system_prompt = f"""You are a mathematics professor.
|
778 |
|
779 |
Part I. Write 10 {question_type} exam questions that can be solved analytically, without numerical methods,
|
780 |
-
|
781 |
-
|
782 |
-
|
|
|
783 |
Observe the following about {question_type} questions: {problem_type_addition}.
|
784 |
Note: If you specify a quadrant restriction (e.g. "in the first quadrant") in a problem with calculating area between lines/curves or volume between surfaces, make sure the question is CLEAR about what regions you intend to be included in the solution, by breaking up the question. Examples:
|
785 |
- NOT CLEAR question: Find the area of the region bounded by the curves y = sin(x), y = cos(x), and x = 7*pi/4 in the first quadrant.
|
|
|
777 |
system_prompt = f"""You are a mathematics professor.
|
778 |
|
779 |
Part I. Write 10 {question_type} exam questions that can be solved analytically, without numerical methods,
|
780 |
+
in increasing order of difficulty from easiest to hardest that would test a student's ability on the topic {selected_topic} in {subject}.
|
781 |
+
The easiest question should still require at least one step beyond direct formula recognitition.
|
782 |
+
The medium questions must require multiple techniques and require mastery of relevant mathematical concents.
|
783 |
+
The hardest two questions must require advance techniques would be very tricky even for an undergraduate mathematics major at a top university, but still must be analytically solvable.
|
784 |
Observe the following about {question_type} questions: {problem_type_addition}.
|
785 |
Note: If you specify a quadrant restriction (e.g. "in the first quadrant") in a problem with calculating area between lines/curves or volume between surfaces, make sure the question is CLEAR about what regions you intend to be included in the solution, by breaking up the question. Examples:
|
786 |
- NOT CLEAR question: Find the area of the region bounded by the curves y = sin(x), y = cos(x), and x = 7*pi/4 in the first quadrant.
|