Skip to content

Question sets

Core

report_analyst/ ยท Reciprocal Public License. This is the open core: the Streamlit analyst, chunking, question sets, and benchmarking. It ships in the core Docker image.

QuestionSetLoader reads *_questions.yaml and exposes each set by id. See the question sets guide for the built-in files.

report_analyst.core.question_loader.QuestionSet dataclass

Data class for a question set

report_analyst.core.question_loader.QuestionSetLoader

Centralized loader for question sets from YAML files

get_question_sets()

Get all available question sets (lazy loaded)

get_question_set(question_set_id)

Get a specific question set by ID

get_question_set_names()

Get question set IDs and names for UI display

get_question_set_info()

Get question set info (name and description) for UI display

get_questions(question_set_id)

Get questions for a specific question set

get_question_set_options()

Get list of question set IDs for UI dropdown options

reload()

Force reload of question sets (also re-reads QUESTIONSETS_PATH).

report_analyst.core.question_loader.get_question_loader()

Get the global question loader instance