case0 / src /case_zero /api /questions.py
HusseinEid's picture
Case Zero - initial public release (fully local: Qwen2.5-1.5B via llama.cpp + Supertonic, custom pixel-noir SPA via gradio.Server)
414dc55
"""Generic suggested questions for generated cases. Their *answers* are produced live by
the interrogation engine, so the same set works for any case; only the text is public.
The golden case ships its own authored questions instead.
"""
from __future__ import annotations
FIXED_QUESTIONS: tuple[tuple[str, str], ...] = (
("q0", "Where were you when it happened?"),
("q1", "What was your relationship with the victim?"),
("q2", "Did you see anyone near the scene?"),
("q3", "Is there anything you haven't told me?"),
("q4", "Walk me through your evening."),
)
_BY_ID = dict(FIXED_QUESTIONS)
def question_text(qid: str) -> str | None:
return _BY_ID.get(qid)