JSpon commited on
Commit
542aa13
·
verified ·
1 Parent(s): dc25662

Put workshop policies first in the preset dropdown; label the old examples

Browse files
Files changed (1) hide show
  1. utils/helpers.py +9 -3
utils/helpers.py CHANGED
@@ -211,10 +211,12 @@ def format_token_status(oauth_token: gr.OAuthToken | None) -> str:
211
  # policy-following workshop sheet (27 Oct 2026): each room's first entry is its
212
  # starting ("P1") policy and the second is the deliberate edit that room compares
213
  # against, so both sides of the comparison are selectable.
 
 
 
 
 
214
  PRESET_POLICY_FILES = {
215
- "Hate Speech Policy": "hate_speech.md",
216
- "Violence Policy": "violence.md",
217
- "Toxicity Policy": "toxicity.md",
218
  "HS-P1 · Hate Speech — room policy": "workshop_hate_speech.md",
219
  "HS-P2 · Hate Speech — counter-speech carve-out removed": "workshop_hate_speech__edit_addresshate_one_paragra.md",
220
  "MH-P1 · Mental Health — ages 13-17": "workshop_mental_health.md",
@@ -225,6 +227,10 @@ PRESET_POLICY_FILES = {
225
  "SC-P2 · Scams — giveaway carve-out removed": "workshop_scams__edit_giveaway_carve_out_remo.md",
226
  "OT-P1 · Other Areas — toxicity": "workshop_other_areas.md",
227
  "OT-P2 · Other Areas — violence and threats": "workshop_other_areas__backup_violence_and_threats.md",
 
 
 
 
228
  }
229
 
230
 
 
211
  # policy-following workshop sheet (27 Oct 2026): each room's first entry is its
212
  # starting ("P1") policy and the second is the deliberate edit that room compares
213
  # against, so both sides of the comparison are selectable.
214
+ #
215
+ # Order matters: this is the dropdown order. The workshop policies come first, with
216
+ # the three older Zentropi examples last and labelled as such — sitting at the top
217
+ # they were easy to pick by accident, and a room that starts from "Hate Speech
218
+ # Policy" instead of "HS-P1" is comparing against the wrong baseline all session.
219
  PRESET_POLICY_FILES = {
 
 
 
220
  "HS-P1 · Hate Speech — room policy": "workshop_hate_speech.md",
221
  "HS-P2 · Hate Speech — counter-speech carve-out removed": "workshop_hate_speech__edit_addresshate_one_paragra.md",
222
  "MH-P1 · Mental Health — ages 13-17": "workshop_mental_health.md",
 
227
  "SC-P2 · Scams — giveaway carve-out removed": "workshop_scams__edit_giveaway_carve_out_remo.md",
228
  "OT-P1 · Other Areas — toxicity": "workshop_other_areas.md",
229
  "OT-P2 · Other Areas — violence and threats": "workshop_other_areas__backup_violence_and_threats.md",
230
+ # Older Zentropi examples, kept available but out of the way of the workshop.
231
+ "Example (not workshop) · Hate Speech": "hate_speech.md",
232
+ "Example (not workshop) · Violence": "violence.md",
233
+ "Example (not workshop) · Toxicity": "toxicity.md",
234
  }
235
 
236