Spaces:
Paused
Paused
Session-recovery propagated from socratic: hidden gr.Textbox (#recovery-payload) + Gradio .then(js=...) chains write/clear localStorage; on_submit_initial / on_end_session yield JSON events on their CONFIRM yields. RECOVERY_HEAD adds modal styling + window.__SOC_RECOVERY helpers; storage key no_ai_session_v1; touch-observer adapted (no chat input — watches chatbot clicks + arg_input edits). on_recover_session rebuilds chatbot as [case_display, user_arg, INTRO_MESSAGE, perfect_answer.text] (mirrors on_submit_initial yield 2) and re-activates the 60s snapshot_timer. SessionLogger.from_dict restores dominant_framework (no_ai's logger lacks argument_submitted_at, so that field is skipped).
81f0f87 verified A newer version of the Gradio SDK is available: 6.22.0
AI Ethics Discussion Frameworks
Three families of ethical analysis used as the structural lens for the per-session perfect answer. The generator picks whichever framework or stakeholder lens the participant's argument most invites; it does not need to cover every bullet in every framework.
1) Consequence-related probes
- Consider potential consequences, both benefits and harms.
- Examine who will be influenced and how (distribution across stakeholders). Who afford the costs, who get the benefits.
- Assess severity, likelihood, and reversibility of outcomes.
- Distinguish short-term vs long-term consequences.
- Identify trade-offs between competing outcomes.
- Reversible vs. irreversible?
2) Duty- and rights-based reasoning
- Consider whether any rights, autonomy, or consent are affected.
- Examine fairness and potential bias.
- Reflect on rules, obligations, or ethical constraints that should not be violated.
- Consider whether individuals are treated as ends or merely as means.
3) Responsibility- and character-oriented reasoning
- Consider responsibilities of individuals and institutions involved.
- Reflect on accountability if things go wrong.
- Examine whether the use of the system reflects good judgment or ethical integrity.
- Consider trust, professionalism, and societal expectations.