Ashmi Banerjee commited on
Commit
1a117cc
·
1 Parent(s): c96708d

updated overall rating labels

Browse files
static/instructions.html CHANGED
@@ -40,12 +40,11 @@
40
  Consider all factors, including relevance, clarity, and persona alignment, to give an overall rating.
41
  <br>Your options are:
42
  <ol style="padding-left:2rem;">
43
- <li><b>Persona-Only Match</b> - The query aligns well with the persona but does not clearly match the filters.</li>
44
- <li><b>Filters-Only Match</b> - The query aligns well with the filters but does not clearly match the persona.</li>
45
- <li><b>Partial Fit: Incomplete Match</b> - The query aligns with some filters but not all, or it matches the persona but has issues with clarity or alignment.</li>
46
- <li><b>Strong Fit</b> - The query is mostly relevant, clear, and well-aligned with the persona and filters.</li>
47
- <!-- <li><b>Excellent</b> - The query is highly relevant, clear, and perfectly aligned with the persona and filters.</li>-->
48
- </ol></p>
49
  <p><strong><mark>Additional Comments (Optional)</mark>:</strong>
50
  If you have any feedback, remarks, or interesting observations about the data, you can leave them here.
51
  This is completely optional.
 
40
  Consider all factors, including relevance, clarity, and persona alignment, to give an overall rating.
41
  <br>Your options are:
42
  <ol style="padding-left:2rem;">
43
+ <li><b>Poor</b> - The query does not match the filters or persona and is unclear.</li>
44
+ <li><b>Moderate</b> - The query somewhat matches the filters or persona but has issues with clarity or alignment.</li>
45
+ <!-- <li><b>Strong Fit</b> - The query is mostly relevant, clear, and well-aligned with the persona.</li> -->
46
+ <li><b>Strong Fit</b> - The query is highly relevant, clear, and perfectly aligned with the persona and filters.</li>
47
+ </ol> </p>
 
48
  <p><strong><mark>Additional Comments (Optional)</mark>:</strong>
49
  If you have any feedback, remarks, or interesting observations about the data, you can leave them here.
50
  This is completely optional.
views/questions_screen.py CHANGED
@@ -167,8 +167,8 @@ def render_query_ratings(
167
  )
168
  overall_rating = render_single_rating(
169
  "Overall Fit:",
170
- [0, 1, 2, 3, 4],
171
- lambda x: ["N/A", "Persona-Only Match", "Filters-Only Match", "Partial Fit", "Strong Fit"][x],
172
  f"rating_{model_name}{query_key}_overall_",
173
  stored_overall_rating,
174
  cols[3] if has_persona_alignment else cols[2],
 
167
  )
168
  overall_rating = render_single_rating(
169
  "Overall Fit:",
170
+ [0, 1, 2, 3],
171
+ lambda x: ["N/A", "Poor", "Moderate", "Strong Fit"][x],
172
  f"rating_{model_name}{query_key}_overall_",
173
  stored_overall_rating,
174
  cols[3] if has_persona_alignment else cols[2],