Scenario Wizard¶
Version: 2.0 | Date: January 2026
The Scenario Wizard is a multi-step assistant for creating evaluation scenarios in LLARS. It helps researchers upload data, automatically detect the evaluation type, and assemble teams.
Overview¶
┌─────────────────────────────────────────────────────────────────────┐
│ Step 1 Step 2 Step 3 Step 4 Step 5 │
│ [Data] → [Type] → [Config] → [Team] → [Done] │
└─────────────────────────────────────────────────────────────────────┘
| Step | Description |
|---|---|
| 1. Upload data | Import files, automatic analysis |
| 2. Task type | Confirm or change evaluation type |
| 3. Configuration | Adjust dimensions, scales, buckets |
| 4. Team | Invite evaluators and LLM models |
| 5. Summary | Review and create |
Step 1: Upload Data¶
Supported Formats¶
| Format | Description | Example |
|---|---|---|
| CSV/TSV | Comma- or tab-separated values | data.csv / data.tsv |
| JSON | Array of objects | [{...}, {...}] |
| JSONL/NDJSON | One object per line | data.jsonl |
| XLSX | Excel file | data.xlsx |
| One PDF per paper, paper review only (see PDF mode) | smith2025.pdf |
Data Formats¶
LLARS supports two data formats for ranking scenarios:
Wide Format (Default)¶
Each row contains all variants in separate columns:
source_text,summary_a,summary_b,summary_c
"The original article...","GPT-4 summary","Claude summary","Llama summary"
Long Format (New!)¶
The same ID appears multiple times with different variants:
chat_id,llm_name,output,source
8,gpt-4,"GPT-4 output...","Original text..."
8,claude-3,"Claude output...","Original text..."
8,llama-3,"Llama output...","Original text..."
Automatic detection
LLARS recognizes long format automatically and transforms the data into LLARS format.
Upload Area¶
┌─────────────────────────────────────────────┐
│ Drop files here or select │
│ │
│ Supported formats: JSON, JSONL, CSV/TSV, │
│ XLSX, PDF │
└─────────────────────────────────────────────┘
After upload, data analysis starts automatically.
PDF mode (paper review)¶
If all uploaded files are PDFs, the wizard switches to PDF mode (since 23.10.2026). It reports “PDF files detected: n. The scenario becomes a paper review, the AI data analysis is skipped.”, preselects paper review as the type and skips the AI analysis.
- One PDF becomes one paper; its title is the file name without
.pdf. - Each PDF may be at most 10 MB. The browser already checks size and PDF signature; the check on the server is authoritative.
- PDFs cannot be mixed with JSON, CSV or other data files.
- In PDF mode only paper review can be selected; without PDFs, paper review is locked.
- The PDFs are uploaded only after the scenario is created, one after the other with a progress display. A notice names duplicates and rejected files. If not a single PDF arrives, the empty scenario is deleted again.
Empty anonymization scenario¶
Anonymize cases (type 11, since 02.11.2026) has no data file. As long as no file is uploaded, the first step offers the button "Empty anonymization scenario".
- The wizard preselects anonymization and skips the AI analysis.
- In the configuration step you set sign-offs per case (1 or 2), detection (offline, or hybrid with a language model), origin of replacement names, active categories and allow lists – see Anonymize cases › Create a scenario.
- The team step has no LLM evaluators.
- The scenario is created empty. Members then add cases through "Paste case" in the case overview or the data tab.
Empty online experiment¶
An online experiment (type 12, since 2026-11-12) is also created without a data file: participants join later anonymously through invite links. As long as no file is uploaded, the first step offers the button "Empty online experiment" ("Create without data; participants join later anonymously via invite links.").
- The wizard preselects the online experiment and skips the AI analysis.
- In the configuration step you only choose the package (sequence, questionnaires and texts of the study). It cannot change after the first collection.
- In the team step you invite people as Co-manager or Viewer; there are no raters and no LLM evaluators.
- The experiment is created without a collection. Open pre-test and main study afterwards in the Scenario Manager, tab Overview; so far a click test exists only in the experiment of the running study – see Online experiment › Create an online experiment and Limits.
Automatic Type Detection¶
Two-Stage System¶
LLARS uses an intelligent two-stage system for type detection:
┌──────────────────┐ definite ┌─────────────────┐
│ SchemaDetector │ ───────────────► │ Type detected! │
│ (deterministic) │ └─────────────────┘
└────────┬─────────┘
│ uncertain
▼
┌──────────────────┐
│ AI analysis │ ───────────────► Type + configuration
│ (LLM-based) │
└──────────────────┘
1. SchemaDetector (Deterministic)¶
The SchemaDetector analyzes field names and recognizes patterns:
| Evaluation type | Detected fields | Priority |
|---|---|---|
| Authenticity | is_human, is_fake, synthetic, is_ai |
1 (highest) |
| Comparison | response_a + response_b, winner |
2 |
| Ranking | summary_a, summary_b, summary_c |
3 |
| Mail Rating | messages[] array (without is_human) |
4 |
| Rating | question + response, prompt + completion |
5 |
| Labeling | category, label, sentiment + content |
6 |
Schema-based detection
When SchemaDetector detects a type definitely, the UI is marked with a green badge "Auto-detected".
2. AI Analysis (Fallback)¶
If SchemaDetector is uncertain, an LLM analyzes the data:
- Detects more complex patterns
- Suggests suitable presets
- Generates scenario names and descriptions
Long-Format Transformation (New!)¶
What is Long Format?¶
Long-format data contains the same group ID multiple times with different variants:
┌─────────────────────────────────────────────────────────────────┐
│ chat_id │ llm_name │ output │ source │
├─────────┼─────────────────┼─────────────────────┼───────────────┤
│ 8 │ gpt-4 │ "GPT-4 response..." │ "Original..." │
│ 8 │ claude-3 │ "Claude response..." │ "Original..." │
│ 8 │ llama-3 │ "Llama response..." │ "Original..." │
│ 9 │ gpt-4 │ "GPT-4 response..." │ "Original..." │
│ 9 │ claude-3 │ "Claude response..." │ "Original..." │
└─────────────────────────────────────────────────────────────────┘
Automatic Field Mapping¶
LLARS automatically generates a mapping for long-format data:
| Mapping field | Description | Example |
|---|---|---|
grouping_field |
Groups related rows | chat_id |
variant_field |
Identifies the variant | llm_name |
output_field |
Contains the generated content | output |
reference_field |
Contains the reference/source | source |
Transformation¶
The data is transformed automatically:
Result structure:
{
"id": "group_8",
"reference": {
"type": "text",
"content": "Original text..."
},
"items": [
{ "id": "item_1", "label": "gpt-4", "content": "GPT-4 response..." },
{ "id": "item_2", "label": "claude-3", "content": "Claude response..." },
{ "id": "item_3", "label": "llama-3", "content": "Llama response..." }
]
}
Step 2: Task Type¶
The 10 Evaluation Types¶
Multi-dimensional rating (LLM evaluator)
- Likert scales per dimension
- Weighted overall score
- Default: coherence, fluency, relevance, consistency
Use cases: text quality, summaries, LLM outputs
Sort items into quality buckets
- Drag & drop interface
- Configurable buckets (e.g., good/medium/poor)
- Ties allowed
Use cases: summary quality, prioritization, LLM comparisons
Assign categories
- Single-label or multi-label
- Configurable categories
- Optional: "Unsure" option
Use cases: topic classification, sentiment analysis
Pairwise A/B comparison
- Two options side by side
- Select winner
- Optional: ties possible
Use cases: model comparisons, preference studies
Real/Fake classification
- Binary decision
- Optional: confidence scale
- LLARS-specific (psychosocial counseling)
Use cases: detect AI-generated texts
Rate email threads
- Conversation is displayed
- Multi-dimensional rating
- LLARS-specific (counseling emails)
Use cases: counseling quality, response quality
Compare counselling answers A/B
- Two answers side by side, as in pairwise comparison
- Question: “Which response would you send as a counsellor yourself?”
- Note field for the raters
- LLARS-specific (counselling context)
Use cases: generated versus human counselling answers
Label spans inside a conversation
- One conversation is the work unit, a single span is the decision
- The conversation history stays visible while labeling
- The spans are fixed at import time
- LLARS-specific (counselling conversations)
Use cases: conversation analysis, category systems such as VRM or OnCoCo – see Conversation Labeling
Code papers as PDF with a codebook questionnaire
- One PDF per item, the paper on the left, the questionnaire on the right
- Five question types: single choice, multiple choice, yes/no, number, free text
- Conditional follow-up questions (
show_if), agreement per question - Optional AI prefill with page evidence, never preselected
Use cases: systematic reviews (SLR), surveys – see Paper Review
Anonymize and sign off counselling threads together
- A case is a pasted e-mail or chat thread, roles left/right
- Background detection of personal data, one replacement per value across the case
- One shared review state, sign-off by 1 or 2 people (four-eyes principle)
- Export anonymized only (JSON/CSV)
Use cases: data donations from online counselling – see Anonymize cases
Type Selection¶
┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐
│ Rating │ │ Ranking │ │ Labeling │ │Comparison│
│ (icon) │ │ (icon) │ │ (icon) │ │ (icon) │
└──────────┘ └──────────┘ └──────────┘ └──────────┘
|
└── Auto-detected (Schema Detection)
Step 3: Configuration¶
Presets¶
Each evaluation type has pre-configured presets:
Rating Presets¶
| Preset | Dimensions/Type | Scale | Description |
|---|---|---|---|
llm-judge-standard |
Coherence, fluency, relevance, consistency | 1-5 | Standard for LLM evaluator |
summeval |
7 dimensions (mixed scales) | variable | Demo with different scale sizes |
response-quality |
Helpfulness, accuracy, completeness, clarity | 1-5 | Chat responses |
news-article |
Accuracy, objectivity, completeness, readability | 1-5 | News articles |
text-quality-3dim |
Content, language, structure | 1-5 | Compact 3 dimensions |
likert-5 |
Single dimension | 1-5 | Standard Likert scale |
likert-7 |
Single dimension | 1-7 | Finer granularity |
stars-5 |
Stars | 1-5 | Classic star rating |
stars-10 |
Numeric | 1-10 | 10-point scale |
percentage |
Slider | 0-100 | Percentage rating |
Ranking Presets¶
| Preset | Buckets/Type | Description |
|---|---|---|
buckets-3 |
Good, medium, poor | Standard 3 categories |
buckets-5 |
Very good to very poor | Finer granularity |
priority |
Ordered | Sort by priority |
relevance |
Ordered | Sort by relevance |
Labeling Presets¶
| Preset | Categories | Description |
|---|---|---|
binary-authentic |
Real, fake | Authenticity check |
binary-sentiment |
Positive, negative | Binary sentiment analysis |
sentiment-3 |
Positive, neutral, negative | 3-class sentiment |
topic-multilabel |
Configurable | Multiple topics per item |
Comparison Presets¶
| Preset | Type | Description |
|---|---|---|
pairwise |
A vs B | Simple pairwise comparison |
pairwise-confidence |
A vs B + confidence | With confidence rating |
multicriteria |
Multiple criteria | Relevance, quality, clarity |
tournament |
Elimination | Tournament format |
Paper Review Presets¶
| Preset | Content | Description |
|---|---|---|
slr-screening |
inclusion yes/no/unsure, exclusion reason only for no | Default for paper review |
slr-llm-methods |
methodology (multiple choice), prompt shown?, training data, code, models | Codes how a paper adapts language models |
Anonymization Presets¶
| Preset | Content | Description |
|---|---|---|
anonymization-default |
1 sign-off, offline, German replacement names, all 18 categories, Kanban | Default for anonymization |
Adjust Configuration¶
Depending on the type, you can adjust:
- Dimensions (Rating): names, descriptions, weighting
- Scale (Rating): min, max, step size, labels
- Buckets (Ranking): names, colors, order
- Categories (Labeling): names, colors, multi-select
- Codebook (Paper review): sections, questions, answer options and conditions in the codebook editor, also as JSON – see Paper Review › Codebook
- Sign-offs, detection, names, categories, allow lists (Anonymization) – see Anonymize cases › Create a scenario
Step 4: Build the Team¶
Human Evaluators¶
Users can be invited via user search (name/username + email):
| Role | Description |
|---|---|
| EVALUATOR | Rates items and can interact |
| VIEWER | Read-only, no ratings |
LLM Models¶
Available LLMs are loaded dynamically from the system configuration:
- System models (admin-configured)
- Own/shared providers (provided by the user or team)
LLM Evaluation
If LLM evaluation is enabled, selected LLMs automatically rate all items after scenario creation based on the configured dimensions.
Paper review
Paper review does not use LLM evaluators; the column is hidden. Start the AI prefill in the data tab after creating the scenario. A review by the creator alone is enough.
Anonymization
Anonymization does not use LLM evaluators. Hybrid mode with a language model is set in the configuration. Invite the people who paste and review cases as assessors.
Step 5: Summary¶
Overview of all settings:
┌─────────────────────────────────────────────────────────────┐
│ Summary │
├─────────────────────────────────────────────────────────────┤
│ Name: Summary Quality Study │
│ Type: Ranking (3 buckets) │
│ Items: 150 │
│ Team: 5 evaluators + 2 LLMs │
│ Distribution: Everyone rates everything │
├─────────────────────────────────────────────────────────────┤
│ [Create scenario] │
└─────────────────────────────────────────────────────────────┘
After creation:
- Scenario is created
- Invitations are sent
- Optional: LLM evaluation starts immediately
Example Data Formats¶
Rating Data¶
Ranking Data (Wide Format)¶
[
{
"source_text": "The original article about climate change...",
"summary_a": "GPT-4 summary...",
"summary_b": "Claude summary...",
"summary_c": "Llama summary..."
}
]
Ranking Data (Long Format)¶
doc_id,model,summary,source_text
DOC001,gpt-4,"GPT-4 summary...","Original article..."
DOC001,claude-3,"Claude summary...","Original article..."
DOC001,llama-3,"Llama summary...","Original article..."
Labeling Data¶
Comparison Data¶
[
{
"prompt": "Explain quantum computing",
"response_a": "GPT-4 response...",
"response_b": "Claude response...",
"winner": "a"
}
]
Paper Review Data¶
No data file, but one PDF per paper:
Title, authors, year, DOI and abstract can be passed through the v1 API.
Anonymization Data¶
No data file: the scenario is created empty, and cases are added afterwards by pasting from the mail program or as a TXT, PDF, DOCX or JSON file – see Anonymize cases › Paste a case.
Authenticity Data¶
API Endpoints¶
| Endpoint | Method | Description |
|---|---|---|
/api/scenarios |
POST | Create scenario |
/api/ai-assist/analyze-scenario-data/stream |
POST | Streaming AI analysis |
/api/ai-assist/transform-long-format |
POST | Transform long format |
Permissions¶
| Permission | Description |
|---|---|
data:manage_scenarios |
Create/edit scenarios |
data:import |
Import data |
See Also¶
- Scenario Manager - Manage scenarios
- Evaluation - Run evaluations
- Paper Review - Code papers as PDF with a codebook
- Anonymize cases - Anonymize and sign off counselling threads
- Online experiment - Studies with anonymous participation via invite links
- Conversation annotation - Annotate conversations with a profile (v1 API only, not in the wizard)
- Evaluation Data Formats - Technical reference