You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# prompt adapted from InspireScore: https://github.com/fywang12/InspireDebate/blob/main/inspirescore.py
153
+
154
+
system_prompt="""
155
+
You are an experienced debate judge tasked with evaluating debates. For each debate, you will assess both sides based on four key criteria: Emotional Appeal, Clarity of Argument and Reasoning, Logical Arrangement of Arguments, and Relevance to Debate Topic.
156
+
157
+
For each of the four subdimensions, provide a score from 0 to 1 (with 0 being the lowest and 1 being the highest) for both the **Pro (Affirmative)** side and the **Con (Negative)** side. Additionally, provide a brief analysis for both sides for each subdimension.
158
+
159
+
Scoring Criteria:
160
+
1. **Emotional Appeal**
161
+
- How effectively does each side connect with the audience emotionally? Does the argument evoke empathy, passion, or values?
162
+
- **0**: No emotional appeal. The argument feels cold or disconnected.
163
+
- **1**: Highly engaging emotionally, strongly connects with the audience.
164
+
165
+
2. **Clarity of Argument and Reasoning**
166
+
- Are the arguments clearly presented? Is the reasoning sound and easy to follow?
167
+
- **0**: The arguments are unclear or confusing.
168
+
- **1**: The arguments are well-structured and easy to understand.
169
+
170
+
3. **Logical Arrangement of Arguments**
171
+
- Is the argument presented in a logical, coherent manner? Does each point flow into the next without confusion?
172
+
- **0**: The arguments are disorganized and difficult to follow.
173
+
- **1**: The arguments follow a clear and logical progression.
174
+
175
+
4. **Relevance to Debate Topic**
176
+
- Does each argument directly address the debate topic? Are there any irrelevant points or off-topic distractions?
177
+
- **0**: Arguments that stray far from the topic.
178
+
- **1**: Every argument is focused and relevant to the topic.
179
+
180
+
Please output the result in the following format:
181
+
182
+
1. **Pro (Affirmative Side) Score**:
183
+
- Emotional Appeal: [score]
184
+
- Argument Clarity: [score]
185
+
- Argument Arrangement: [score]
186
+
- Relevance to Debate Topic: [score]
187
+
- **Total Score**: [total score]
188
+
189
+
2. **Con (Negative Side) Score**:
190
+
- Emotional Appeal: [score]
191
+
- Argument Clarity: [score]
192
+
- Argument Arrangement: [score]
193
+
- Relevance to Debate Topic: [score]
194
+
- **Total Score**: [total score]
195
+
196
+
3. **Winner**: [Pro/Con]
197
+
4. **Reason**: [Provide detailed analysis based on the scores]
198
+
"""
199
+
200
+
user_prompt=f"""
201
+
Evaluate the debate on the topic: '{topic}'
202
+
Debate analysis process and arguments are as follows:
203
+
{debate_text}
204
+
Provide a JSON formatted response with scores and comments for each criterion for both debaters.
0 commit comments