Skip to content

πŸ“œ LLARS Changelog

Version Released Releases Format

All notable changes to LLARS (LLM Assisted Research System) β€” newest first. The format follows Keep a Changelog.

Legend: ✨ Added Β· πŸ” Changed Β· πŸ—‘οΈ Removed Β· πŸ› Fixed Β· πŸ”’ Security Β· ⚑ Performance Β· πŸ”§ Operations Β· πŸ“š Docs

Versioning β€” LLARS uses tag-based semantic versioning via git describe --tags --match "v*" --first-parent. A tag vMAJOR.MINOR.PATCH yields MAJOR.MINOR.(PATCH + N), where N is the number of commits since the tag; at the tagged commit itself N = 0 and the version equals the tag exactly. Releases are tagged on main after every devβ†’main merge (currently v1.0.0 … v1.72.0).


[Unreleased]

[1.72.0] - 2026-11-20

Scenarios

πŸ› Fixed

  • New scenarios are visible at once, even when a script sends local time: If a script creates a scenario through the v1 API with a start time without a time zone, LLARS reads it as UTC. A datetime.now() from Germany therefore lay one to two hours in the future, and invited assessors did not see the scenario until then. Such a start at most 15 hours ahead now counts as "now", and the response says so under warnings. A planned later start needs an offset or Z.
  • Times with an offset are converted to UTC: LLARS used to store the clock time of +01:00 without converting it, and mixing values with and without a time zone caused HTTP 500. This applies to the v1 API and to the internal scenario routes.

Conversation annotation

✨ Added

  • New evaluation type β€œConversation annotation”: Raters read whole conversations and mark passages with labels, for example repetitions, contradictions or role breaks. They also answer questions about the whole conversation. Scenarios are created through the v1 API (POST /api/v1/scenarios). LLARS checks all conversations before saving and names all faulty ones at once. See Conversation annotation.
  • Whole conversation and profile side by side: All messages are there at once and scroll freely. The person's profile stands next to them as a column of its own and can be collapsed.
  • Annotations across several passages: One annotation links any number of passages, also in different messages and in the profile. Annotations may overlap. A click on the message number takes the whole message. Every annotation can have a short note. Deleting does not ask and can be undone.
  • Questions with their own answer texts: Every question has its own answers, and its description is shown visibly below it. Saving is automatic.
  • Visible everywhere: Evaluation hub, scenario cards, admin area and landing page know the type. The case list shows β€œn messages Β· m annotations” per conversation. The β€œEvaluation” tab shows the agreement per question and per label.
  • Export: The v1 export returns the answers per person and conversation and one row of its own per annotation with label, note and all passages (message, character positions, text). The JSON envelope also contains the agreement.

πŸ” Changed

  • Progress of conversation annotation: A conversation is done when all required questions are answered. Annotations are optional.
  • Paper review questions can show their description visibly: The shared question component can show the help as text instead of a tooltip. Paper review itself keeps the tooltip.

πŸ› Fixed

  • Appending items later: POST /api/v1/scenarios/{id}/items answers rejected items with 400 and a reason instead of a server error (500).

[1.71.0] - 2026-11-20

Language models

πŸ” Changed

  • Qwen Flash Next is the default language model: Only Qwen Flash Next and Mistral Medium 3.5 are offered now. Mistral Small 3.2, Magistral Small and Qwen 27B are retired because the KIZ proxy no longer reaches them. They can no longer be selected and are no longer called. Existing results, statistics and exports of these models are kept.
  • Chatbots switch once: Chatbots on one of the three models and the LLARS bot switch to Qwen Flash Next on the first start. A later choice in the admin area is kept.
  • One path for language model calls: All calls except those of the bound online study (fixed to Mistral Medium) go through LLMExecutionService. For Qwen Flash Next, thinking is switched off there unless the caller controls it itself. Without this switch, JSON mode and small budgets returned empty answers; this was measured on the real model. Several system messages are merged into one there.
  • Chat titles and the additional English query use the default model instead of Mistral Small.
  • Evaluators tab: For a retired model it shows β€œNo longer available” instead of β€œFailed” with Retry. A start is refused with 409 MODEL_UNAVAILABLE.
  • Example ids in the guide, the dialog and the API docs only name offered models.

πŸ”§ Operations

  • Generation smoke test uses SMOKE_LLM_MODEL, otherwise the default model.
  • New measurement script scripts/agenten/qfn_callsites_check.py checks the risky call sites against the real model.
  • New column system_settings.llm_catalog_version records that the one-time switch has run. The new, commented-out switch LLARS_DEFAULT_LLM_MODEL_ID in the .env templates sets the default model explicitly.

Notes

  • The answer quality of Qwen Flash Next without thinking has not been measured against Mistral Medium in the chat.
  • Scenario configurations (LLM evaluators, co-pilot) are not rewritten. A co-pilot on a retired model delivers no new suggestions.

[1.70.0] - 2026-11-19

Recordings

✨ Added

  • Names for the speakers: If names come up in the conversation β€” someone introduces themselves or is addressed β€”, LLARS suggests which name belongs to which voice. The suggestion is marked as "AI suggestion" and can be accepted, edited or dismissed; it also applies without confirmation. In tests with 60 invented conversations, 144 to 146 of 146 assignments were right and at most one was wrong; real recordings with recognition errors were not measured, so please listen to check.
  • Voice sample per speaker: A button plays up to 10 seconds of the voice.
  • Live transcript for comparison: Below the accurate transcript you can expand the text produced during the recording; differing words are subtly marked.
  • "Restart processing": The three dots in the header of a recording restart transcription, speaker detection, names or summary; each confirmation says what is lost.
  • PDF with letterhead: logo, time, length, date, model in short form, title and participants.

πŸ” Changed

  • "Speaker A, B …" instead of "Speaker 1, 2 …" in the interface, downloads and summary.
  • All downloads and the summary use the name that applies: your own, otherwise the AI suggestion.
  • New speaker detection deletes names: Restarting from transcription or speaker detection loses the names you assigned, because the voices are separated anew.

πŸ› Fixed

  • Status notice below a finished summary no longer appears.

πŸ”§ Operations

  • Two new routes (voice sample, live transcript), one additional call to the KIZ model per recording and a measuring script for the name suggestions; no new variable.

[1.69.0] - 2026-11-19

Recordings

πŸ› Fixed

  • Live preview paused for minutes: The preview model was slower than the audio on the server, and aborted requests piled up. The audio of the affected recordings was saved completely.
  • Speaker detection was skipped: The vendor had republished the voice-print model, and the protected download rejected the new file. Both verified versions are now known, and the reason for a failed download is written to the log.

πŸ” Changed

  • Faster, rougher live preview: A very small model processes each section right away, with a fixed time budget. If it cannot keep up, it pauses briefly instead of piling up requests. The accurate transcript after the recording is what counts.
  • Notice during a pause: If the preview pauses, it says β€œThe live preview is not available right now. The recording continues anyway.”

✨ Added

  • Clickable steps: β€œSaved”, β€œTranscription”, β€œSpeakers” and β€œSummary” open the matching tab, in the list and in an open recording.
  • Live text arrives sooner: Two seconds after each saved section the page asks for new text.

πŸ”§ Operations

  • Live statistics in the worker log (one line per minute), new variable RECORDINGS_LIVE_TIMEOUT_SECONDS and measurements from the production server in the runbook. Final transcription there takes about two to three times the recording length.

[1.68.0] - 2026-11-19

Landing page

πŸ” Changed

  • New claim: The landing page now says β€œPrompt, Annotate, Anonymize & Evaluate” β€” annotation and anonymization stand next to prompting and evaluation.
  • Live demo with emotions: The clickable demo shows how emotions are labeled in (invented) client messages: fear, anger, sadness, joy. A language model suggests, the human decides.
  • Features: The β€œAnonymization” card replaces the design-system card.

πŸ› Fixed

  • Facts in the tech section: The landing page now states 10 evaluation types and the correct license (PolyForm Noncommercial instead of MIT).

[1.67.0] - 2026-11-19

Interface language

✨ Features

  • English for visitors outside the German-speaking area: Anyone opening LLARS for the first time from outside Germany, Austria, Switzerland and Liechtenstein, with no German set in the browser, sees the interface in English. The device's time zone and the browser's languages decide; both are evaluated in the browser only, not stored and not transmitted. When in doubt, the interface stays German. A link with ?lang=…, the language toggle and the language of an invitation link always take precedence.

CI/CD

πŸ”§ Operations

  • Shorter immediate deploys: The pipeline no longer re-packs unchanged caches several times, and an immediate deploy runs the unit tests without a coverage report. The nightly run is unchanged apart from the cache times.

[1.66.0] - 2026-11-19

Interface language

✨ Features

  • Language by link: Add ?lang=en or ?lang=de to any LLARS address, for example https://llars.e-beratungsinstitut.de/?lang=en. The interface then appears in that language, and the browser remembers the choice for later visits. The suffix disappears from the address bar afterwards. On invitation links it takes precedence over the link's own language.

[1.65.0] - 2026-11-18

Recordings

✨ Features

  • New tile "Recordings": you record interviews and meetings directly in the browser once everyone involved has agreed β€” through the microphone in the room, the sound of a browser tab (Chrome and Edge) or both. An equalizer and a live preview show that LLARS is listening. Every 5 seconds an encrypted section goes to the server; if the network drops or your sign-in expires, the sections wait in the browser and are uploaded later.
  • Mute with the key M: while muted, nothing is recorded and nothing is sent, and the browser releases the microphone. The section in progress before the click (at most 5 seconds) is discarded. The transcript marks the pause at that point.
  • After the end: a large Whisper model transcribes the recording accurately on the LLARS server, then the speakers are separated, and the KIZ language model summarises the conversation on about one page, with "Detect automatically" in the detected language. The list shows the steps and the position in the queue; you can close the page meanwhile.
  • Result: summary, transcript with speakers (renamable) and pauses, audio playback. Download as TXT, Markdown or JSON (transcript), PDF or Markdown (summary) and WAV (audio). Delete everything or only the audio.
  • Interrupted and continued: if you leave or reload the page, the recording shows up as "Interrupted" in the list shortly afterwards and can be continued or finished (if it was muted, after about two and a half minutes); after 2 hours LLARS finishes it by itself. Very short recordings (under 40 words) get no summary.
  • Lose no audio β€” edge cases: if the server rejects a section on the third attempt as well, it stays on your device and can be saved as WAV instead of being deleted. Unsent sections are uploaded first the next time LLARS is opened and cleaned up only afterwards (30 days for deliverable, 7 days for orphaned ones). "Finish" in the list uploads waiting sections first and otherwise asks explicitly; waiting sections are visible on the page and in the list. Ending without network needs no follow-up: LLARS finishes the recording by itself once all sections have arrived, even after a reload. And if your sign-in expires during a recording, LLARS no longer jumps to the sign-in page β€” you sign in in a new tab and everything continues.

πŸ”’ Security

  • Only you see your recordings, not even the administrators do. Audio, transcript, summary, title and speaker names are stored encrypted in the database; the key is kept only in the server configuration.
  • Individually enabled accounts only: no role has the feature, not even admin; the tile appears only after an individual grant. API keys get no access.
  • Transcription and speaker detection run on the LLARS server; only the transcript text goes to the KIZ language model for the summary, never to an outside provider. The target server is fixed in the server configuration; a change in the database cannot redirect the transcript.
  • Fixed after an independent security review before release: LLARS removes links and HTML from the summary; each person can have at most three open recordings and 20 GiB of stored audio; the key M only mutes, turning recording back on takes a click; a rejected upload pauses the recording without discarding sections; leftovers in the browser disappear after fixed periods, even without the grant; on a shared computer sections of another account are never uploaded.
  • Open, honestly: whoever runs the server or may create a password reset link for an account can technically reach the recordings (a reset is noticeable because the password no longer works afterwards). The web server's access log shows when someone records (without content). The queue position reveals that other recordings are waiting. Until upload, sections are stored unencrypted in your own browser, for up to 30 days.

πŸ”§ Operations

  • New process in the worker container, runbook "Recordings" with key, Whisper, speaker detection, enabling accounts, backup and troubleshooting. The dump before every deploy does not contain the recordings' audio.

πŸ“š Docs

  • Guide "Recordings" with step-by-step instructions, online meetings, help with problems and an honest section on privacy and limits.

[1.64.0] - 2026-11-17

Conversation labeling

πŸ› Fixed

  • Punctuation after an emoji is back inside its span: After an emoji, every following span boundary of a message used to move one character forward, so β€œ!” and β€œ?” sat in the gap between two spans and a second emoji showed up as replacement characters. Each span now shows exactly its stored text, and splitting and merging after an emoji cut where you click. The annotations page (excerpt, CSV, conversation view) shows the same boundaries. Stored spans and votes are unchanged. (T-249)

πŸ” Changed

  • Audit script for operators: A script counts, for conversation-labeling scenarios, the spans that were displayed shifted because of an emoji and the splits that were therefore stored at a shifted position. It is read-only and reports ids and numbers only. (T-249)

[1.63.0] - 2026-11-14

Level system

✨ Features

  • Two new badge tiers: diamond and master class: after platinum come diamond and master class. Up to platinum, badges show metal and one to four dots as before; diamond is cool and faceted and carries a gemstone instead of the dots, master class is dark metal with a gold line and carries a crown. Both can be told apart from their neighbours and from "locked" even at small sizes (24 and 32 px) β€” at 24 px by frame and colour, the mark itself is only a speck there β€” and the tier chip shows them in the colours of the badge. Master class exists only where it stays reachable: a badge has one, four, five or six tiers.
  • Eleven new badges, 29 in total: Wealth of Experience, Sense of Order, Sound Measure, Comparing Eye, Authenticity Sense, Labeling Craft, All-Rounder, Four Seasons, Anniversary, Welcome Back and Collector. One badge per evaluation type (ranking, rating and mail rating, comparison and counselling A/B, real/fake, labeling), plus long-term and loyalty (calendar quarters with at least three active days, time between your first and most recent finished unit, return after a break of at least four weeks) and collecting (types with at least 100 units each, XP from finished units without tickets, number of other badges earned). All apply retroactively; thresholds and texts are in the "Leaderboard" guide.

πŸ” Changed

  • Badge window with the full tier ladder: the window shows all tiers of a badge one below the other, including the ones not yet reached (in muted metal), and marks your tier and the next one as "Next goal"; every tier can be previewed. The gallery counts "x of 29" and sorts across six tiers.
  • Summary card with "and N more": when many achievements arrive at once, the summary card shows at most six (level, then badges by tier, then rank) and below them "and N more"; all of them, including the ones not shown, count as seen. The admin preview shows each badge's own tiers at one selectable size and plays the rise to diamond and master class as well as a summary card with twelve achievements.
  • What stays the same: bronze to platinum of the existing 18 badges are unchanged, nobody loses a tier. Nothing rewards speed, agreement, reference solutions or AI matches, there are no daily streaks, and no rule needs new data collection. Other people's rows on the leaderboard still show only type-neutral badges: the five type badges, Welcome Back (shows breaks) and Collector (also counts non-public badges) are visible only to the person themselves.
  • Technical: the tier ladder lives ONCE in the catalog (badges.json β†’ tiers); the backend derives rank and order from it, the frontend keeps it once in badges/_system/tokens.js, and tests hold both against the catalog. The new rules are computed from the existing XP ledger (active days, quarters, breaks, types, XP); Collector is computed in a second pass after all other badges. Tiers are not stored, so everything applies after a restart without migration.

πŸ“š Docs

  • "Leaderboard" guide (DE/EN) with all 29 badges and six tiers, developer chapter on the level system, nightly matrix.

[1.62.0] - 2026-11-13

Communication analysis

✨ Added

  • "Communication Analysis" tool at /oncoco: paste a counseling conversation β€” as messages with the role counsellor/client or via "Import from text" with "B: …"/"K: …" per line or paragraph β€”, segment it (sentences with the SaT model, sentences by punctuation, or whole message) and classify it with OnCoCo (68 categories), or only segment it. The result shows each message's segments with the label path in the OnCoCo tree, confidence and the three most likely labels, followed by the label distribution; JSON and CSV exports are created in the browser (CSV with BOM and ;, text cells protected against formula injection). Nothing is stored: text and result never go into browser storage, the address bar, the console or statistics; only the panel width and the last model choice are remembered. Two panels, two tabs on a phone; a calm message for each error state. Guide guides/kommunikationsanalyse.md.
  • API: GET /api/oncoco/tool/capabilities (segmenters and classifiers with availability, limits; without the service everything is available: false, still 200) and POST /api/oncoco/tool/analyze (segments with offsets in code points, label, confidence, top-k; distribution; timings β€” the response contains no text). Both require feature:oncoco:view, send Cache-Control: private, no-store and log numbers only. Limits 20,000 characters, 200 messages, 300 segments, 60 s; 10 analyses per minute and person. Error codes invalid_input (details.field), too_large (details.field, details.max), role_required (400), rate_limited (429), analysis_failed (502, details.reason), analysis_unavailable (503), analysis_timeout (504). The web process loads neither torch nor transformers nor wtpsplit.
  • Operations: analysis service analysis-service (Compose profile analysis, app/analysis_main.py): a separate process keeps SaT (sat-12l-sm) and OnCoCo warm on the CPU and answers jobs via Redis; it warms up before sending a heartbeat, loads models only from the local cache and retries missing ones at most every 600 s. Measured in the container: 2.0 GiB with both models, 300 segments in β‰ˆ 16 s on 4 CPU threads. One instance serves blue and green; the container gets no .env, only the Redis credentials. Enable it by adding analysis to COMPOSE_PROFILES; every deploy then recreates it via ensure_analysis_service (non-fatal). Variables ANALYSIS_SAT_MODEL, ANALYSIS_ONCOCO_MODEL_PATH, ANALYSIS_HEARTBEAT_TTL, ANALYSIS_REQUEST_TIMEOUT, ANALYSIS_TORCH_THREADS, ANALYSIS_MEMORY_LIMIT, ANALYSIS_LOG_LEVEL. Without the service the tool shows "not available". The OnCoCo weights (model.safetensors, β‰ˆ 2.2 GB) are not in Git. Runbook entwickler/production-deployment.md "Analyse-Dienst (Kommunikationsanalyse)".

πŸ” Changed

  • The "OnCoCo Analysis" tile is now "Communication Analysis" (nightly tile, workflow, matrix, activity guide and the KIZ assistant follow). The route /oncoco and the permission feature:oncoco:view stay. The old pillar pages are no longer linked: /oncoco/config, /oncoco/results/:id, /oncoco/info and all other sub-paths lead to the tool; their code, the routes /api/oncoco/analyses* and the oncoco_* tables remain for now.

User interface

πŸ” Changed

  • Leaderboard at a glance, clickable badges: the leaderboard now fits the screen without scrolling. Your progress, the ranking and the badges sit side by side and scroll on their own; on phones they are three tabs. Every badge in the gallery, the ranking and the podium opens a small window with the badge enlarged, its description, its tiers and your own progress. The window shows nothing about other people that the ranking does not already show.
  • Loading animation in "Evaluation" and "Scenario Manager": while loading, placeholders in the shape and size of the finished tiles appear (new component LTileSkeleton, variants for evaluation, scenario and invitation), as many as on the last visit in this browser (useSkeletonCount, the number only, at most 12, otherwise 6 or 3). Nothing jumps when the data arrives (measured 0 px deviation in light, dark, 1440 and 390 px); with "reduce motion" the shimmer stands still, and screen readers hear "loading". Data flow, hub cache and the cards themselves are unchanged.
  • Online experiment in the Scenario Manager: the five experiment tabs no longer repeat the tab name as a heading (it stays for screen readers). Charts and figures in the data view use the LLARS palette, darkened in light mode for contrast; the tooltip shadow is visible in dark mode. "View" in the block preview opens a new tab, and the Scenario Manager stays where it is. The workspace of all scenario types computes its height with --llars-chrome-height and 100dvh instead of a fixed 94 px, and so does the dataset table (22 px more table on a phone, unchanged on desktop).
  • Experiment views in the LLARS design: the management views of an online experiment now follow the LLARS design. The overview shows at a glance whether everything is running, how many people opened, consented and completed, and what needs attention; the full list stays below. Times and block names are readable ("17 h ago" instead of "955 min ago"). Invite links appear as cards with copy and QR buttons, email reports as one card per collection type (a switched-off report folds away and keeps its addresses). The data tab has calm rows with icon buttons, placeholders while loading and a cross table in LLARS colours; the block preview shows readable titles; the settings tab shows "Owner" only once per person. All figures, thresholds, downloads and email reports are unchanged, and so are the participant pages.
  • Online experiment β€” block preview and polish: the block preview shows numbered blocks with type, icon and a readable title. In the settings, β€œOwner” appears only once per person. β€œNeeds attention” turns red only for a real alarm, the KPI cards sit 2Γ—2 on phones, the QR button no longer shows a question mark, and dropout bars and cross tables carry readable names. All texts of the management views are available in German and English.

Operations

πŸ› Fixed

  • Deploying to the test instance failed on file permissions: the test instance's build job could not replace a changed file and left the code there half updated. A new script heals such leftovers, frees exactly the blocked directories and then pulls the new state. Production was not affected.

Archive

πŸ—‘οΈ Removed

  • KAIMO and Markdown Collab archived (customer request 2026-11-13): the tiles are gone, /kaimo and /MarkdownCollab including sub-paths redirect to the home page, /api/kaimo/* and /api/markdown-collab/* return 404, and the Markdown socket handler is no longer registered. The code lives under app/archive/{kaimo,markdown_collab}/ and llars-frontend/archive/{kaimo,markdown-collab}/, each with a README on how to restore it, outside build, lint, tests and coverage. Tables, data and permissions remain; Prompt Engineering with collaborative editing and the Git panel is unchanged.

Documentation

πŸ“š Docs

  • Guide "Communication Analysis" (DE/EN), runbook "Analyse-Dienst", configuration (ANALYSIS_*); OnCoCo project pages, project overview and test requirements updated (KAIMO and Markdown Collab marked as archived).

[1.61.1] - 2026-11-13

πŸ› Fixed

  • Nightly E2E image: since 2026-11-12 e2e/nightly/workflows.spec.js imports the type rule of the online experiment (src/lib/experimentConfig.js), but the image of the nightly E2E tests (docker/smoke-test/Dockerfile) did not copy it, so the E2E run stopped with "Cannot find module". The image now contains the file; the guard test tests/unit/test_smoke_image_e2e_imports.py requires a matching COPY line for every relative import of an E2E spec that leads out of e2e/. No difference visible to users; no tag of its own (this is the version production has shown since 2026-11-13).

[1.61.0] - 2026-11-13

Online experiment (scenario type 12)

✨ Features

  • New scenario type 12 "Online experiment": the study module as a regular scenario (build contract study-scenario-2026-11-12): a study with anonymous participation via invite links (/s/<short-url>), randomised conditions, questionnaires and chat and ranking blocks is now a scenario like any other. It owns its collections (click test, pre-test, survey) through the new table experiment_scenario_collections, in which every collection belongs to exactly one scenario; no row and no column of the study_* tables changes, and the participants' pages and links stay as they are. Flow, questionnaires and texts come from a package in the repository (llm-communication-v1), which can no longer change after the first collection (409 PACKAGE_LOCKED). No items, assessors, parts, LLM evaluators or agreement measure; the type does not appear in the evaluation hub. Guide guides/online-experiment.md, chapter .claude/kapitel/online-experiment.md.
  • Online experiment in the Scenario Manager: instead of the Overview, Data, Evaluation and Assessors tabs, a type-12 scenario shows the tabs Overview (collections per stage with history, randomisation buffer, response time and ranking pool, archive with data cut), Invite links (quick link, link with cap and expiry, switching off), Data (row counts, CSV per dataset, ZIP per collection, dataset tables and participation view), Alerts (mail reports per stage, managers of the anchor scenario only), Block preview and Settings (package read-only). These are the same numbers as in the former study administration, cut to the scenario's collections (/api/scenarios/<sid>/experiment/…); for the same set of collections, CSV files, JSON rows and the files in the ZIP have the same content, only the export timestamps may differ.
  • Roles instead of admin rights: owners, editors and admins manage an experiment; viewers see overview, history, links and row counts, but no datasets, no participation pages and no ZIP (403 AGGREGATES_ONLY, 403 READ_ONLY when writing). Scenarios, collections, links and pseudonyms outside your experiment answer 404, and every successful response carries Cache-Control: private, no-store. A study lead therefore no longer needs admin rights.
  • Wizard: "Empty online experiment" creates an experiment without data: package from the server's list (GET /api/experiment/packages), team only as co-manager or viewer. The first collection is opened afterwards in the Overview tab, and only in the anchor scenario (see πŸ”’).
  • Click test for the experiment's managers: /s/klicktest now also starts for owners and editors (with feature:ranking:edit) of the scenario that owns the open click-test collection, not only for admins; the Overview tab has the button "Start click test" for it. For everyone else the link still looks invalid, and survey invite links still need no account. Because only one collection per stage can be open, so far only the anchor scenario of the running study has a click test.
  • Binding script and parity check: python -m scripts.experiment_bind_legacy --owner <account> [--owner <account>] [--editors a,b] [--name …] [--scenario-id <id>] [--dry-run] determines the anchor scenario of the running study and binds every free collection. If experiment_anchor already names an anchor, it uses that one ("vorhanden"; a second run changes nothing); --scenario-id takes over a type-12 scenario only if its creator is listed under --owner ("ΓΌbernommen"), otherwise it stops with exit code 1; without either it creates a new scenario ("angelegt"). Dry run and real run print the anchor's name, creator and members. The script writes only into experiment_scenario_collections (INSERT), experiment_anchor (one INSERT on the first run), rating_scenarios (INSERT when creating, or the anchor flag when taking over) and scenario_users (INSERT or UPDATE of role and status of the named accounts). scripts/agenten/experiment_parity.py saves the exports via alias and scenario and compares two runs without printing any content. Runbook entwickler/production-deployment.md "Online-Experiment: Anker-Szenario binden".

πŸ” Changed

  • Study tiles removed: "Study (test)", "Study β€” Overview" and "Study block preview" are gone from the start page; the entry point is the Scenario Manager, and the LLARS assistant points there. New nightly workflow "Online-Experiment Manager-Rundweg".
  • Old study addresses redirect: /s/study, /s/study/preview and /s/study/data/…, including the links in the alert mails, lead to the tabs of the anchor scenario (GET /api/experiment/anchor); anyone who may not read it lands on the start page, as does everyone if there is no anchor. /s/<short-url>, /s/study/run and /study-consent are unchanged.
  • Old operator API only as an alias: /api/study/{monitor,collections,links,export} stays admin-only and unchanged, but logs a warning per call and goes away in a later release. In the user interface, collections are now opened only inside a scenario. Through the alias (admins only), at app start and after archiving a click test through the alias, unbound collections are still created; the binding script binds them afterwards.
  • Deletion rule and refusals: an online experiment with participations or withdrawals cannot be deleted on any of the three deletion paths (409 EXPERIMENT_HAS_DATA); without data only the bindings go, collections and links stay. Duplicating, the generic export, adding items, batch generation and the legacy route POST /api/admin/create_scenario refuse type 12 with 400 not_supported_for_experiment, /evaluate with 400 use_experiment_routes.
  • v1 API: GET /api/v1/scenarios/<id>/results returns no rows for type 12 but note: "use /api/scenarios/<id>/experiment/export"; an online experiment cannot be created through the v1 API (400).

πŸ”’ Security

  • Anchor kept on the server (E21): which scenario is the anchor of the running study is stored in the new table experiment_anchor, and only the binding script writes it. The config field legacy_global_alerts no longer grants any rights; before, the legacy routes create_scenario/edit_scenario could set it and so turn any experiment into the anchor. The binding script never takes over a scenario that only carries this flag but reports it as a warning (E22).
  • Only the anchor opens collections (E23): POST /api/scenarios/<sid>/experiment/collections answers 403 ANCHOR_ONLY outside the anchor (except for admins and the system key); the "+" in the Overview tab is then locked and a hint explains why. Stages, ranking pool and model proxy are global, so a second experiment could otherwise have blocked the stages of the running study and flooded the pool.
  • Ranking pool bounded (E24): archiving cancels the collection's waiting unbound pool jobs in the same transaction; the worker no longer takes unbound jobs of closed collections, while jobs bound to a participation continue. At most STUDY_BOT_POOL_QUEUE_MAX (default 200) unbound jobs wait at the same time. Opening and archiving count at most 20 times per person and hour (429 rate_limited, system key exempt).
  • Alert reports without other experiments' collections (E25): the worker and the report only cover open collections of the anchor and unbound legacy collections; a collection of another experiment triggers no report and appears in none. The collection list of /health is cut to the anchor's own collections as well.
  • Config changes the same on every path (E26): POST /api/admin/edit_scenario and PUT /api/v1/scenarios/<id>/config go through scenario_config_service.apply_config_update like the internal PUT: for type 12 they keep the stored anchor flag and lock the package as soon as a collection is bound (409 PACKAGE_LOCKED).

Level system, badges and leaderboard

✨ Features

  • "Leaderboard" tile (/leaderboard): LLARS counts finished work from all scenarios as experience points (XP), weighted by effort (for example 10 XP for a decided span, 150 XP for a finished paper review), and turns them into levels on a quadratic curve without an upper limit. The page shows your own card with level ring, XP to the next level and rank overall and for the month, the leaderboard of your own group with podium and your own highlighted row with its surroundings, the switch overall/month and "My scenarios", which only you see.
  • Leaderboard groups (G7): every person belongs to at most one leaderboard group, and the board shows only your own group; the group name is in the header. Rank, monthly rank, neighbours and "overtook" apply only within the group. If you belong to no group, you see a hint instead of podium and list, plus your own card without a place; level, XP and badges still count. Changing groups triggers no celebration. New tables gamification_groups and gamification_group_members (at most one assignment per person), plus the column user_gamification_state.seen_group_id.
  • Admin dashboard β†’ "Leaderboard groups" (/admin?tab=gamification-groups, routes under /api/admin/gamification): create, rename and delete groups, maintain username prefixes (the longest matching prefix wins; a prefix belongs to at most one group, otherwise 409 PREFIX_TAKEN, duplicate names 409 NAME_TAKEN), filter accounts, assign them to a group or reset the assignment; a manual assignment beats every prefix. Admins can view every group's board (GET /api/gamification/leaderboard?group_id=). Without a prefix and without an assignment an account has no group; there is no default group.
  • Retroactive: a reconciliation in the worker container (GAMIFICATION_WORKER_ENABLED, interval GAMIFICATION_WORKER_INTERVAL_SECONDS, default 300 s) writes all human units of types 1–11 that are still stored, plus tickets that are in progress or done, into an XP ledger (new tables gamification_ledger and user_gamification_state). The ledger never deletes: what has been counted once still counts after a split, a merge or the deletion of a scenario, and a changed label earns no new points.
  • 18 animated badges in bronze, silver, gold and platinum (two with a single tier): hand-built SVGs with a shared frame per category, the tier additionally shown as one to four dots, unlock and hover animations. The gallery shows the progress to the next tier; names, rules and thresholds live in one file (app/services/gamification/data/badges.json, GET /api/gamification/catalog).
  • Celebrations only on the leaderboard (G6): a new level, a new badge or tier and a new best place ("You overtook …") appear as a short full-screen animation of about three seconds, and the first visit shows a welcome summary. This happens only on the /leaderboard page: on every other page, including rating, labeling, paper review and anonymization, LLARS does not query your standing (isCelebrationRouteAllowed in useGamificationEvents.js) and shows no celebration; pending celebrations wait until you open the leaderboard. A click, Esc or the space bar closes a celebration, four or more achievements at once become one summary card, and every celebration appears only once, also across tabs and devices. With "reduce motion" there is no movement and no confetti.
  • Appearing anonymously (opt-out): everyone appears on their group's board with their display name (without an own display name, with first and last name). The switch "Appear anonymously on the leaderboard" is on the leaderboard page and shows others only "Anonymous Β· " without avatar, and "an anonymous person" in their celebrations. Rank and numbers stay visible; the code only replaces name and avatar. Settings β†’ Preferences now has a button to the leaderboard instead of the switch, so that the settings page does not query your standing either.
  • Admin preview: Admin dashboard β†’ "Gamification preview" (/admin?tab=gamification-preview) plays every celebration with sample data and shows every badge in all tiers at 32, 64 and 128 px, with the switch "Simulate reduced motion". It does not change your own standing.
  • KIZ assistant: it knows the new tile and links it only with the permission feature:gamification:view.

πŸ” Changed

  • Rate limit: GET /api/gamification/me is exempt from the global per-IP limit. Only the open leaderboard page still queries it (on entering, on returning to the tab and every 45 s); the exemption stays because several people behind a shared NAT address may have the page open at the same time. /me/ack, /me/settings, /leaderboard and /catalog remain rate-limited.

πŸ”’ Security

  • New permission feature:gamification:view for researcher, evaluator and chatbot_manager (admin through the full list; not ijcai_reviewer, not demo_expired). Tile, page, celebrations and all routes under /api/gamification depend on it, and every response carries Cache-Control: private, no-store.
  • New permission admin:gamification:manage (admin only) for group management under /api/admin/gamification and for choosing another group's board (group_id, otherwise 403).
  • No breakdown by scenario or type: the leaderboard only shows totals (XP, units, number of scenarios, active days, level) and, for other people, only badges that reveal neither a study nor an evaluation type nor tickets. Tickets do not count there, only for your own level. The breakdown by scenario is visible only to you, and only for scenarios you are a member of or created. Neither can be hidden completely: for people who work in only one scenario or one evaluation type, the totals equal their standing there, and because the XP per unit are fixed, the ratio of XP to units hints at the type.
  • Humans only, with limits against point farming: AI accounts and LLM results, admin (system API key), the test accounts test_admin, test_researcher, test_evaluator and test_chatbot_manager, demo and IJCAI accounts, locked, deleted and expired accounts and demo_expired earn no XP and appear on no board. One gap is known: an LLM rating that POST …/llm-evaluate with save_rating stores under the clicking person counts as that person's unit. Tickets count only from "In progress", "Needs reply", "Done" or "Closed" (usually after the support team accepted them, but also when the creator confirms their own ticket as done), pasted anonymization cases only after finished detection and 24 hours. Whatever is withdrawn afterwards keeps its XP.
  • Pasted cases count only from the UI (G8): a pasted anonymization case now earns points only when a person pasted it in the UI. Cases created with an API key (including through the LLARS MCP) or by batch import do not count; a person's sign-off on them still does. The import path is recorded in the case for this (parse_meta_json.import_channel, no schema change). Cases from before 1.61.0 count as before.
  • Pseudonyms that cannot be reversed: the anonymous short code is an HMAC with a server secret (GAMIFICATION_ANON_SECRET, otherwise FLASK_SECRET_KEY, otherwise JWT_SECRET_KEY). If no secret is set, production refuses to build the code instead of falling back to a public constant. The code stays the same until the secret is rotated; rank and numbers stay visible, and anyone who knows them can match the row.

v1 API, LLARS MCP and import security

✨ Features

  • v1 API gaps closed (build contract api-mcp-2026-11-12): PUT /api/v1/scenarios/<id>/config (scope scenario:write, creator or admin only, otherwise 404) changes the config through the same service as the internal PUT (app/services/scenario_config_service.py, also used by the legacy routes). New are GET /api/v1/me (your own account, permissions and the key's scopes; never the key value, hash or prefix) and GET /api/v1/models (usable models without provider data).
  • Anonymization (type 11) with a personal key: tile list, case list, summary, preview (parse), creating cases and "Detect again" work with a managed API key; the case detail is available to a key only as a summary (403 SUMMARY_ONLY). Deciding, rolling, suggesting and signing off stay reserved for humans and refuse every key, including the system key, with 403 HUMAN_REQUIRED.
  • Tickets with a personal key: new scopes tickets:read and tickets:write (behind feature:tickets:view), selectable under Settings β†’ API keys. Comments are then written by the person (human); the system key still writes as agent.
  • LLARS MCP (tools/llars-mcp, wired up via .mcp.json): an MCP server for Claude Code that talks to the LLARS API as a thin client (scenarios, results, labeling, paper review, anonymization, tickets, chatbots, conference manager, admin). The key comes only from the environment and is never logged; write tools against other instances only with LLARS_MCP_ALLOW_REMOTE_WRITES, destructive tools only with confirm. Uploads are read only from the project folder and LLARS_MCP_UPLOAD_ROOTS, never from the home directory or above; ticket_create, ticket_comment and anon_case_import ask for approval on every call, and conference_paper_write changes authors only via set_authors. Docs entwickler/llars-mcp.md.

πŸ”’ Security

  • Existing items only from scenarios you manage: the "Existing data" dialog in the Data tab (GET …/available-threads), POST /api/scenarios/<id>/threads, /api/admin/add_threads_to_scenario, the legacy route create_scenario and the chat_id duplicate check of the data import now offer and link only items from scenarios the person owns or co-manages (admins all, as before); other ids count as not found. Before, the Data tab offered every owner all items of the instance. Paper review, anonymization and experiment scenarios take no existing items (one rule in scenario_utils.py).
  • Data import only into managed scenarios (otherwise 404), import config keys through an allowlist. Data import and "generation β†’ scenario" no longer store models the creating person may not use, and generated texts never become paper review or anonymization scenarios.
  • v1 POST …/items only for types with generic items: paper review, anonymization and online experiment refuse POST /api/v1/scenarios/<id>/items with 400 (not_supported_for_paper_review, not_supported_for_anonymization, not_supported_for_experiment). Papers and cases come in through their own upload routes, an online experiment has no items; before, items without a PDF or without a case were created there.
  • Generation sources checked: source scenarios and from_job are checked against read access, for derived jobs also the original source; source ids must be integers, and anonymization cases are refused as a source.
  • Legacy routes count only live memberships: archived members and declined invitations no longer read conversations through /api/email_threads/*.
  • Keys without case text: type-11 summaries for API keys contain no preview line, subject, file name or error text. Hybrid mode never uses an OpenAI model, and a personal key opens no new language-model path; models for the co-pilot and LLM evaluators are checked against the owner's access.
  • Anonymization import with bounded runtime: three expressions of the conversation parser ran quadratically on long inputs and are now linear. Text or a subject with more than 30 combining characters in a row is refused with 400 text_unsupported before normalisation. Word files go through the chat-attachment check and a workload cap before parsing (400 extraction_failed with reason and limit). parse and cases allow 120 calls per person and minute (429 rate_limited with details.retry_after_seconds); deeply nested JSON gives 400.

πŸ› Fixed

  • Time marks no longer glue words together: a time mark between two words is now replaced by a space; before, "MΓΌller #…#und" became "MΓΌllerund", and the name escaped propagation and the leak check. Parser version transcript-v2. The NFC repair script skips cases with unsupported text.
  • "Existing data" dialog: it no longer shows raw text keys and says that the data offered comes only from scenarios you own or co-manage. text_unsupported has its own error message.

πŸ“š Docs

  • docs/docs/guides/api-v1-scenarios.md (config, /me, /models, type 11 with a key, import error codes), docs/docs/entwickler/llars-mcp.md, the guides "Leaderboard, levels and badges" and "Online experiment", runbook for the binding script; each in German and English.

Fixes from the click-through before the release

πŸ› Fixed

  • File upload in the "Paste case" dialog and PDF upload in Paper Review: both sent the file as an empty object because of a global JSON header and always failed (since 02.11. and 23.10.2026). The uploads now set the multipart header explicitly; a guard test checks every upload site (UPLOAD_GUARD_001/002).
  • Results export in the Scenario Manager: for ranking scenarios, for rating scenarios with legacy data only and for real/fake scenarios GET /api/scenarios/<id>/export answered HTTP 500 (since June and January 2026). Both branches work again; a new test runs the export once per evaluation type (GUIEXP_001–006), and an AST guard reports the error class (SHADOW_IMPORT_001).
  • Batch generation for the chatbot_manager role: listing and creating generation jobs had been refused with 403 since the security wave of 02.11.2026, the page showed "No generation jobs". For sessions feature:generation:* decides alone again; API keys still need scope and permission.
  • Data import: timestamps like 2026-01-05T10:00:00Z (also with more than six fractional digits or +0200) aborted the import because the container runs Python 3.10. Feature types that differ from an existing one only in case (summary next to Summary) aborted it too; the import now uses the existing type.
  • Messages: the message about long runs of accent characters names the number of characters instead of "10 MB". If the badge catalogue does not load, the leaderboard retries up to three times and otherwise shows a hint with "Reload" instead of raw identifiers. The scenario wizard announces AI evaluators only when some are selected. POST /api/v1/scenarios names the error of the requested type first for an invalid config.

[1.60.0] - 2026-11-12

✨ Added

  • Anonymization β€” conversation format: Scenarios can be set to "Emails", "Chat" or "Transcribed conversation" (conversation_format). Transcripts with speaker codes such as I:/B: appear as a conversation between "Interviewer" and "Interviewee"; time marks such as #00:13:22-3# are removed from the text and shown as 00:13:22 on the turn, and a code such as "I2" appears next to the role. The preface before the first speaker is neither reviewed nor exported; the export has a new time_offset column.

πŸ› Fixed

  • Anonymization: messages without a timestamp showed "01.01.1970, 01:00"; they now show no time.

[1.59.0] - 2026-11-12

πŸ” Changed

  • Anonymization only inside the scenario: The tiles "Anonymization" (/Anonymize), "Anonymization pipeline" (/anonymization) and "Anonymize cases" (/anonymization-cases) are removed from the home page and archived; the anonymization scenario (type 11) in the Evaluation hub covers all of it. Old links to /anonymization-cases/<number> open the scenario, the other addresses lead to the home page. The KIZ assistant no longer links the archived pages. (T-224)

πŸ› Fixed

  • Conversation labeling β€” progressive reveal: Splitting, merging or removing a span (on your own or another device) no longer reveals later messages. The cause was a one-tick intermediate state in which the focus pointed at the span just removed and the grow-only reveal horizon jumped to the last message. (T-223)

[1.58.0] - 2026-11-11

✨ Added

  • Conversation labeling β€” taking a message out of labeling: a message that was attributed to the wrong role at import can be turned into plain context via the API (POST /api/v1/scenarios/<id>/items/<item_id>/messages/<index>/make-context, creator or admin only, dry run by default). Its sentences can no longer be labelled, the sender can be corrected, and votes and measurements already given are removed with a protocol entry (event kind remove with a details column in /span-events), so they no longer appear in progress, export or agreement. Anyone who has the conversation open sees the change immediately with a short notice. (T-215)
  • Arena mode for comparison scenarios: with the "Arena mode" switch (randomize_order) every rater sees A and B in an own, fixed order, and every vote stores which feature stood on which side. LLARS turns this into a leaderboard of the systems: Bradley-Terry on the Elo scale with item bootstrap intervals, win rates, head-to-head counts and the position effect. Shown in the analysis tab for managers and via GET /api/v1/scenarios/<id>/leaderboard. A candidate may now also be a whole conversation (content: {"type": "conversation", ...}), shown as a chat in its column.

πŸ” Changed

  • v1 results of comparison scenarios gain three columns at the end: option_a_model, option_b_model, winner_model. Before, the export did not say which system won.

πŸ› Fixed

  • Frontend tests: no test opens a real Socket.IO connection any more (global inert mock with a guard test). A late connection error had turned the test:unit:frontend job red although every test passed.
  • Mail delivery: every mail now carries Date and a Message-ID of our own domain; password reset, magic login and registration confirmation are marked as automatically generated (Auto-Submitted, X-Auto-Response-Suppress); invitations and announcements carry List-Unsubscribe (mailto). Additional headers are checked against header injection. Reason: LLARS mails ended up in the junk folder of recipients behind Microsoft 365. A line break in the subject now aborts the send cleanly instead of crashing the send thread.
  • Saving a ranking: an entry that could not be matched to a candidate was dropped silently β€” the previous ranking had already been deleted and the response was still 201. All entries are now resolved before anything is deleted; an unmatched entry yields 400 and the previous ranking stays untouched. The model name is never taken from the request any more, and the older Ranker page sends the feature_id.

πŸ”’ Security

  • Blinding in comparisons: without show_source the server no longer sends the candidates' system names to the rater's browser. Before, they were only hidden in the UI and readable in the network tab.
  • Model-name blinding on the older routes: raters without manager rights still received model names via GET /api/email_threads/rankings/<id>, …/ratings/<id>, …/ratings/<id>/<feature>, …/<id>/current_ranking and β€” for ranking and rating β€” GET /api/evaluation/session/<sid>/threads/<tid>/features, before casting their vote; after the vote …/comparison/preferences returned the provenance of every comparison. One rule now decides (SchemaAdapter.can_view_model_names): names are visible to managers of a scenario containing the item, in comparison scenarios additionally with show_source; otherwise the response carries null. The preference profile of the reward dialog stays visible only where the scenario uses the reward system, and per-comparison provenance never reaches raters. The gap predates 1.56.0 and was found in the security review of the Arena mode.

πŸ“š Docs

  • CLAUDE.md cleaned up: the file now holds only working rules, duties and a chapter index (about 720 instead of 2,456 lines); the feature chapters live verbatim under .claude/kapitel/, plus a new chapter on mail delivery. Outdated statements are corrected, and the quick reference in AGENTS.md consists of pointers.

[1.57.0] - 2026-11-09

✨ Added

  • Device sync for every scenario type: Rating, mail rating, ranking, pairwise comparison, authenticity, counselling A/B, paper review and anonymisation now show a decision made on your other device immediately, including case switching and "auto-advance". When two events arrive almost at once, the newer state wins and the device reconciles once with the server without overwriting an unsaved input. Only your own devices receive these messages. (T-203)
  • Evaluation overview stays put: Returning from a scenario shows the overview immediately with the last displayed state; changes are refreshed in the background and applied silently. (T-204)

πŸ› Fixed

  • Authenticity: A saved verdict and its note no longer disappeared after a reload; fixed. (T-203)
  • Conversation labeling: The next message stays visible once it has appeared, even when you jump back to improve a label, and it appears as soon as every span before it is labelled. (T-208)
  • Device sync: A decision from your other device now plays the same motion as your own tap; clearing a label in classic labeling is saved; no duplicate save in rating; open notes survive every reconciliation. (T-203)

[1.56.0] - 2026-11-09

✨ Added

  • Label on several devices at once: A click on the phone shows up immediately on the computer and vice versa, including highlight, scrolling, β€œauto-advance” and case switch β€” for labeling and conversation labeling. Only the same person's own devices receive this message. (T-203)

πŸ› Fixed

  • Conversation labeling: A cleared label stays cleared after a reload. (T-203)
  • Labeling device sync (after security review): note-only changes from another device no longer move the focus, a quick deselect is saved, the resync after a reconnect no longer reverts a newer own click; saves made with the system API key do not steer open browser tabs. (T-203)

[1.55.0] - 2026-11-05

✨ Added

  • Name parts in anonymization (type 11): First and last names are linked to the full name and appear indented under β€œName parts” with β€œPart of …” in β€œDetected values”. Randomizing or editing a part updates the full name and vice versa; β€œNot part of this name” removes the link. (T-188)
  • Merge marks (type 11): Two adjacent marks can be merged with one click in the popover, optionally at every identical spot in the case. A selection over existing marks replaces them after confirmation, and β€œMark all” replaces overlapping marks and reports the result. (T-188)
  • Batch import of JSON conversations: python -m scripts.anonymization_import_json creates an anonymization scenario with assessors and imports one case per JSON file (subject and umlauts kept, duplicates skipped, dry run without writes). (T-188)

πŸ” Changed

  • Spelling variants of organisations and places (type 11): β€œGEMCo” and β€œGemCo”, or β€œTechnische” and β€œTechnischen Hochschule …”, are linked as spellings and share one replacement; β€œNot the same spelling” unlinks them. (T-188)
  • Better detection on real counselling threads (type 11): Greetings and role words no longer become part of person names, first names in signatures join the person, and generic words such as β€œprimary school”, β€œdaycare” or β€œmy parents” are no longer organisations. Replacement names match the gender, are not similar to the original and follow its casing; β€œ3 jΓ€hrige” and β€œbis zu drei Tagen” are detected, and re-detection yields the same replacements. (T-188)
  • Evaluation cards no longer jump: Cards on the evaluation page have a fixed height, type and status always stay on one line, and long types are truncated instead of wrapping. (T-191)

πŸ› Fixed

  • Umlauts no longer split words (type 11): Text from macOS apps (decomposed umlauts) is normalized on paste and import; β€œNΓΌrnberg” is one word again and the ΓΌ is visible. Existing cases are checked and repaired with python -m scripts.anonymization_nfc_repair. (T-188)
  • Smaller fixes on the review page (type 11): Unlinking saves once, the next mark opens its popover on the first click, owners and admins see β€œPaste case”, the active tab is readable in dark mode, and an incomplete save no longer empties a case. (T-188)

[1.54.0] - 2026-11-05

Security

  • Locked conversations stay hidden: The legacy read routes under /api/email_threads/* no longer deliver conversations from locked parts or not-yet-unlocked stages of a labeling scenario to assessors. They answer as for a foreign conversation; owners, editors and admins still see everything.

[1.53.0] - 2026-11-05

✨ Added

  • Labeling in stages: Raters first see ten conversations; once they are done, five more are added each time – with a short celebration and a hint how many remain until the next unlock. Configurable in the scenario under β€œUnlock in stages”.

πŸ” Changed

  • Label cards: The explanation and two examples now appear only via the info icon at the top right of each card.
  • OnCoCo label tree: Labels are stacked like in VRM, and the next level slides in when you descend.

πŸ”’ Security

  • Labeling: Items of locked parts can no longer be rated via their address.

[1.52.0] - 2026-11-04

πŸ› Fixed

  • Admin β€Ί User Presence: the list is readable again in dark mode; on phones users appear as cards instead of an empty bar, the list scrolls with many users, and a search without matches shows a hint. (T-177, T-179)
  • Conversation labeling: on desktop the β€œAI suggestions” bar now sits below the second choice so the categories come right after the text; on phones it stays at the top. (T-181)
  • AI suggestions in scenario 1038: Mistral 128B gets its second choice filled in. (T-180)

[1.51.1] - 2026-11-03

πŸ› Fixed

  • Chat navigation: the KIZ assistant links the video page exactly when the β€œVideo” tile is visible.

[1.51.0] - 2026-11-03

πŸ” Changed

  • β€œVideo” tile also via individual grant: external assessors can see the video tile without getting the scenario manager (new permission feature:video:view).

[1.50.0] - 2026-11-03

✨ Features

  • Anonymization: invented organization names instead of placeholders, new category "Duration" (T-169): Organizations get an invented name of the same kind instead of "[Company 1]" (company with legal form and sector, "BKK ", "Hochschule ", "Jugendamt "), links become distinct example links, postcodes and places stay real values. Phrases like "seit zwΓΆlf Jahren" are the new category "Duration" and are shifted by one to three. When the language model is allowed it now also suggests organizations; with the "automatic" switch suggestions arrive after every detection without a click.
  • Anonymize cases: board with a single header row (T-170): buttons on the left, counters and the scenario name on the right; stacked on mobile.

πŸ› Fixed

  • Anonymization: detection sharpened (T-169): university plus name is one organization; "(0)" in phone numbers is no longer an age; phone numbers with hyphens and streets with hyphenated names, prefixes and house-number ranges are detected completely; study programmes are no organization; YouTube, Facebook, LinkedIn and online counselling stay and no longer count as leaks.

[1.49.0] - 2026-11-03

✨ Features

  • Anonymization: review screen reworked in a second round (T-165): The header row with case number and status is gone; the Original/Anonymized switch and the menu sit in the "Detected values" bar, which now counts occurrences. Every detected value has its own colour, the same everywhere (client orange, counsellor purple), the tag follows the value, categories have icons. Counsellor messages are beige, client messages pastel green, also in the import preview. Cases someone has already changed sit in their own column "Editing" and return to "To review" after "Detect again".
  • Anonymization: review screen tidied up (T-165): The subject appears only once and can be edited with the pencil; an original value in it is reported as a leak and blocks sign-off. The Original/Anonymized switch is clearly visible, every marking carries its tag such as "NAME" or "AGE" in front, markings and messages have more room, and the question-mark icons are replaced by proper icons.

[1.48.0] - 2026-11-03

πŸ”’ Security

  • The schema API no longer reveals the origin of texts to raters (security wave 02.11.2026): GET /api/scenarios/<id>/items/<item>/schema and the batch call POST /api/scenarios/<id>/items/schema/batch now report the source to raters only as β€œunknown”: no model name, and no real/AI answer in authenticity studies. Only items of the rater's own session are served; foreign, locked or missing items return 404. GET /api/scenarios/<id>/schema gives raters the configuration without parts, co-pilot or AI-suggestion internals, and only their own items. Nothing changes on these routes for scenario managers.
  • Server-side fetches are hardened against SSRF: the Playwright crawler checks every browser request and redirect and can no longer reach internal services; service workers and WebSockets are blocked. Crawler images, link previews, the image proxy and the model listing of user LLM providers share one safe fetcher (services/web/safe_fetch.py): per-redirect checks, connection pinned to the checked IP, size limits. Unresolvable hosts are rejected. Provider errors no longer echo response bodies, and model listing (POST /api/user/providers/models) requires feature:llm:view.
  • API keys, scopes, sign-in limits and OIDC: invalid keys no longer trigger argon2 verification (unauthenticated DoS fixed); only the managed keys from Settings β†’ API Keys are accepted. Legacy account keys (users.api_key) are no longer accepted – if you still use one, create a new key under Settings β†’ API Keys; POST /api/auth/api-key/regenerate returns 410. Scopes only apply together with the owner's matching permission, at issuance and on every call; creating chatbots via v1 requires feature:chatbots:edit. Login, magic link and the public key verification are rate-limited per IP (10/min and 50/h, or 20/min; LOGIN_RATE_LIMIT overrides). Only loopback and the Docker network of the same host (nightly E2E, smoke) are exempt; VPN and university addresses count like any other. The password-reset and referral limits now actually take effect and have no exemption (see πŸ› Fixed); the study-start limit stays deliberately unbound until the product decision is made. Errors while checking the account state now deny access, and OIDC tokens must carry aud (or azp) and iss.
  • Foreign resources return 404, own permissions for LLM-as-Judge and OnCoCo: OnCoCo analyses and their results (sentences, distributions, transition matrices) as well as status and workers of a Judge session are readable only for one's own analysis or session; foreign ones return 404. Judge and OnCoCo no longer hang on the comparison permission feature:comparison:*, which evaluators keep for pairwise comparison (type 4): LLM-as-Judge stays admin-only (feature:judge:*), OnCoCo is open to researchers (feature:oncoco:*), and the β€œOnCoCo” tile is now visible for researchers too. Evaluators can no longer start Judge runs or OnCoCo analyses. KIA data sync and pillar assignment (including /api/oncoco/pillars/sync) require admin:judge:manage (admin only); the sync buttons only appear with that permission. Chat ratings apply only to own conversations, the REST API lists crawl jobs only for own target collections (admins all), import sessions only to their creator, and the AI field assistant (/ai-assist/generate) requires feature:llm:view.
  • Locked accounts stay locked, sockets check like REST: locked and deleted accounts are now also deactivated in Authentik and get no new tokens on refresh. Messaging, legacy chat and the batch-generation live overview check account state and permissions over Socket.IO like the REST routes, messaging also the chat membership. The generation overview only shows own and shared jobs. Admin rights in the collaboration server and RAG come only from the LLARS role. The socket token is sent in the handshake instead of the URL (the URL still carries it as a fallback for one release).
  • Hardened chat and uploads: RAG sources reach the model as delimited user data (<<<QUELLE n>>>) instead of system instructions. Chat answers no longer load images or set inline styles; links opening a new tab get rel=noopener noreferrer. CSV exports (study, rankings) neutralise formula cells. RAG and anonymisation uploads are checked by content and zip size (zip bombs, wrong file types β†’ 400). Searches treat % and _ literally.
  • Hardened operations: in production the backend refuses to start with template placeholders, the dev default key or secrets shorter than 32 characters (FLASK_SECRET_KEY, SYSTEM_ADMIN_API_KEY, JWT_SECRET_KEY; pre-deploy check in runbook Β§2a). Authentik setup aborts in production without a strong LLARS_ADMIN_PASSWORD, sets passwords only on creation and no longer logs the admin token. The worker runs without root. nginx no longer writes sign-in and reset links to the access log and sets Referrer and Permissions policies. Error responses no longer expose internal details. The AI-assist test endpoints exist in development only, and register_admin is disabled in production. The wizard API checks account, permissions and session ownership. CI and deploy scripts no longer fall back to admin123.

✨ Added

  • LLARS chat: figures from PDFs are sent as images (T-152b, 02.11.2026): figures in PDFs (photos, embedded charts) are sent as images to vision-capable models – up to two per PDF, at most four together with uploaded images; pages or figures named in the question (β€œFigure 2”, β€œp. 5”) come first. The model can read values off them and cites β€œ(paper.pdf, S. 5, Abbildung)”; the file card shows β€œΒ· n fig.”. Drawn vector charts remain text only, text-only models work as before. In the live test Mistral Medium 3.5 read the values 30 %, 55 % and 80 % off the bar chart of a test PDF, values that exist only in the image.
  • LLARS chat: the same conversation in every tab (T-154b, 02.11.2026): a second tab or a reload opens the same conversation as the first tab. LLARS remembers the last opened conversation per chatbot in the browser (its number only) and clears this memory on sign-out; a conversation deleted in the meantime drops out silently.
  • New evaluation type 11 "Anonymization": counselling threads as a data donation (T-158, 02.11.2026): a scenario is a data donation, a case a pasted e-mail or chat thread. The server splits threads from Apple Mail, Thunderbird, Outlook, Gmail, English mail programs, chat/WhatsApp exports and role transcripts into messages with roles, chronologically and without header lines, quote markers, signatures and disclaimers. A background queue in the worker container (ANONYMIZATION_CASE_WORKER_ENABLED/_INTERVAL_SECONDS, one process, one case at a time) detects personal data, gives each value one replacement across the case and shifts all dates of a case by the same random offset; it never loads Flair itself and waits while no NER process is running ("Waiting for detection"). All members review one shared state per case; a case is done when 1 or 2 people (four-eyes principle, required_reviews) have signed off the same version. Every change removes all sign-offs, concurrent saves answer 409 VERSION_CONFLICT, open leaks block the sign-off (409 LEAKS_PRESENT). Deliberately without blinding, parts, co-pilot, LLM evaluators and agreement measure; /evaluate, batch generation, schema export, duplicating and adding items reject the type with 400. Guide guides/anonymization-scenario.en.md.
  • Anonymize cases: paste, board and review UI (T-158): new home tile "Anonymize cases" (/anonymization-cases, permission feature:anonymization:view for researchers and admins, otherwise by grant; with exactly one scenario straight to its board); invited assessors also reach their cases through Evaluation. The scenario wizard offers "Empty anonymization scenario" with an editor for sign-offs, offline/hybrid (permanent notice that the plain text goes to the language model; the model must be active and available to the owner), origin of replacement names, categories and allow lists for organizations and domains. "Paste case" accepts Cmd+V/Ctrl+V, drag and drop and TXT/PDF/DOCX/JSON up to 10 MB and immediately shows a left/right preview with switchable roles and "As a single message"; LLARS reports duplicates. The board shows cases as a list or Kanban with queue position, time estimate and progress and updates live through the room anonymization_cases_<sid> (ids and counters only, never text). The review UI has coloured markings with a popover (category, replacement, randomize, "Not PII"), new markings by text selection, the values panel, the Original/Anonymized switch, the leak panel ("Mark all occurrences") and the sign-off bar; autosave as full replacement with version check, two tabs on mobile.
  • Anonymize cases: anonymized export only (T-158): Scenario Manager β†’ Data β†’ "Export" and GET /api/v1/scenarios/<id>/anonymization/export?status=done|all&format=json|csv (creator and admins only, otherwise 404) return JSON llars-anonymization-export-v1 (per case status, anonymized subject, messages with role, shifted timestamp and anonymized text, marking counts per category, valid sign-offs) or CSV (UTF-8 with BOM, ;, one row per message). Never in the export: original text, original values, date shift, senders, signatures. For type 11, GET …/results points to this export through note.
  • Tickets take more attachments (T-158): a ticket now accepts up to 50 attachments and an upload up to 10 files (previously 30/5), so that evidence screenshots in light and dark, desktop and mobile fit into one go. The body limit rises to 110 MiB in Flask (MAX_CONTENT_LENGTH) and in all nginx configurations; the 443 block of nginx.prod.conf was still at 10M and already failed for a single 10 MiB attachment.
  • Anonymization detects with an ensemble and finds spelling variants of names (T-158 wave 2, 2026-11-02): the offline engine (and the model part of hybrid) now detects with rules, Flair and two GLiNER models (naeyn/nobody-pii-de, urchade/gliner_multi_pii-v1 for organizations only, both Apache-2.0) as a union. On six GEMCo threads: 210 of 211 personal-data occurrences (previously 202), in 18 disturbed versions 625 of 633 (previously 591), 50 false alarms not counting dates/times, β‰ˆ 3.9 s per thread on CPU. GLiNER runs only in the NER process of the worker container (detector ensemble, one Redis call), models only from the local cache HF_HOME after a one-time preload; without the models it falls back to rules + Flair with the warning ENSEMBLE_UNAVAILABLE ("Detection without additional models"). The regexes for KVNR, SVN, IBAN and streets also match lower case. Detected names are also found in other spellings ("sven", "Sv-en", "S v e n", typos; frequent words such as "einer" excluded; 163 of 213 disturbed name occurrences without a wrong match) β€” in a case as a separate group linked to the name (linked_to) that gets the same replacement in its own form. Also applies to the /Anonymize tool. Measurement and CI regression are in the repo (scripts/anonymize/bench/, tests/fixtures/anonymization/ensemble_spans/).
  • Anonymize cases: consistent replacement values instead of placeholders, suggestions on click (T-158 wave 2): new config suggestion_mode (list by default, placeholder as fallback) and llm_suggestions (off by default). With list, every person in a case gets a deterministic substitute identity (HMAC seed per case, "Detect again" yields the same values): first name from the birth decade, last name per family, municipality of similar size with postcode, street, email @example.org, phone numbers only from the Federal Network Agency's drama numbers, KVNR, pension-insurance number and IBAN with a valid check digit on an unassigned bank code; organizations become numbered placeholders ([Krankenkasse 1]). No replacement contains an original. POST /api/scenarios/<sid>/anonymization/cases/<iid>/suggest returns new list suggestions or β€” only with llm_suggestions β€” suggestions from a language model for people, places and streets (at most three masked excerpts per group, never OpenAI, deterministic verification, otherwise list fallback); nothing is saved; 10 requests per person and minute. New replacement lists with licences in app/services/anonymize/data/README.md, rebuild with scripts/anonymize/build_de_data.py.
  • Anonymize cases: UI for suggestions and spellings (T-158 wave 2): the values panel has "New list suggestions" and, if allowed, "Suggestions from the language model" with a confirmation dialog ("Original values and short excerpts are sent to …"), suggestion chips per group with "Apply", "Apply all" and "Discard", and other spellings indented under "Spellings". Fuzzy matches are underlined with a dashed line in the thread; the popover shows "fuzzy match", "different spelling of …" and "Not the same person". A chip reports "Detection without additional models". The config editor has "Replacement values" (lists/placeholders) and the switch "Allow suggestions from the language model" with a data-protection notice. Guide guides/anonymization-scenario.en.md ("How detection works", "Replacement values and suggestions", "Operations").

πŸ” Changed

  • Dependencies for the anonymization ensemble (T-158 wave 2): transformers 4.46.3 β†’ 4.57.3 (requirements.txt and requirements-heavy.txt), new gliner==0.2.30, rapidfuzz==3.14.5 and wordfreq==3.1.1 (tests only rapidfuzz and wordfreq). The GLiNER models are not in the image: after the deploy preload them once (docker exec -u flaskuser -w /app llars_worker_service python -c "from services.anonymize.gliner_detection import preload; print(preload())", β‰ˆ 2.2 GB into HF_HOME) and measure memory (NER process β‰ˆ 8–9 GB of 12 GB). New variables ANONYMIZE_ENSEMBLE_ENABLED (code and development compose true, docker-compose.prod.yml and production template false β€” set it explicitly in /var/llars/.env on production), ANONYMIZE_GLINER_MODEL[_REVISION], ANONYMIZE_GLINER_ORG_MODEL[_REVISION], ANONYMIZE_SEED_SECRET, ANONYMIZE_SUGGEST_LLM_MODEL. Runbook entwickler/production-deployment.md "Preload GLiNER models".

πŸ› Fixed

  • OnCoCo: listing and creating analyses failed with a server error (500) because the routes passed the user object instead of the user id.
  • Rate limits for password reset and referral had been ineffective since their introduction: the binding limiter.limit()(view) discarded the returned wrapper; it now replaces the view function.
  • Conference manager: looking up a series by acronym (find_series_by_acronym) treated % and _ as wildcards and could match a different series.
  • Anonymization: no more plain-text leaks, chronological dates, German pseudonyms (T-158, 02.11.2026): a measurement on six real counselling threads found 30 of 211 personal-data occurrences verbatim in the output. The service now replaces every detected value everywhere (including genitive, bke- prefix and nickname forms), checks its own output for leaks (leaks and warnings in every response), reads dates day-first and writes them in their original format with a recomputed weekday (previously the chronology flipped), fully detects German phone, mail and www. patterns and knows the categories school grade (EDU) and health-insurance number (KVNR). Replacement names and places come from German lists (Wikidata, CC0, app/services/anonymize/data/). The health check performs a probe run and honestly reports a recommender that cannot load and an unknown privacy filter instead of "ready". Behaviour change in the "Anonymization" tool (/Anonymize): organizations are replaced by typed placeholders ([Schule], [Krankenkasse], [Organisation] …; public bodies such as Caritas or Jugendamt stay), times of day stay instead of β–“β–“:β–“β–“, ages keep their form ("15 Jahre" β†’ "16 Jahre"), and the default name origin is German instead of Swiss_DE. org_strategy='keep' restores the old ORG behaviour. Live with Flair: 76 of 77 values without leak (previously 58).
  • Anonymization: category placeholders no longer count as leaks (T-158): an organization "Schule" replaced by "[Schule]" blocked the sign-off because the replacement contained the original word; placeholders in square brackets are now exempt (Python and JS alike).

[1.47.0] - 2026-11-02

✨ Added

  • LLARS chat: replies keep running when you leave the page (T-154, 02.11.2026): the question is saved at once and appears in the chat list; the reply keeps being generated on the server in a room per conversation even if you switch pages, reload or open a second tab. Coming back selects the conversation, shows the text so far and streams the rest live (chatbot:resume with a Redis snapshot, chunks with conversation_id and offset). The sidebar marks running replies with a pulsing dot and β€œreplying …”; sending is locked in that conversation while a reply runs. If a reply breaks off, the visible part is kept as β€œinterrupted”; a failing title generation no longer discards the reply. Access: own conversations only, fail-closed. New in REST: replying per conversation, pending_reply in the detail.
  • LLARS chat: warning before sending when the files do not fit the model window (T-153, 02.11.2026): the composer shows a yellow note with a page estimate as soon as the attached and the already sent documents of the conversation exceed what the chosen model can read, and offers a button for the largest model that fits. /capabilities reports document_budget_chars per model (same calculation as when sending), the history carries pages/slides/text_chars. Sending stays possible.
  • LLARS chat: up to 10 files per message (T-152, 02.11.2026): the per-message limit rises from 5 to 10 files (MAX_FILES_PER_UPLOAD), the 20 per conversation stay; the notice for the eleventh file names the new values. Guide and API table updated.
  • Tool scripts/agenten/screenshot.mjs --upload SEL::F1,F2: puts files into a file input via Playwright so evidence screenshots show real uploads.

πŸ› Fixed

  • Real-time connection stayed dead after a reload (02.11.2026, found in the T-154 live test): after every full page load several modules opened the shared socket at the same time, the server rejected the second CONNECT and socket.io-client left the socket destroyed but β€œconnected” β€” presence, tickets and chat received no live events until the next reload. getSocket() now connects only when no attempt is running and reconnects after a rejection.
  • LLARS chat: files of one message share the model window fairly (T-153, 02.11.2026): previously the last attached file took almost the whole budget and the first one was reduced to page 1 with a 32k model. render_documents now distributes the space by water-filling: small files in full, large ones share the rest, cut at page boundaries; three reviews of 26/30/26 pages now get 20 pages each instead of 26/30/1. Older files of the conversation follow as before.
  • Evaluator progress in rating scenarios without a stored distribution mode shows the rated items again (T-136, 02.11.2026): scenarios created via the v1 API have neither distribution_mode nor distribution rows; the type default β€œround robin” made the overview count assessors without a manager role against an empty assignment (β€œ0 done / 0 pending” despite 17 rated items in scenario 1097), while the evaluation UI serves everyone all items and hub and list counted all. One per-assessor distribution rule (resolve_assessor_item_scope: manager, mode β€œall”, open parts, labeling, own assignment, no assignment β†’ all items) now governs overview, hub, list, authenticity and access; scenarios with explicit round robin and rows keep counting the assigned items. Stats schema version 4 β†’ 5 so old snapshots are recomputed; i18n key scenarioManager.distribution.round_robin.
  • Adding items later (/admin/add_threads_to_scenario) had failed with 500 for a long time due to a missing argument (check_scenario_ownership); the route also no longer distributes round robin without an explicit mode and without existing rows.
  • Chat attachments: tables nested inside Word table cells were silently lost when reading a document; they now follow the cell text in parentheses (FILEPROC_019).

[1.46.0] - 2026-10-26

πŸ› Fixed

  • Nightly deploy protected against the health check: deploy_bluegreen.sh now holds the lock file .deploy/llars.lock during deploy and switch, which the systemd health check (every 3 min) honours β€” on 26.10.2026 02:27 the health check restarted nginx while the deploy was recreating the container, and the nightly failed. The health check ignores locks older than 2 h. The nginx file mount was also considered stale on every deploy (awk quoting bug plus the timestamp in the header of active_upstream.conf), so nginx was recreated each time; now only when the colour changes.

✨ Features

  • Paper review (new evaluation type): read scientific papers as PDF and code them with a codebook questionnaire β€” for systematic reviews and surveys. The PDF is on the left, the questionnaire on the right with single choice, multiple choice, yes/no, number and free text; follow-up questions only appear when they apply. Saving is automatic, and on a phone there are the tabs Questions, Text and PDF.
  • Creating: dropping only PDFs into the scenario wizard creates a paper review with one paper per PDF; more papers are added by drag and drop in the data tab, and duplicates are detected. Templates β€œSLR: Screening” and β€œSLR: LLM methodology”; the codebook editor supports sections, options and conditions.
  • Evaluation: agreement per question in the Evaluation tab, the answers of all reviewers per paper in the detail view, export in long format (v1) and as a wide table with one column per question.
  • AI prefill per question: In the data tab the project lead starts a run by hand with a KIZ model (default: the largest context window). The model reads the paper text without the references and suggests an answer per question with page evidence and confidence. The server checks every quote against the text of the page. Reviewers only see the suggestions when the prefill is switched on, apply them deliberately and see up to which page the AI has read. New in the v1 API: POST/GET/DELETE /api/v1/scenarios/<id>/paper-review/prefill and POST …/prefill/run.

[1.45.0] - 2026-10-25

πŸ”’ Security

  • Frontend security updates: DOMPurify 3.4.17 and Vue 3.5.44 close reported vulnerabilities (including GHSA-g2v6-rqmx-r4w6). Markdown, chat and links look the same as before.

✨ Features

  • Conversation labeling: live splitting and merging: when someone splits or merges spans of a conversation, everyone who has it open sees the new spans immediately, without reloading. Whoever is rating exactly this conversation gets the notice β€œSpans changed”, also when one of their own ratings was removed in the process. After a lost connection or on returning to the tab, LLARS catches up on its own. Only the spans are sent, never ratings and never who re-cut them.
  • Result backup by script: scripts/agenten/study_backup.py backs up the results of all scenarios and studies of an instance via the API into a folder with a manifest and checksums (SHA256SUMS). The API key ends up in no file.

πŸ› Fixed

  • Conversation labeling: no rating on a removed span: a stale browser tab can no longer save a rating on a span that no longer exists. LLARS then reloads the conversation and says that the last rating was not saved. Two simultaneous re-cuts of the same conversation no longer overwrite each other.
  • Conversation labeling: nothing is lost when re-cutting: timings, co-pilot and AI logs of the removed spans are kept in the re-cut protocol (dropped_measurements in the export GET /api/v1/scenarios/<id>/span-events).

[1.44.0] - 2026-10-23

✨ Features

  • Conversation labeling: protocol for splitting and merging: LLARS records who split or merged spans and when, what the spans looked like before and after, and which votes of every rater were deleted in the process, with label, second choice, β€œunsure”, note, answers and times. Owners download the protocol via GET /api/v1/scenarios/<id>/span-events as JSON or CSV.

[1.43.0] - 2026-10-21

✨ Features

  • New version notice: open tabs show β€œA new LLARS version is available β€” please reload” after an update (never automatic, not in studies). (T-120)
  • Study: view data in the browser: study leads and admins can search, sort and filter a collection's datasets as a table, with key figures, charts and one page per participation. The history shows the duration per device and can be downloaded as CSV; the consent page states the expected duration.

πŸ› Fixed

  • Qwen models in LLARS Chat answer again instead of failing with an error.
  • Chat rendering: code blocks without stripes; formula variables like xₐ render as formulas. (T-124, T-125)
  • Quotes highlighted in the original: clicking a citation opens the PDF on the right page with the passage highlighted in yellow. (T-126)
  • Conversation labeling: after the last section every section can be clicked and changed again; if sections are missing, a reload hint appears instead of β€œall rated”. (T-120)

[1.42.0] - 2026-10-20

πŸ”’ Security

  • Live channels secured: nobody receives other people's prompts, analyses with counselling texts, verdicts of LLM evaluators and judges, pipeline or anonymisation runs, crawls or chatbot wizards over the live connection any more. Prompts can only be co-edited by their owner and people they are shared with.

✨ Features

  • Choose the embedding model: with one configuration line (LLARS_EMBEDDING_MODEL) new knowledge collections embed with a different model, e.g. Qwen3-VL-Embedding; existing collections stay unchanged.

[1.41.0] - 2026-10-20

πŸ”’ Security

  • Study blinding completed: raters no longer see statistics about other people β€” neither others' progress nor label distributions or agreement values, not even live. They still see their own progress. Researchers can no longer retrieve the statistics of other people's studies.
  • The scenario list, scenario detail and the live ranking statistics no longer show raters other people's progress either; only admins and a scenario's managers see the live ranking statistics.

πŸ› Fixed

  • Progress in conversation labeling with parts: the hub and invitations now count conversations instead of individual spans (previously e.g. "21/2").

[1.40.0] - 2026-10-19

πŸ”’ Security

  • Better study protection: raters can no longer see a scenario's parts, the covert control groups, other raters' labels or conversations of locked phases through any programmatic access.

⚑ Performance

  • Labeling without waiting: classic labeling now also shows the next or previous case instantly on β€œNext”/β€œBack”; the case list of conversation labeling loads much faster.
  • Less background load: hidden tabs no longer poll every 10 seconds; switching tabs and filters (tickets, scenarios, conferences, settings …) no longer rebuilds the page.

πŸ› Fixed

  • In conversation labeling, overview and statistics count a conversation as finished only once all spans are rated.
  • Rating, ranking, comparison and authenticity show the loading animation instead of briefly β€œNo … available” while loading.

[1.39.0] - 2026-10-18

⚑ Performance

  • Conversation labeling without waiting: β€œNext” and β€œBack” show the next or previous conversation instantly, because LLARS keeps the previous and the next two conversations ready in the background (browser memory only). If something still has to load, both columns show the loading animation instead of briefly β€œEvery span in this conversation has been rated.”

[1.38.0] - 2026-10-16

πŸ› Fixed

  • More resilience: problems in the knowledge base no longer take LLARS down. The chat briefly answers without document sources and uses them again automatically once the database responds. Background jobs can no longer cause an outage loop.
  • The study names the ethics vote without a date.

[1.37.0] - 2026-10-16

✨ Added

  • Complete publication lists: Ask the LLARS chat which papers a person has published, and it now sees their whole list and names every entry β€” or says honestly that it only sees part of it.
  • German questions find English papers: The LLARS chat also searches with an English version of your question, so it finds papers without a shared word (such as "Backwaren" and "baked goods").

πŸ” Changed

  • Paper profiles contain the full abstract; publication lists are also found for English questions.
  • When the bot cites several sources in one bracket, such as [1, 3] or [1–3], each number becomes a clickable footnote.
  • The study's consent and imprint pages name the positive ethics vote (GEHBa-202609-V-556).

[1.36.0] - 2026-10-15

✨ Added

  • AI suggestions from several models in conversation labeling (type 9): suggestions are imported per span (POST /api/v1/scenarios/<id>/ai-suggestions with a required span_id, checked against the span index and, for label trees, the speaker role), delivered per conversation in one call (spans: {span_id: {shown, suggestions}}), logged per span (labeling_ai_suggestion_logs, cleaned up on split/merge) and exported (ai_* columns; ai_suggestion_metrics counts spans for type 9). The interface shows a bar with up to four models for the active span (label, second choice, answers, rationale) and model marks on the label buttons; β€œApply” sets the whole suggestion, saves at once and follows auto-advance; on a phone the bar starts collapsed as one line above the grid. GEMCo import script in vrm-corpus/analysis/vrm_gemco_ai_import.py.
  • Define parts in a running scenario: PUT /api/v1/scenarios/<id>/parts (owner/admin, scenario:write) writes only the parts section (all mirrors), validates the partition (every item exactly once) and leaves all other settings untouched; 409 when parts already exist.

πŸ” Changed

  • Leaner AI suggestion bar on phones (T-95): the β€œAuto-advance” switch sits small in the header between β€œAI suggestions” and β€œHide”, and β€œApply” is as slim as β€œNext” at the right of each model's first line. With four models the bar is 450 px instead of 719 px tall on a 390 px phone; tap targets stay 44 px. Applies to labeling and conversation labeling; desktop is unchanged.
  • LLARS prompt sharpened after a model comparison: summaries without further instructions about 300–600 words with an offer to go deeper (no length cap otherwise), every number and key statement from a file cited with its location, no invented figure values, document content not mixed with LLARS/KIZ knowledge, formulas never in backticks, no horizontal rules, abbreviations only from context. Measured on five KIZ papers (Mistral Medium): twice as many page references, no unfindable quotes, summaries 1,322 β†’ 868 words and 171 β†’ 58 s.
  • LLARS chat finds KIZ publications: the LLARS bot now combines semantic and full-text search (FTS5/BM25), weights names and acronyms such as GEMCo, CAIA or OnCoCo higher and puts at most two passages per document into the context; the full-text index syncs itself with the database. Measured on 44 paper-bound questions: right paper among the 8 sources 0 β†’ 32–33 of 44, LLARS documentation questions 11 β†’ 13 of 16. Per-chatbot switch rag_hybrid_search (default off, on for LLARS), publications collection weight 1.5; measurement script scripts/rag/eval_retrieval.py.

[1.35.0] - 2026-10-15

✨ Added

  • LLARS as the KIZ AI assistant: LLARS helps with research, writing and questions about the platform and links you straight to the right place: "Where can I evaluate?" leads to Evaluation and offers your scenarios. Only pages and scenarios you may open are linked.
  • Web search: With the "Web search" toggle LLARS searches the web for the next message and backs statements with [W1], [W2] …; only a short query from your question leaves LLARS, never files.
  • KIZ papers: LLARS knows the publications of the KIZ and answers questions about content, method, results, authors and year with citations.
  • Clickable references: Clicking a reference such as "(paper.pdf, p. 5)" opens the document on the right at that spot with the quoted passage highlighted; for PDFs the "Original" tab shows the file on the right page. (T-91)
  • Formulas: LLARS now writes formulas as formulas, and the chat typesets them inline and as display equations. (T-92)
  • Continue writing: If an answer still hits the model's limit, "Continue writing" picks it up. (T-89)
  • Qwen3.8 Flash is listed in the model picker; until the KIZ enables it for LLARS, a clear message appears.

πŸ” Changed

  • Sources only when cited: An answer lists only the sources it cites; foreign links appear as text.
  • Long answers: LLARS no longer has a length limit, so long reviews run to the end. (T-89, T-93)
  • Chat opens directly: The chat starts with a new conversation instead of the selection page. (T-87)

πŸ› Fixed

  • Deleting documents: Uploaded documents in RAG collections can be deleted again.
  • One click is enough: A chat in the history opens with the first click.
  • Tables and dividers: Tables have borders and a header row (T-88); repeated dividers appear only once (T-90).

[1.34.0] - 2026-10-15

✨ Added

  • LLARS chat with files, page references and model choice: The empty chat now shows the LLARS polar bear in the middle. PDFs, Word, Excel and PowerPoint files and images can be picked with "+", dragged into the chat or pasted with ⌘V / Ctrl+V. LLARS now also works as a scientific assistant: answers about your files name the location, e.g. "(paper.pdf, p. 3)", follow-up questions still know the document, and the model reads images too. Next to the new send button you choose the model like in ChatGPT; the default is Mistral Medium 3.5 (128B). (T-76)

[1.33.0] - 2026-10-14

✨ Added

  • Metrics per rater pair: Clicking a pair in the agreement table shows Krippendorff's Ξ±, Cohen's ΞΊ, Scott's Ο€, accuracy and, for ordered scales, Spearman's ρ of exactly that pair, each tile explained on hover. (T-75)

πŸ” Changed

  • AI suggestions in labeling: All labels now follow right below the suggestions, with the initials of the models, then the second choice and the three questions, collapsed. "Apply" also takes over the model's second choice. With the "Auto-advance" switch, "Apply" goes straight to the next case. Mistral 128B joins as a fourth model. (T-74)

πŸ› Fixed

  • Rating on a phone: On a smartphone the rating page for rating scenarios scrolls all the way again. Case description, conversation, all dimensions, overall score and feedback are stacked; a long case description opens with "Show more", and a hint at the bottom brings open dimensions into view. (T-61)
  • "Capture page" shows the scrolled position: Areas with their own scroll bar, such as the conversation while you evaluate, now appear in a ticket's picture exactly as you see them. (T-62)

[1.32.0] - 2026-10-14

✨ Added

  • AI suggestions in labeling: In enabled study parts, annotators see suggestions from several AI models above the decision questions, each with label, second choice, answers to the three questions and the rationale on hover. "Apply" sets the answers and the label; the AI's second choice is never applied, nothing is pre-selected, and viewing saves nothing. Small badges on the label buttons show which models picked that label. The results export records which suggestions were visible and whether the choice agrees with them.

[1.31.0] - 2026-10-12

✨ Added

  • Client spans like the counselor spans: When deriving a scenario, client messages can now be cut with the neural segmenter SaT-12l-sm, the one that produced the counselor spans. It does not split after "z.B." or list numbers and finds sentence boundaries even without a full stop. (T-37)

πŸ” Changed

  • Conversation labeling on phones: The "To label" box with the span text is gone from the phone view. The labels start right under the conversation, so more label buttons fit on the screen without scrolling. The "Span x of y" counter sits small in the row with "Unsure" and "More", and the current span stays framed in blue in the conversation. Nothing changes on desktop and tablets. (T-50)

πŸ› Fixed

  • Scenario settings: every owner is recognised. If a scenario has several owners, each of them sees the full team list and can save the period and the other settings. Until now only the first owner on record was recognised; the others saw an empty team list and could not save. (T-60)
  • Team box: search field and role select side by side. The "Add collaborator" search field is wide enough for its text again, and the role select sits next to it instead of on top of it. (T-60)
  • Scenario Manager: cards of equal height. All cards in a row now have the same height, in "My scenarios" as well as in "Invitations". Type and status sit in their own line right under the name and no longer wrap; long type names are shortened with "…" and show the full name on hover. Date and thread count line up at the bottom of every card. (T-46)

[1.30.0] - 2026-10-07

✨ Added

  • Compare annotations: Labeling scenarios get a new annotations page: a span Γ— annotator matrix with agreement colours and an "Only deviations" filter, a conversation view with every annotator's label, second choice, note and history, and paging through conversations. The data tab shows how many spans per conversation agree. (T-18)
  • Labeling with a label tree (OnCoCo): In scenarios with hierarchical labels you click through level by level to the finest label, see only the labels of your speaker role, stop on an intermediate level with "Übernehmen" (apply), search the second choice in a search field and look things up in the "Labelbaum" overview; the OnCoCo info page shows the same tree. For research: an existing conversation-labeling scenario can be derived into an OnCoCo scenario via the API. (T-37)
  • Voice notes are now transcribed on the LLARS server itself. The text usually appears on the attachment within a few minutes, older notes without text are caught up, and the support team can retry failed ones. (T-23)
  • Browse attachments: In a ticket's large image view you browse through all of the ticket's images with the arrow buttons next to the image, the arrow keys or, on a phone, by swiping. A counter shows the position, and on the last image the arrow is off. (T-38)
  • AI title: Below every ticket's title, a second title in a smaller grey font with an AI mark now sums up the concern; the LLARS AI writes it from the description, voice note, comments and attachments. It appears on its own, is renewed when you add something, and existing tickets get one too. (T-39)
  • Display name: You can now choose a display name. It appears in the top right, in the profile dialog and in lists, can be changed once every 3 days, and your login name stays the same. (T-21)
  • Full profile: From the profile dialog in the top right, "Open full profile" takes you straight to the full profile page. (T-20)
  • Timeline in fullscreen: The conference timeline can be shown in fullscreen; βœ• or Escape closes it. (T-29)

πŸ” Changed

  • Slimmer app bar on phones: The green bar at the top is 48 instead of 64 pixels high on smartphones; all buttons stay, and the pages below gain space. (T-32)
  • Conference Manager on phones: The tabs sit in the header, the control bar fits into one row and the legend is folded behind β“˜, so far more of the timeline is visible. (T-29)

πŸ› Fixed

  • Rating progress: Rating studies created with the scenario wizard now count fully rated cases as completed; the evaluation hub shows the real progress without re-rating and says "loading progress" instead of "pending 0/N". (T-19)
  • Krippendorff's alpha for conversation labeling is computed per span instead of per conversation; the overview and evaluation tab additionally show Fleiss' kappa, alpha over fully rated spans, percent agreement and the number of spans and raters included. (T-22)
  • Conversation labeling on phones: the conversation at full width with the labels of the tapped span docked below; rarely used tools under "More", merging via a marking mode, explanation via ?. (T-23)
  • "Task" bar on phones is a thin strip again. (T-25)
  • Create ticket on phones: full screen, without explanatory texts, without the keyboard opening by itself; file, "Capture page" and voice note share one button row. (T-26)
  • Voice notes on the iPhone can be played back in the dialog. (T-24)
  • "Capture page" captures exactly the visible part of the page; the footer no longer moves up in the image. (T-31)
  • Case list, evaluation hub and scenario workspace on phones: no more sideways scrolling, compact headers, filters in one row, tabs without overlap, key figures in one row. (T-27, T-28, T-30)
  • Demo video on the iPhone: The player stays visible and tappable, phones play a separate smaller video version, and the page is tidied up on mobile. (T-33)

πŸ”’ Security

  • Blinding in labeling: Pure raters can no longer retrieve other raters' labels. (T-18)

[1.29.0] - 2026-10-04

✨ Added

  • Tickets close themselves after two weeks: A resolved ticket stays "Done" for 14 days; during that time you can keep writing or reopen it. If nobody writes again, the system sets the new status "Closed" automatically; after that the ticket is closed for its creator. The detail view shows the date, the board lists closed tickets in the list and card views but not in the Kanban.
  • Test runs out of the ticket board: Rejected tickets from smoke and E2E runs are hidden from the admin board and its counters by default; the "Show test runs" switch brings them back. Test runs no longer count as unseen changes and trigger no notification. (T-12)
  • My tickets within reach: The home page shows a "My tickets" tile for every role with ticket access, and the "Create ticket" dialog links to it at the bottom left. (T-9, T-11)
  • Edit images in the ticket dialog: Clicking an attached image opens it full screen, where it can be cropped, pixelated and marked with pen, rectangle, arrow and text, with undo, redo and reset. "Save" puts the result into the attachment (tag "edited"); only "Send ticket" sends it, and all editing happens in the browser. (T-8)
  • Browse tickets in the detail view: A fixed bar at the bottom of the ticket detail view offers "Previous" and "Next" in the order of the list you came from, with the position "Ticket 3 of 11"; the arrow keys do the same. (T-13)

πŸ› Fixed

  • Voice notes play again: Voice notes in the "Create ticket" dialog and audio attachments in the ticket view play on production again (the security policy did not allow local audio data). The player shows the recorded length and offers total time and seek bar for WebM recordings too. (T-7)
  • Page capture without hints: Tooltips and success notifications no longer end up in the captured page image. (T-10)
  • Reason shown once in the history: The reason for a status change now appears only once in the ticket history, directly below the change, including on existing tickets. (T-14)

[1.28.1] - 2026-10-02

πŸ› Fixed

  • Deleting own chats: Regular users got 403 because the route required feature:chatbots:edit; feature:chatbots:view is enough now, ownership is still enforced.

[1.28.0] - 2026-10-02

✨ Added

  • Login applies to all tabs: A new tab takes over the session of a logged-in tab, token refreshes are shared, and logging out in one tab logs out all tabs.

πŸ› Fixed

  • LLARS chatbot knew little about LLARS: Failed documentation pages in the index (mount-point stubs deleted by the deploy) now self-heal, internal/legacy pages are excluded from the chatbot collection, user guides are preferred, the system prompt knows all 8 evaluation types and links only existing guides; new guide β€œWhat is LLARS?”.

[1.27.0] - 2026-10-02

✨ Added

  • Conference Manager v2 β€” new timeline: one row per edition with submission deadline β†’ author notification β†’ conference period, joined by a band that lights up on hover; freely scrollable into the past, zoom 3/6/12 months, a working Today button. Estimated time windows for dates not yet confirmed (transparent rectangles, an β€œestimated” pill, derived from previous years with low/medium/high confidence); an exact date replaces the window. AI refresh on click only, for the whole group or a single conference: web search, conference pages and an LLM reconciliation with existing data (confirmed values are overwritten only with a source, estimates fill only windows, nothing is ever deleted), live progress via Socket.IO, cancel and resume, and a change list with source and evidence; ARR cycles are recognised and missing ones created. v1 API /api/v1/conference-manager/* with the scopes conference:read/conference:write and group checks. Paper links to arXiv and DOI with icons of their own, the CORE pill links to the CORE portal, the location to Google Maps. Smoke round trip scripts/ci/smoke_test_conferences.sh (SMOKE_CONFERENCES, no AI run), guides β€œConference Manager” and β€œv1 Conference API”.

πŸ”’ Security

  • Conference Manager: Internal routes now enforce the research group (foreign groups answer 404), cross-references only within the same group, the owner role can only be granted by an owner or admin. AI refresh verifies evidence against prompt injection (only pages actually read, quote must appear verbatim), SSRF-safe page fetch in the wizard, crawler fetch capped at 3 MB.

[1.26.0] - 2026-10-02

✨ Added

  • Labeling revisions and active span time: append-only decision events for first choice, label change, delete, second choice and span re-segmentation; visible tab time per span in addition to the total time; v1 export gains first_label, n_label_changes, label_path, active_time_on_item_ms and revision_metrics; raw events via GET /api/v1/scenarios/<id>/labeling-events.
  • Support tickets β€” every signed-in user can report a bug, a wish, a question or praise from any page: a "Create ticket" button in the app bar (left of the name, βŒ˜β‡§F / Ctrl+Shift+F), a dialog with category, urgency, attachments (file, paste, drag and drop, "Capture page" via html-to-image) and a voice note of up to 2 min (optional transcription via TICKET_TRANSCRIPTION_MODEL); route, version, viewport, language and theme are sent along automatically. "My tickets" (/tickets, badge = replies needed) and a ticket detail (/tickets/T-12) with timeline, comments with attachments, confirming or reopening a completed ticket. Admin tile "Support Tickets" β†’ board /admin/tickets with list, kanban and card views, filters, assignment (exactly one person) and "decision needed". API /api/tickets (session or system API key; calls with the key show up in the timeline as an AI agent), live updates via Socket.IO (tickets:*), attachments stored as LONGBLOB with magic-byte checks, identifier T-<id>, deliberately no way to delete. Permissions feature:tickets:view (all roles except demo_expired) and feature:tickets:manage (admin). Skill /tickets with the CLI scripts/agenten/tickets.py and the screenshot tool scripts/agenten/screenshot.mjs for before/after evidence, smoke round trip scripts/ci/smoke_test_tickets.sh (SMOKE_TICKETS), guide "Support Tickets". TICKET_SVC_*, TICKET_API_*, TICKET_LIB_*, TICKET_CLI_001–032.

πŸ› Fixed

  • Conversation labeling: later messages disappeared again β€” with no_future_messages the visible range depended only on the focused span; a fully labelled case opened at the first span and hid the rest. Visibility now follows the furthest decided span.
  • Demo video on /video vanished after every deploy (404) β€” the cause was not nginx but the cleanup in deploy_bluegreen.sh: git clean -fd (without -x) deletes everything untracked that is not ignored, and the video was mounted from ./static/videos inside the /var/llars checkout, which was not ignored. Because the script rewrites the tracked active_upstream.conf on every deploy, the cleanup ran practically every time (on prod: directory empty, stamped with the nightly deploy). The mount is now an absolute host path outside the checkout, ${LLARS_STATIC_DIR:-/var/llars-static}/videos, staging included; location /videos/ is now also in nginx.prod-no-ssl.conf. /static/ in .gitignore and git clean -e static/ in deploy_bluegreen.sh/rollback_production.sh protect the old path. On a load error, or after 8 s without metadata, /video shows a notice with a prominent YouTube button and "Try again" instead of an endless skeleton. The new smoke check smoke_test_demo_video.sh (range request, expects 200/206 and video/mp4) reports a missing file as a warning with the target path and does not trigger a rollback; SMOKE_STRICT_VIDEO=1 makes it hard. Runbook "Providing the Demo Video". VIDEO_001–010. Ops: the file has to be placed in /var/llars-static/videos/ once (prod and kia-dev).

[1.25.0] - 2026-09-29

✨ Added

  • Human-LLM study (study module) β€” the complete flow of a psychological human-LLM study inside LLARS: anonymous participation through invite links (/s/<slug>) without a LLARS account β€” participants are pseudonymous rows in study_participants, every call carries a one-time run key (stored only as SHA-256, @study_run_required); information sheet, consent (verbatim from the ethics application, the version is stored), privacy notice and imprint; questionnaires (incl. IAL-K), a chat with a bot persona and rankings (model fixed to mistralai/Mistral-Medium-3.5-128B via the KIZ proxy), withdrawal. Admin side (admin:permissions:manage): collections per stage (clicktest / pretest / collection, archivable), invite links with optional max_uses (reserved atomically), a monitor with health status and alert mails, export (CSV/JSON with reading notes in the manifest). 18 new study_* tables via an idempotent startup migration (no changes to existing tables), two new worker processes (study-bot, study-health). Per-IP start limit via STUDY_START_LIMIT_PER_HOUR (default 60).
  • Time-boxed accounts β€” new column users.access_expires_at (naive UTC, NULL = no expiry). From that moment on every auth path rejects the account with 403 ACCOUNT_EXPIRED (auth.decorators._check_user_account_state for all decorators and the socket handshake, plus PermissionService.check_permission); roles are kept, a later date restores access. Set via POST/PATCH /api/admin/users ("access_expires_at": "2027-07-01"). A safety net for external admins in case nobody remembers to delete the account. EXPIRY_001–021, ROUTE_USERS_EXPIRY_001–008.
  • Conversation labeling: label first, codebook on the label button β€” labels sit on top, the principles cross-check below (collapsed by default, state remembered per browser); every label button shows the codebook rule with anchor examples; the second choice is always shown (inactive until a first choice exists); the target span gets a short fade-in when it changes (not with prefers-reduced-motion).

πŸ”’ Security

  • Clicktest link for study admins only β€” /s/klicktest is created automatically at startup without max_uses, and a clicktest participation unlocks the test shortcuts (bot stub, forced branch, delay_ms of up to 60 s that holds a greenlet and a DB connection). Anonymous, that was a lever on the DB pool and the model budget. POST /api/study/run/start now requires a valid admin token for clicktest links (the admin tile sends it through the global axios interceptor) or the System API key; everyone else gets the same 404 as for an invalid link. Pretest and collection links stay anonymous. ROUTE_STUDY_GATE_001–007.

πŸ› Fixed

  • No more hourly logout β€” login requests offline_access and walks Authentik's authorization flow including the consent stage (with the X-authentik-CSRF header), so a refresh token is issued. ⚠️ Existing sessions have none β€” log in once more after the deploy. AUTHZ-001–008.

  • Labeling: partial answers count as "in progress" β€” With question-first labeling a row in item_labeling_evaluations can hold answers, a second choice or a comment but no label yet. It used to show as "pending" everywhere. There is now one three-way rule in one place (labeling_types.labeling_row_status: label or "unsure" = done, otherwise any input = in_progress, otherwise pending) shared by the session status, single-item status, progression, scenario stats, span progress (type 9) and the manager's item list. The save endpoint returns that status instead of the old completed. Partial rows are not votes: export and IRR skip them, and per-case timing plus the co-pilot log are written on the first complete label, not the first click. LABEL_STATUS_001–026.

  • Labeling persists every selection immediately β€” each answered question, lean slider, second choice, direct label, "unsure" and the comment is saved on click (POST with category_id: null + answers_json while no label can be derived yet). The item shows as "In progress" until the label is complete (item list, session footer and the status tag in the labeling panel, including a "Saving…" indicator); in-flight saves are awaited before navigating (next/previous, session navigation included) and on leaving the interface. Previously a rater who answered two of three questions and clicked on lost that work (prod scenario 758). A label is still never pre-selected.

[1.24.0] - 2026-09-15

✨ Added

  • Question-first labeling (labeling types 7/9): A labeling scenario can put decision questions in front of the label (questions in the labeling config: items with two answer options each, mapping answer key β†’ label, optional sliders as supplementary "rather A … rather B" info, direct_selection). Annotators answer the questions at the top with buttons, the label is derived from the answer key and never pre-selected; the direct choice stays available in an expandable section and sets the answers backwards via the mapping. Answers are stored in item_labeling_evaluations.answers_json (new column, startup migration migrate_labeling_second_choice_answers.py), in the session prefill and as export column answers_json. Model: the VRM cheat sheet (Stiles 1992) – topic / presumption / frame of reference, each S/G. LabelingInterface.vue, DecisionQuestionsConfig, LABEL_009–013.
  • Second choice ("rank 2") in labeling: second_choice: true shows chips for a second label after the first choice – not a multi-label, the study label stays category_id; the second choice is stored in second_choice_id and exported as column second_choice. "Both defensible" cases are no longer thrown away. LABEL_011, LABEL_SVC_026.
  • Co-pilot answers the decision questions first: If the scenario has questions, the format block of every suggestion requires answers (one option per question) first and then the explicit label_id; the parser carries answers, derived_label_id (from the mapping) and consistent through, the explicit label stays authoritative. Changes to the questions bump prompt_version like top_k. The answers appear in the suggestion panel. _validate_copilot_answers, COPILOT_Q_001–006.
  • v1 API PUT /api/v1/scenarios/{id}/labeling-config: toggles questions and second_choice headlessly via API key (owner/admin, scenario:write) – the generic scenario PUT is session-only and the v1 PATCH refuses eval_config, so study scripts had no path to these settings. Validated against DecisionQuestionsConfig, mapping targets must be label ids, the config.config mirror stays in sync. LABEL_SET_001–007.

πŸ› Fixed

  • Labeling feedback was lost when moving on: The comment was saved with an 800 ms delay; navigating to the next item cleared the timer and emptied the field before the POST. A pending comment is now saved before goNext/goPrev, on leaving the field and on unmount, and a failed save shows a snackbar instead of only console.error. LABEL_012.

[1.23.0] - 2026-08-23

πŸ” Changed

  • Sign-in links from emails are now multi-use β€” The passwordless sign-in link in the post-QR-scan welcome mail and in the returning-participant mail (/auto-login/<token>) used to be single-use: it died on the first click, so anyone reopening the email later was locked out. The link now works as often as you like within its validity window β€” participants scan the QR code once, get the email, and sign in with it again and again for up to 7 days. The bounds are unchanged: a strict 168-hour TTL, only the SHA-256 hash is stored in the database, and a newly sent sign-in link retires the previous one. The mail copy (DE/EN) now says so too ("valid for 7 days and reusable as often as you like") instead of "single-use".
  • Friendly page for an expired sign-in link β€” Opening an expired link no longer lands on "Sign-in failed" but on "This sign-in link has expired", with an explanation (sign-in links are valid for 7 days for security reasons) and a clear next step: via "Forgot password" (the button leads straight to /forgot-password) participants can set a password of their own at any time β€” entering their email address is enough. "Go to login" remains as the secondary action. Bilingual (DE/EN).

πŸ”’ Security

  • purpose column separates reset links from sign-in links β€” Both kinds of link used to sit indistinguishably in the same password_reset_tokens table. That allowed a sign-in token to be posted to /auth/password-reset/reset and change the account password β€” a privilege a sign-in link was never meant to carry, least of all now that it is a reusable 7-day link. The new purpose column ('reset' | 'magic') closes this in both directions: /auth/password-reset/reset accepts 'reset' only (NULL/legacy rows count as 'reset'), /auth/magic-login accepts 'magic' only. The two flows also stop invalidating each other: a fresh sign-in link no longer kills a pending password-reset link, and vice versa (this included the 2-minute anti-mail-flooding cooldown, which would otherwise have swallowed the reset mail requested right after a QR scan). The migration migrate_add_password_reset_purpose.py runs idempotently at server startup β€” no manual SQL.

[1.22.0] - 2026-08-21

✨ Added

  • New license: PolyForm Noncommercial 1.0.0 with a citation clause β€” LLARS moves from "MIT/open source" to the PolyForm Noncommercial License 1.0.0 with additional terms: free for research, teaching and any other noncommercial use (universities, government bodies and charitable organizations explicitly included, regardless of funding source), while commercial use requires a separate license (contact: steigerwaldph@ki-zentrum.bayern). New is the condition that academic work using LLARS β€” or data produced with it β€” must cite the LLARS paper: the citation is a condition of the license grant, not a request. A new LICENSE file sits in the repository root (verbatim PolyForm text plus Required Notice: lines and Additional Terms); README.md and CITATION.cff were updated accordingly. Versions published before this switch shipped without a license file and remain governed by the terms under which they were obtained.
  • In-app citation hint β€” Both footers (app footer and landing-page footer) now carry a discreet "Cite LLARS" link that opens a small dialog: the ask, the full BibTeX entry in a monospace box, and a copy button (with a "Copied!" confirmation). One reusable component (LCitationDialog.vue) serves both places; the BibTeX block is deliberately a code literal rather than a locale string so translations cannot break the LaTeX escaping (\&). All surrounding text is bilingual (DE/EN). The landing footer additionally states the license model in one sentence and links to LICENSE.
  • citation block in JSON exports β€” Every JSON export (v1 API GET /api/v1/scenarios/<id>/results and the GUI export GET /api/scenarios/<id>/export) now carries a citation block in its envelope with message, paper (short reference including the arXiv ID) and bibtex_url (pointing at CITATION.cff). Anyone who only ever receives the export file still has the citation at hand. Deliberately not in CSV/JSONL: a comment or preamble line would break strict parsers (pandas.read_csv, R read.csv, line-by-line JSONL readers). The literal lives in exactly one place (results_export_service.CITATION_BLOCK / citation_block()) and is imported by both routes β€” guarding the same regression class that dropped timing_metrics from the v1 envelope in 1.21.0. (Tests EXPORT_CITE_001–006.)
  • "Citing LLARS" docs page (guides/citing-llars.md, DE + EN) β€” why and how to cite (BibTeX, plain text, CITATION.cff + cffconvert), where the citation surfaces in the product, plus a license section breaking down research / non-profit / academic / commercial use. Notes that the reference currently points at the arXiv preprint and will be switched to the IJCAI-ECAI 2026 proceedings version once it appears.

πŸ” Changed

  • App copy: "open source" β†’ "source-available / free for research" β€” Everywhere LLARS described its own license or nature, the wording now matches the new model: landing hero badge and subtitle, tech and research sections (including "MIT license β€” permanently free" β†’ "PolyForm Noncommercial 1.0.0 β€” permanently free for research and teaching, commercial use on request"), landing navigation, docs hero tag, and Β§β€―5 of the Terms of Use (now "Source-available & license", including the citation requirement and the pointer to a separate commercial license). Also updated: the static SEO metadata and the JSON-LD SoftwareApplication in index.html, whose license pointed at opensource.org/licenses/MIT and was simply wrong. Left untouched: mentions of open-source third-party software (Matomo, Authentik in the privacy policy), third-party model licenses (OnCoCo, CCβ€―BY-SAβ€―4.0), and the paper reference "TextGrad … (MIT, 2024)", where "MIT" means the university. The landing anchor #open-source is kept so existing deep links keep working.

πŸ› Fixed

  • CITATION.cff declared two licenses β€” The file contained a duplicate license: key; on YAML parse the second (MIT) overrode the first (PolyForm-Noncommercial-1.0.0), so GitHub and cffconvert would still have reported MIT. Duplicate removed.

πŸ—‘οΈ Removed

  • DB price agent removed entirely β€” The admin-only alpha tile "DB Preisagent" and its dashboard (/db-agent) are gone without replacement. The tool had nothing to do with what LLARS is for: it scraped the bahn.de fare search for one single hardcoded route (Dortmund Hbf ↔ NΓΌrnberg Hbf, BahnCard 25, second class), collected journey prices in its own background scheduler and had an LLM derive travel recommendations from them. The scanner had been running into nothing for months β€” the public bahn.de endpoint answered 403 Forbidden, which is why the scheduler thread was already switched off via DB_AGENT_SCHEDULER_ENABLED=false. Removed: the tile with its route and the feature:db_agent:view permission, all /api/db-agent/* endpoints (status, scan, scheduler control, statistics, deals, calendar, price history, volatility, weekday/timing analysis, LLM analysis, trip search), the scanner/analyzer/scheduler service including its startup thread in main.py, the three tables db_price_scans, db_price_entries and db_trip_searches, the four icons used only here (train, train-outbound, train-return, deal) along with their hover animations, plus 97 i18n keys in DE and EN. Existing databases are cleaned up by migrations/20260821_remove_db_agent.sql (tables child-before-parent, then the permission including its role/user assignments).

[1.21.0] - 2026-08-21

✨ Added

  • Merging spans (conversation labeling) β€” The counterpart to splitting, under the same rules: allowed only for directly adjacent spans of the same message with nothing but whitespace between them (any text in between would otherwise slip into a judged unit unnoticed). The new id is derived, and undoing a split is the common case β€” x+a + x+b gives back plain x, so a study carries exactly the ids it started with. Both votes are deleted for every rater, along with the co-pilot log row and timing: two decisions about two units are not one decision about their union. Spans are marked with ctrl/cmd-click (dashed outline, counter on the button); "Merge spans" stays greyed out until the marking forms an unbroken run within one message. Only whitespace may sit between them β€” in a real segmentation sentence spans are one space apart, so demanding exact contiguity would have left the button dead in every genuine conversation. When two neighbours carry the same label, a prompt pre-marks them β€” deliberately marking only and not merging automatically: the segmentation is shared by every rater, so changing it based on one person's labels would shift the units under everyone else and delete their votes. Two dedicated LLARS icons (span-split, span-merge) in the icon registry; both tools sit quietly at the bottom of the panel above the note field. (span_progress_service.merge_spans, POST /api/evaluation/session/<sid>/items/<iid>/spans/merge; tests SPANMERGE_001–008, CONVLAB_028–030.) See Conversation Labeling.
  • New scenario type: conversation labeling (function_type_id = 9) β€” Labels sense units ("spans") inside a conversation rather than the message as a whole. One item is a whole thread and holds many decisions (~92 in the VRM study); the unit of analysis is therefore the span, not the item. That runs through everything: Krippendorff's alpha is computed over span cells, time on task is measured per span, and a conversation only counts as done once every span is decided ("40 of 92" is a normal middle state that classic labeling does not have). The segmentation arrives finished from the import and is frozen β€” if everyone segmented for themselves, the rows of the rater matrix would no longer be the same units and an agreement coefficient across them would not be interpretable. Interface: the conversation on the left as speech bubbles, unfolding turn by turn (later messages stay hidden β€” raters should not know how it ends), auto-advance on by default (at ~92 decisions, clicking back into the text is otherwise the single largest cost), keyboard 1–9/Enter/Backspace, auto-save on every selection. The co-pilot works span by span, is never pre-selected, and uses a server-side hidden control subset with identical visibility for human and model. Exports carry span_id/message_id/span_index (at the end of the column list so position-indexed analyses keep working). New span_id column on item_labeling_evaluations, labeling_copilot_logs and evaluation_item_timings, with an idempotent startup migration. (ConversationLabelingInterface.vue, span_progress_service.py, labeling_types.py; tests CONVLAB_001–027, APIV1_RES_014–019, TIMING_020.)
  • Splitting a span (deliberately understated) β€” When a span plainly carries two speech acts, it can be cut at a character boundary through a quiet link below the target span. The cut must fall strictly inside (at the edge it would create a zero-length unit), new ids are derived (x β†’ x+a/x+b) rather than renumbered (so an older export still joins), and the vote on the old span is deleted for every rater β€” together with its co-pilot log row and timing, because those describe a unit that no longer exists. Placed unobtrusively so that re-cutting stays the exception.
  • Add/remove an LLM as an assessor β€” like a human β€” The "Add LLM" dialog in the Assessors tab now actually works (it used to be a TODO stub with a hardcoded model list that saved nothing). You pick a genuinely available model (/api/llm/models/available, filtered to model_type='llm'), and on adding it is persisted to config_json.llm_evaluators and the managed runner starts automatically β€” labelling/annotating every item with all existing safeguards (lock per (scenario, model), cooldowns, circuit breaker, permanent-failure and total-failure caps). Removing deletes the model plus its stored results (out of IRR and exports). New endpoints POST/DELETE /api/scenarios/<id>/llm-evaluators[/<model_id>] (owner/admin; Bearer or X-API-Key). (scenario_crud.py, ScenarioTeamTab.vue; tests ADDLLM_001–011.)
  • "Demo Video" opens the internal LLARS video page (YouTube is now only a backup) β€” The "Demo Video" button in the landing hero (and the footer "Demo" link) now lead to the self-hosted video page /video (playing /videos/llars_demo.mp4) instead of straight to YouTube. The YouTube link is only linked as a backup on the video page (in case the file does not play). /video is public for this (requiresAuth: false) so visitors who are not logged in can see the demo (HeroSection.vue, LandingFooter.vue, DemoVideoPage.vue, router.js).
  • Unlock a phase directly in the Overview tab β€” For labeling scenarios with phases (parts/calibration phases), every phase row in the Overview tab now has an Unlock/Lock button (previously read-only with a pointer to the Settings tab). Owners/managers unlock the next phase where they see the progress. Uses the same management-gated endpoint PUT /api/scenarios/<id>/parts/<part_id> (ScenarioOverviewTab.vue).

πŸ—‘οΈ Removed

  • LaTeX collaboration removed entirely, including the AI writing assistant and the Zotero integration β€” The LaTeX workspace (/LatexCollab, /LatexCollabAI) with its real-time editor, PDF compilation (pdflatex/biber/SyncTeX), workspace git panel and template picker is gone without replacement; Markdown Collab is unaffected and remains the collaborative editor in LLARS. Removed along with it: the tightly coupled AI Writing Assistant (LatexCollabAI) β€” ghost text, @-commands, selection menu (rephrase/expand/shorten), AI sidebar chat and citation/DOI search β€” and the fully dependent Zotero integration (OAuth connection, library import, BibTeX generation) including its encrypted credentials. This drops the latex_collab:* Socket.IO events, the /api/latex-collab/*, AI-writing and Zotero endpoints, the latex_* tables, the permissions feature:latex_collab:view/edit/share/ai and the ZOTERO_* configuration variables. On the infrastructure side the texlive-full layer (~5 GB) leaves the Flask image. Not affected: the external overleaf_url link on conference papers (plain web link) and the Markdown collab permissions feature:markdown_collab:*.
  • Voice/video calls with live transcription (LiveKit) removed entirely β€” The messaging module now offers text chat only (incl. E2E encryption, reactions, link previews and AI summaries). Removed: the phone/camera buttons in the chat header with the call and transcription panels, the Socket.IO events messaging:call_initiate/accept/decline/end, the endpoints POST /api/messaging/calls/transcript-chunk and GET /api/messaging/calls/<id>/summary, CallService + CallTranscriptionService, the (already orphaned) STT provider package, the tables messaging_calls/messaging_call_participants, the message type call_event and the permissions feature:communication:voice, :video and :transcription. On the infrastructure side the containers livekit-service + livekit-agents-service, the nginx upstream /livekit/ and all LIVEKIT_*/STT_* variables are gone. Not affected: the messaging master switch system_settings.communication_enabled, the permissions feature:communication:access/chat/ai and the public demo-video page /video. Existing databases are cleaned up via migrations/20260821_remove_call_feature.sql (existing call_event messages are rewritten to system before the ENUM is narrowed).

πŸ› Fixed

  • Conversation labeling: IRR described one arbitrary span per conversation β€” _collect_human_evaluations wrote all ~92 span rows of a conversation into the same cell data[item][rater]; the last one written won. The alpha looked perfectly normal and meant nothing. The unit of analysis is now the span (item::span, the same pattern as dimensional pooling).
  • Conversation labeling: the model dropped silently out of every comparison β€” The LLM predictions live span by span under task_type = "copilot_labeling", not under "conversation_labeling". The query matched nothing. The cache row is now fanned out; the model's vote is its primary suggestion β€” exactly the one a human would have been shown.
  • Conversation labeling: co-pilot data was duplicated across spans β€” The export join was keyed by (user, item) and collapsed ~92 log rows into one, so every span of a conversation carried the same suggestion, the same acceptance and the same helpful flag β€” fabricated study data that looked plausible in the CSV. Same pattern for the timings (timings_for_scenario now returns 3-tuples).
  • Add-LLM-assessor UI was inconsistent β€” After adding an LLM assessor the row showed "0/0" plus a Start button, although the runner had already been started automatically server-side (the live stats arrive with a delay). Clicking "Start" was then a no-op (runner lock) β†’ "nothing happens". Fix: models just added or started are shown as "Running" immediately (no misleading Start button) until the real stats take over. The dead "Template: Standard/Detailed" dropdown was also removed from the dialog (a decoy with no backend effect), and the DELETE endpoint resets enable_llm_evaluation when the last model is removed. The add/remove endpoints now check check_scenario_management_access (owner/manager/admin) instead of owner-only β€” consistent with the canManage UI gating and the /start endpoint, so an editor no longer sees a button that throws 403. (ScenarioTeamTab.vue, scenario_crud.py.)
  • The LLM labeler was given the wrong task β€” For (wizard-typical) labeling scenarios the runner sent the model the raw category ids (cat_1782…) instead of the names (include/exclude) and left out the task description and inclusion criteria entirely (they were read from the wrong, top-level config path; in the wizard they sit under eval_config.config.*Markdown). The result would have been guesswork or nothing but errors. _run_text_classification now passes the label names as meaning (the model still answers with the id β†’ aligning with the human category_id in IRR), fetches task and criteria through the correct resolver, and mirrors the unsure option. Label extraction was additionally made robust across all config shapes (_extract_labels_from_config): categories and labels lists, dict entries with a name or label key (localized), strings, classification_labels, top-level and nested β€” before this, scenario 629 (labels as dicts under config.labels) fell back to the default labels positive/negative/neutral. (llm_ai_task_runner.py; tests LABELTASK_001–009.)
  • Google Maps on the contact page was blocked (CSP) β€” The consent-gated Google Maps embed (Kontakt.vue, iframe maps.google.com/…&output=embed) was blocked by the CSP frame-src 'self' blob: (Framing 'https://maps.google.com/' violates … frame-src). Added https://maps.google.com https://www.google.com to frame-src in both production nginx configs (nginx.prod.conf, nginx.prod-no-ssl.conf β€” port 80 and 443 blocks). The map loads after consent.
  • Demo video (/videos/llars_demo.mp4) returned 404 β€” Not a code bug: the 85 MB file is deliberately gitignored/dockerignored and served through the host mount ./static/videos β†’ /srv/llars-static/videos (the nginx location /videos/ already existed), but it was not present on the production host. The file was placed in /var/llars/static/videos/ β†’ it is now served (with range streaming). Ops note: on a fresh host setup the video has to be placed there manually.
  • timing_metrics was missing from the v1 JSON export β€” The v1 route builds its JSON envelope from selected keys; the new aggregate block (timing_metrics) from collect_results was not passed through (the CSV had the per-case columns, but the JSON lacked the per-rater figures). Key added (scenario_results_routes.py; test APIV1_RES_013). The GUI export was unaffected.

[1.20.0] - 2026-07-15

✨ Added

  • Time per case in every export β€” Every evaluation export (v1 API GET /api/v1/scenarios/<id>/results and the GUI export GET /api/scenarios/<id>/export, for all types: rating, mail rating, ranking, comparison, communication comparison, authenticity, labeling) now contains two time columns per judgement: time_on_item_ms (client-measured time from displaying the item to the first save) and time_since_prev_ms (a derived fallback: the gap between the created_at timestamps of a rater's consecutive cases β€” so older studies without real capture get an approximation too; the first case per rater and ranking rows stay empty). Real capture: a new central table evaluation_item_timings (one row per rater/item/scenario, first-write-only), fed by a Date.now() timer in all evaluation interfaces and wired into the 4 submit endpoints. Labeling additionally continues to use labeling_copilot_logs.time_on_item_ms. The JSON envelope (v1 API and GUI export) also contains a timing_metrics block with aggregated figures per rater (n, mean, median, min, max, standard deviation, total, plus captured/derived provenance) and an overall block β€” correctly deduplicated per case (rating has several rows per case). (EvaluationItemTiming, ItemTimingService, results_export_service, scenario_manager_api; tests TIMING_001–019, CMP_TIME_001/002).

πŸ› Fixed

  • Matomo custom logo and absolute URLs (missing /analytics/ base path) β€” The publicly active port 80 nginx block (the gateway forwards there over HTTP) did not pass X-Forwarded-Uri /analytics through, so Matomo (proxy_uri_header=1) did not know its base path and built absolute URLs β€” including the LLARS custom logo β€” without the /analytics/ prefix β†’ 404 / broken image. Added X-Forwarded-Uri (plus -Host/-Port) to the port 80 and no-ssl blocks (the 443 block already had them). Completes the branding and mixed-content fix from 1.19.0.

[1.19.0] - 2026-07-13

✨ Added

  • Matomo in LLARS branding β€” The analytics dashboard (/analytics/) now shows the LLARS logo (login and header) instead of the Matomo default. Implemented via a custom logo in misc/user/ plus branding_use_custom_logo=1 through docker/matomo/init-matomo.sh and configure-branding.php (best effort, never aborts the Matomo init).
  • MkDocs documentation in the LLARS design β€” The documentation (/mkdocs/) now carries the LLARS colour palette (green header #b0ca97, teal links/accents), the LLARS logo in the header and as favicon, and the asymmetric border-radius signature (code blocks, admonitions, tables, search). Implemented through extra_css (docs/docs/stylesheets/llars.css) rather than a theme rewrite; covers both light and dark schemes.
  • Space bar = "next" in evaluations (opt-in) β€” A new Preferences settings tab (/settings) with a "space bar jumps to the next item" switch. Off by default; every user enables it for themselves. When on, the space bar advances to the next item in every evaluation (all scenario types) β€” unless the focus is in a text field (where it types a normal space). The preference is stored per user in the backend (user.settings_json, across devices). The tab is laid out as a home for future preferences (PreferencesTab.vue, useUserPreferences.js, EvaluationSession.vue).
  • Changelog by clicking the version number β€” The version number in the footer (and the version tag in the app bar in dev mode) is now a link to the changelog (/mkdocs/changelog/, language-aware), so you can read what changed between releases (App.vue, i18n footer.changelog).

πŸ› Fixed

  • The Matomo dashboard was broken (CSP unsafe-eval) β€” Matomo's Vue UI uses new Function(); the globally hardened CSP (script-src without unsafe-eval, pentest M11) blocked it β†’ the dashboard broke while mounting (jQuery/EvalError). Fix: a path-dependent CSP via an nginx map β€” only /analytics/ gets unsafe-eval (Matomo is additionally auth-protected), the rest of the app stays strict. Verified locally in Chrome: / without, /analytics/ with unsafe-eval; the dashboard mounts.
  • Matomo mixed-content warnings β€” Behind the SSL-terminating FH gateway (HTTP to the app nginx), Matomo generated absolute http:// URLs β†’ mixed content on the HTTPS page. Fix: assume_secure_protocol = 1 in Matomo's config.ini.php (production only, via init-matomo.sh).
  • Changelog badges did not load in MkDocs β€” The shields.io badges in the changelog header (version/released/…) were blocked by the content security policy (img-src did not allow img.shields.io). Added img.shields.io to the CSP img-src (nginx.prod.conf, nginx.prod-no-ssl.conf).
  • Labeling: item status in the footer (wrongly "in progress") β€” In the evaluate view the status tag at the bottom showed the overall progress instead of the status of the current item. As a result a fresh, untouched item wrongly read "in progress" (because other items were already done), and navigating back to an already completed item also read "in progress" instead of "completed". Fix: LabelingInterface now emits the status of the item currently displayed (done | pending) instead of the aggregate (LabelingInterface.vue, tests LABEL_007/008).
  • E2E deploy gate unblocked (consent banner) β€” After the consent buttons were renamed (Accept all / Only necessary), the E2E helper dismissConsentBanner clicked the first button in the banner β€” which is the privacy link, navigating to /Datenschutz and thereby leaving the login flow. As a result 33 nightly E2E tests ran into a 30 s login-form timeout and the production deploy gate stayed blocked (production was stuck on 1.17.2). Fix: stable data-testids (consent-accept / consent-decline / consent-privacy) on the banner, and the helper clicks consent-accept specifically and stays on the page (e2e/helpers.js, e2e/auth.setup.js, e2e/login.spec.js).
  • Documentation link (footer) β†’ MkDocs instead of 404 β€” Public traffic runs through the SSL-terminating FH gateway, which forwards over HTTP to the port 80 server of the production nginx. That block did have the location = /mkdocs redirect but no /mkdocs/ proxy (only the 443 block had one) β†’ /mkdocs/ fell into the SPA catch-all and showed the Vue 404 ("document not found"). Fix: added the /mkdocs/ proxy block to the port 80 server as well (docker/nginx/nginx.prod.conf).
  • Progress on labeling scenarios (0/0 despite labels) β€” In get_progress_stats a labeling assessor without active parts counted against the (empty) ScenarioThreadDistribution table and showed 0 done / 0 pending, although the session hands every assessor all items (no per-user distribution). Fix: labeling assessors without parts now count against all items β€” consistent with session_service._get_items_for_scenario and get_user_progress_counts (bug in scenario 758; app/services/scenario_stats_service.py, test STATS-113).

[1.18.0] - 2026-07-11

✨ Added

  • Landing page as the public root β€” https://llars.e-beratungsinstitut.de/ now natively shows the landing page instead of redirecting to /login (/landing remains as an alias; logged-in users still land on /Home or in the single-scenario shortcut). New navigation with section anchors (smooth scroll), login and register buttons, GitHub link (nav, hero, open-source section, footer β†’ github.com/th-nuernberg/llars).
  • Interactive labeling demo with co-pilot β€” A DOM-built app window on the landing page: three clickable example items with a co-pilot suggestion (rationale, confidence, highlighted textual evidence), an "accept" button, autosave check mark and progress bar; 3D tilt and cursor glow, cursor: pointer only on genuinely clickable elements. Plus a co-pilot explanation (never pre-selected, hidden control subset, study logging) and a new feature card in the bento grid.
  • Hero animations β€” Hero background blobs fly in staggered on page load (then drift endlessly), a PaintStrokesReveal component (scroll-triggered blob entry, CTA finale and open-source section), a v-glow directive (cursor-following sheen on cards), a scroll hint arrow, bear bobbing β€” all with prefers-reduced-motion fallbacks.
  • Open-source section "By researchers, for researchers" β€” Photo (locally hosted Unsplash image, assets/landing/ATTRIBUTION.md), MIT/self-hosting/reproducibility points, GitHub and documentation CTA.
  • New itshover icons β€” GithubIcon (brand mark) and CursorClickIcon; resolver tokens github and cursor/click/tap/gesture/pointer.

πŸ” Changed

  • Landing copy sharpened for researchers β€” Hero subtitle, CTA and a new open-source message address research teams (free to use, self-hostable, stays MIT); a second hero badge "100 % open source Β· MIT"; the hero CTA leads to /register.

πŸ› Fixed

  • Duplicate footer and hero overflow on /landing-preview β€” Hiding the app bar and footer is now meta-based (hideAppChrome) instead of bound to the route name LandingPage; this removes the doubly rendered small app footer and the 100vh hero overflow by the app bar height (plus 100svh for mobile browser UI).
  • "Seven evaluation types" grid β€” Cards now wrap symmetrically as 4+3 (previously a lopsided 5+2); long titles ("communication comparison") are kept inside the card by hyphenation.
  • CI deploys blocked by the rate limit β€” The nightly E2E suite (test:e2e:nightly:tiles) and smoke:staging test the staging instance from a single internal IP against localhost:55080 and blew past the strict per-IP limit (500/h in production mode) β†’ 429 plus a 45-minute job timeout, which caused deploy:production to be skipped (the nightly did not deploy either). Fix: internal/private test traffic is now exempt from the rate limit (exempt_internal_ips, spoofing-safe β€” real users on public IPs stay limited at 500/h); the E2E job timeout went from 45m to 75m as a buffer.
  • Progress on parts/phase scenarios β€” In labeling scenarios with active parts (phases), the evaluator progress display showed 0/0 for assessors although labelling was happening. Cause: with active parts, items are delivered through the parts mechanism (open parts), not through scenario_item_distribution β€” but the progress calculation (get_progress_stats/get_user_progress_counts) still counted against the (empty) distribution table. Both functions are now parts-aware (an assessor's item set = the items of the open parts, mirroring delivery); non-parts scenarios are unchanged.

πŸ”’ Privacy

  • Two-click Google Maps solution on the contact page β€” The Maps iframe (which opens a connection to Google including IP transfer and cookies) is only loaded after explicit consent; before that there is only a local placeholder with a note and a privacy link, and no request goes out to maps.google.com. Consent is remembered per browser (localStorage). This matters because the contact page is reachable from the new public landing page. (Fonts are already fully self-hosted; the Matomo/analytics consent banner also appears on the landing page.)
  • Official LLARS contact address β€” The contact page now shows llars@e-beratungsinstitut.de (identical to MAIL_REPLY_TO in the backend) as a clickable mailto link instead of the old info@ address.
  • Privacy policy fully revised (as of 07/2026, /Datenschutz) β€” Instead of 6 thin sections there are now 13: server log files, cookies and local storage, reach measurement (Matomo, cookie-free and consent-gated), Google Maps, account/Authentik, email dispatch, recipients, retention, data protection measures, plus the full data subject rights including the right to complain (BayLfD) and legal bases (Art. 6/9 GDPR, BayDSG).
  • Terms of use page (/Nutzungsbedingungen, DE/EN, 9 sections) added β€” scope, account, permitted use, research data/data donation, open source, availability, liability, termination, final provisions. Linked in the footer (landing and app).
  • Registration consent β€” A mandatory checkbox "I accept the terms of use and the privacy policy" for every registration (the button is disabled without the check, hard-gated in handleRegister), separate from the study consent (which applies additionally for study links). Plus a transparency note on research use/data donation (legal basis: public research task, Art. 6(1)(e) GDPR, no coupled consent).
  • Cookie banner to EU standard β€” "Accept all" / "Only necessary" instead of "Agree/Decline", with clearer wording on necessary versus optional (Matomo) cookies.
  • SEO essentials β€” index.html with a meaningful title, meta description, keywords, Open Graph and Twitter card tags, canonical, robots: index,follow, and JSON-LD structured data (SoftwareApplication + Organization, free/MIT). New: robots.txt (allows indexing, points to the sitemap, blocks api/auth/reset/join) and sitemap.xml (public pages). The manifest gained a description and categories. Per-route document titles (meta.seoTitle + router.afterEach) for tab titles and JS-rendering crawlers. Target keywords include "LLM evaluation software", "label software", "inter-rater reliability".
  • <noscript> content block in index.html β€” real textual content (heading, core description, features, keywords, links) for crawlers and users without JavaScript, without SSR/prerendering risk.

⚑ Performance

  • Code splitting (vite.config manualChunks) β€” the large, lazily loaded leaf libraries (Vuetify, pdfjs-dist, jsPDF/html2canvas, Leaflet) are separated into their own, long-term cacheable chunks. The main bundle went from ~6.8 MB to ~5.9 MB; the framework core stays in the main bundle (separate vue/realtime chunks created circular dependencies). Improves load time and Core Web Vitals β€” verified in the built preview without console errors.

πŸ” Changed

  • App bar logo click β€” logged-in users land on /Home, users who are not logged in (e.g. on /login) land on the public landing page /.
  • MkDocs language coupling β€” Documentation links in LLARS now open the version matching the UI language (DE β†’ /mkdocs/, EN β†’ /mkdocs/en/, via utils/docsUrl.js; app footer, landing footer, research section, documentation overview, /docs redirects). nginx no longer forces English β€” the complete German documentation (the default language) is reachable under /mkdocs/ again, English under /mkdocs/en/, and MkDocs' own language switcher works again (correct /mkdocs/ base path via site_url). Dev (mkdocs serve, no strip) and production (static build, strip) are distinguished accordingly in the nginx configs. Note: on production the public documentation remains separately blocked by the FH gateway cache (stale SPA) until that cache is cleared.

[1.17.0] - 2026-07-11

✨ Added

  • Scenario parts (phases) for labeling β€” Labeling scenarios can optionally be divided into ordered parts (wizard section "Parts / Phases" plus v1 API), the study gate for calibration designs (e.g. P1 calibration β†’ IRR/alignment meeting β†’ unlock P2 β†’ main phase with co-pilot): per part an order (sequential = identical for all raters / random = deterministic per-user shuffle), co-pilot on/off (the runner only generates for co-pilot parts; the hidden control subset works unchanged within them), and lock/unlock (owner UI in the Settings tab plus PUT /api/v1/scenarios/<id>/parts/<part_id>). For raters the division is invisible (parts/co-pilot sections are stripped server-side from session, list and stats responses; item totals are scaled to the open parts). For analysis: a part column in the results export, a ?part= filter on the agreement metrics (IRR per phase, combinable with ?copilot=), and copilot_metrics.per_part. Loading further items requires part_id when parts are active (partition invariant: every item belongs to exactly one part). Without parts in the config nothing changes (opt-in).

πŸ”’ Security

  • Co-pilot internals no longer in the assessor payload β€” hidden_control_salt/ratio used to be part of the session/list config, which made the hidden control subset computable client-side. The copilot section is now removed server-side for non-managers (the evaluator UI does not read it).

[1.16.0] - 2026-07-05

✨ Added

  • Labeling co-pilot (LLM pre-annotation) β€” Can be enabled per labeling scenario (scenario wizard plus v1 API), modelled on the DMRS co-pilot from PsyDefConv: a freely editable prompt template ({item}/{context}/{labels}/{codebook}) with per-scenario prompt versioning, batch pre-generation through the LLM runner queue (cached per item Γ— prompt version Γ— model), top-1/top-2 suggestions with rationale, an evidence quote and confidence in the labeling interface (clearly marked, never pre-selected), a helpfulness thumbs vote, time-per-item measurement, a hidden control subset for anchoring analyses, copilot_* columns plus acceptance/helpfulness/time metrics in the results export, and a "with/without co-pilot" filter for the agreement metrics.
  • Voter provenance in the results export β€” voter_origin/voter_source (referral link vs. existing account) on all human rows.

πŸ› Fixed

  • Schema patches are boot-race safe β€” Containers booting in parallel (flask/worker/supervisor) could crash each other with "duplicate column" on the first start after an update (a TOCTOU between the existence check and the ALTER).
  • Labeling evaluations fully wired up β€” Auto-save in the embedded interface, progress counting from ItemLabelingEvaluation, display in the Data tab.
  • Labeling task type detection in the analysis tab for scenarios created through the v1 API (function_type_name fallback).

[1.15.0 – 1.15.2] - 2026-06

✨ Added

  • Complete, published changelog β€” this file is now complete (all releases 1.0.0–1.14.0, newest first, badges plus emoji sections) and linked as a MkDocs page under /mkdocs/changelog/ (DE/EN).
  • Seventh evaluation type on the landing page β€” communication_comparison added (types section plus the tech counter "seven evaluation types").

πŸ” Changed

  • The landing page links the new IJCAI demo video; the chatbot builder tile got a fitting icon.
  • Chatbot grounding is prompt-driven β€” cite only genuinely relevant sources, answer general questions from the model's own knowledge, and admit honestly when there is "no reliable information" about LLARS (calibration showed that bi-encoder relevance does not separate on-topic from off-topic reliably).

πŸ“š Docs

  • English translations for nightly-test-activities, mail-service, human_studies/index and playbook; a detail section for communication comparison (type 8); the MariaDB version corrected to 11.2.6.

[1.14.0] - 2026-06-13

✨ Added

  • User provenance in the scenario manager β€” Coloured "origin" pills show for each evaluator where they came from (referral link vs. existing user) and how they joined the scenario (owner / auto-enrol / invited by … / themselves). Visible in Assessors, Settings, Overview and Evaluation. Every referral link gets an LLARS-wide consistent colour (assigned deterministically, overridable in the admin panel) plus a collapsible legend.
  • General LLARS demo β€” DE/EN invitation plus welcome mail and demo accounts with a one-week expiry; a nightly maintenance:demo-cleanup job clears expired demos.
  • IJCAI welcome mail made visible in the admin mail centre.

πŸ” Changed

  • The chatbot answers generic questions without sources β€” the answer is decoupled from the obligation to cite: general-knowledge questions are answered freely, relevant LLARS sources are still cited.

πŸ”’ Security

  • Pentest hardening (comprehensive) β€” the docker.sock mount was replaced by a read-only socket proxy (C3); container memory limits against DoS (M3); nginx hardening (CSP unsafe-eval removed, real IP, PHP hidden); mkdocs/authentik moved to loopback, hashed reset tokens, npm audit; dual-key secret decryption plus a loopback-only DB port; test_prompt_stream gated plus rate limiting on the socket LLM paths; IDOR/SSRF closed, CSV/XSS/crypto/session gaps hardened.

πŸ› Fixed

  • DOMPurify works again β€” the npm-audit-fix lockfile bump was rolled back (it had broken DOMPurify).

[1.13.0] - 2026-06-08

✨ Added

  • Comparison analysis: individual vote matrix plus author analysis β€” For pairwise scenarios (comparison / communication_comparison) the scenario analysis tab now shows who (which evaluator) chose what (A/B/tie) per comparison, including an author chip (human vs. a specific LLM), voter exclusion (hide test accounts) and Krippendorff's Ξ±. The author analysis ranks the systems by win rate (Wilson 95 % CI) plus Bradley-Terry strength and shows head-to-head rates.
  • Mail centre: quick send β€” Admins can send a selected mail template straight to an address they type in (Templates tab), gated behind feature:admin:mail.

πŸ” Changed

  • A more compact, modern layout for "individual votes" and "author analysis" β€” consistent icon headers with metric chips, cleanly padded card bodies, smaller tags/chips/bars, muted win-rate bars with an accent gradient for the rank-1 entry, and a subtle accent bar for the human reference row.

πŸ› Fixed

  • Author classification of the comparison options corrected β€” the human/LLM hint in the results export (the basis of the author analysis) now follows the canonical _categorize: a "human:" prefix and "…/human" tails (e.g. "human:counsellor") are correctly recognised as human; the ineffective glob entries "klientin"/"beraterin" were replaced by the real forms.
  • Deterministic feature order β€” the A/B options in the rater view are now explicitly sorted by feature_id (like the export), so that the author attribution of the votes is guaranteed to match what the raters saw.
  • Performance of the vote matrix β€” O(1) lookup instead of a per-cell items.find (previously O(itemsΒ² Γ— voters)).

[1.12.0] - 2026-06-08

✨ Added

  • Admin mail centre, major expansion β€” Template gallery with preview (iframe plus fullscreen), click/open tracking, bundled branded invitations (faf/kiz/org), the workflow "pick a referral link β†’ edit the matching invitation β†’ send", long invitations with a side-by-side live preview, and a clickable log link opening the mail popup.
  • Referral system expanded β€” a configurable signup_mode (full | email | instant), a per-link default language plus passwordless magic auto-login, the IJCAI demo (multi-scenario enrol plus viewer role), joining for existing accounts through a link plus welcome mail, and code redemption after login with an enrolment confirmation popup.
  • Demographics in the settings β€” Users can view and edit their demographics and see the stored email address; consent to storing the email is opt-in/revocable.

πŸ” Changed

  • Responsive/mobile pass (audit-driven) across all evaluation interfaces and the entire scenario manager β€” mobile comparison (A/B fullscreen reading mode, thin tappable footers, task popup, fullscreen history), a mobile chat overhaul in the Claude/ChatGPT style, and slim data-tab tables without horizontal swiping.
  • Chat sources only when cited β€” the source panel opens on click only; the auth token now travels over the chat socket (fixing streaming instead of the REST fallback); "new chat" works on the empty /chat page.
  • Chatbot grounding sharpened β€” standard_admin only uses the llars-documentation collection; the RAG citation prompt was hardened (cite only on genuine relevance, do not invent links).
  • App bar without the "Platform" suffix, its own evaluations icon, and comparison votes in the detail dialog.

πŸ› Fixed

  • Exports including communication_comparison plus IRR metrics; full DE/EN i18n parity for the evaluationAssistant; numerous evaluation, consent and mobile layout fixes (per-scenario task popup, footer/bar polish, panel overlaps).

πŸ”’ Security

  • Audit findings closed (authz/IDOR plus hardening of the referral signup); the Brevo webhook marked as a token-guarded @public_endpoint.

[1.11.0] - 2026-06-03

✨ Added

  • privacy-filter as a 4th anonymisation engine β€” openai/privacy-filter (HF token classification) is selectable alongside offline/llm/hybrid. It maps the 8 native PII labels onto the LLARS taxonomy, merges fragmented BIOES spans and trims whitespace offsets; a new SECRET label (always masked). Benchmarked against Flair on the KIZ cluster (scripts/anonymize/): for German counselling text Flair remains the better default (LOC/AGE support, higher person recall), privacy-filter is English-centric β†’ opt-in.
  • NER offload into the worker container (phase 1) β€” the heavy Flair/privacy-filter inference now runs once and warm in the llars_worker container instead of per gevent web worker. The web tier calls it through Redis request/reply (gevent-friendly), with a local fallback when no worker is reachable. This removes the ~35 s cold load per web worker and the RAM multiplication of the 2.2 GB model. (services/anonymize/ner_remote.py)

πŸ” Changed

  • Transactional mails are German-only β€” the welcome and password reset mails lost their English second part (the study is German-language). The welcome mail now closes with the study lead signature, the reset mail with "β€” Das Team des KI-Zentrums Bayern".

[1.10.0] - 2026-06-02

✨ Added

  • Self-service password reset β€” the complete flow with an optional email, a consent redesign, a branded reset mail and new app icons.
  • Mistral-Medium-3.5-128B registered, including env-gated default promotion.

πŸ”’ Security

  • Password reset, SSRF, RCE, IDOR and rate limit gaps closed.

πŸ› Fixed

  • create_user now sets the password by a known primary key (restoring the correct test sequence).

[1.9.2] - 2026-05-18

πŸ› Fixed

  • The referral landing scenario now survives logout/login β€” the single-scenario auto-redirect used to hang purely on a count === 1 heuristic. As soon as an admin added the rater to a second scenario (e.g. for testing), the shortcut broke permanently for that user. The backend (authentik_routes._enrich_token_with_roles) now returns a new referral_target_scenario_id field in the login response whenever the user originally arrived through a referral link with a bound scenario. The router prefers that hint over the count logic. It is cleared on logout so that shared workstations leak nothing to the next user.

[1.9.1] - 2026-05-18

✨ Added

  • Vertical resize handle in the stacked layout β€” only side-by-side had a drag divider so far. Stacked now gets the same: a 6 px horizontal bar between "history" and the options, dragging shifts the height ratio (20 %/75 % min/max), and the position persists separately from the horizontal variant. usePanelResize now supports axis: 'vertical'.

πŸ” Changed

  • The task briefing collapses automatically on the first "next" β€” on the transition from item 0 to item 1 the briefing closes once. As soon as the rater has toggled it manually (open or closed), their choice is the source of truth and auto-collapse never fires again.
  • The notes section is even slimmer β€” chevron 16β†’12 px, font 0.78β†’0.72 rem, top padding removed, textarea 2β†’1 rows. Collapsed, the section now takes only ~16 px of vertical space.

[1.9.0] - 2026-05-18

✨ Added

  • Reward button on the item overview β€” a new trophy button on the right of the filter row (/scenarios/<id>/evaluate) opens the aggregated preference popup (human vs. trained AI vs. standard AI) on demand rather than only after a milestone. It pulses when a milestone has just been reached.

πŸ” Changed

  • communication_comparison type routing completed β€” the backend (session_service, scenario_stats_service, results_export_service, the comparison/preferences endpoint) and the frontend (EvaluationItemsOverview gamification gate, EvaluationHub type label, ScenarioWizard variant map, ScenarioDetailsDialog model panel) now accept function_type_id in (4, 8) everywhere. Previously communication-comparison items passed through as "pending", gamification was off on the overview, and the reward popup showed "not enough data".
  • Locale-driven type labels β€” EvaluationHub now renders the type chip via $t('evaluation.types.<key>') instead of a hardcoded string. The DE and EN locales gain communication_comparison plus the missing mail_rating entry.
  • The progress denominator respects the unlock window β€” with progressive_reveal=true the overview now counts against unlockedCount instead of items.length (e.g. 0/3 instead of 0/5 with first_milestone=3).

πŸ› Fixed

  • Demo seeder conversations now end with a client opening; the previous counsellor turn as the second message in the history made the A/B candidates replies to the counsellor rather than to the client.
  • Demo seeder timezone bug β€” datetime.now() (local time) β†’ datetime.utcnow(). Previously freshly seeded scenarios ended up in status='draft' and were hidden by the EvaluationHub filter.

πŸ“š Docs

  • docs/docs/entwickler/evaluation-datenformate.{md,en.md} updated: "6 β†’ 7 types" plus a communication comparison row in the overview table.

[1.8.4] - 2026-05-18

πŸ› Fixed

  • Evaluator shortcut strictly only on count === 1 β€” the previous code also redirected to /evaluation as a fallback on count === 0 (or > 1). As a result test_evaluator (a fresh CI fixture with 0 scenarios) also landed on /evaluation instead of /Home, which meant the tile regression specs could not find their .feature-card tiles and ran into a timeout. Now strictly: 1 scenario β†’ auto-redirect, otherwise the default landing. This also matches the original request, "when only one scenario is assigned".

[1.8.3] - 2026-05-18

πŸ› Fixed

  • The evaluator shortcut hardens itself against race conditions β€” the roles.length > 0 guard is back (v1.8.1 had removed it), so that CI fixtures and fresh referral registrations with a not-yet-hydrated auth bundle do not run into the shortcut path. Plus a 3-second timeout on the /api/scenarios lookup in the router guard β€” if staging gunicorn recycles a worker mid-request or a 502 comes back, the guard falls through transparently to /evaluation instead of blocking indefinitely.

[1.8.2] - 2026-05-17

πŸ› Fixed

  • E2E authenticate as evaluator hung after v1.8.1 β€” the setup fixture waited stubbornly for /Home, but the broader role check in v1.8.1 redirects evaluator-only users straight to /evaluation or /scenarios/<id>/evaluate. auth.setup.js now accepts all three landing paths. Power-role fixtures (admin/researcher/chatbot_manager) still land on /Home.

[1.8.1] - 2026-05-17

πŸ› Fixed

  • Evaluator auto-redirect without strict role equality β€” quick access used to fire only on roles.every(r === 'evaluator'). Now: every authenticated user without a power role (admin / researcher / chatbot_manager) who has exactly one assigned scenario lands directly in its tile view. This also catches fresh registrations through a referral link, where llars_roles is initially empty and the JWT groups fallback applies.

[1.8.0] - 2026-05-17

✨ Added

  • Communication comparison evaluation type (function_type_id=8) β€” a specialisation of comparison for A/B comparisons in a counselling context. The same data structure as comparison; the UI frames the choice as "send response" with a fly-out animation, an optional response prompt and a rater notes textarea. Fully wired: Pydantic schemas, frontend schemas, feature type seeder, demo scenario, preset registry, EvalConfigEnvelope discriminator.
  • Evaluator quick access: users with the evaluator role and exactly one assigned scenario are automatically taken from /Home//evaluation straight into that scenario's tile view (skipping the welcome and tool list). Cached per session, falling through transparently to /evaluation on 0 or more than 1 scenarios.

πŸ” Changed

  • Comparison UI wording adjusted following feedback from the social sciences (2026-05-15): "choose option A" / "choose option B" now in both modes (classic and communication comparison) instead of the mode-dependent "send response A/B" variant.

[1.7.0] - 2026-05-08

✨ Added

  • Public v1 chatbot API plus wizard quickbuild β€” programmatic chatbot access with scope-gated keys.
  • Comparison: progressive reveal β€” cards are unlocked in chunks per milestone.
  • Study gamification made visible plus auto-login, drawer privacy and a confirmation email.

πŸ”’ Security

  • v1 chatbot API hardened β€” SSRF and cross-tenant RAG attach blocked; several production blockers and defects from three agent review passes fixed (including an MVCC snapshot and a DNS timeout race).

πŸ› Fixed

  • axios raised to ^1.16.0 (release gate vulnerability).

[1.6.0] - 2026-05-07

✨ Added

  • Public v1 scenario API β€” scope-gated API keys plus security hardening.
  • Public landing page with scroll reveal, a bento grid and paint strokes, plus an admin-only landing preview tile.
  • Turing test / comparison β€” reward system, deterministic import, tie opt-in, layout polish; a pairwise comparison demo for IJCAI reviewers.
  • Referral: auto-enrol on join plus a dedicated EMNLP study link.

πŸ› Fixed

  • Krippendorff's alpha corrected (coincidence matrix plus ordinal metric) along with the IRR calculation and the entire results pipeline; the rater filter is respected in the agreement metrics; the crawler persists crawl sessions across workers; pygments==2.19.1 pinned (fixing a mkdocs crash).

[1.5.0] - 2026-04-02

πŸ”’ Security

  • API keys hashed with argon2id β€” plaintext keys are migrated automatically at startup. New keys are only ever stored as a hash. Backward compatible during migration.
  • Docker base images pinned β€” all Dockerfiles now use specific versions (python:3.10.20-slim, nginx:1.28.3-alpine, node:23.11.1-slim/alpine, mariadb:11.2.6) instead of floating tags. Supply chain protection.
  • The security scan blocks the pipeline β€” allow_failure: true removed from security:scan. Vulnerabilities must be fixed or explicitly ignored.
  • CVE-2026-22815 (aiohttp) fixed β€” upgrade from 3.13.3 to 3.13.4.
  • lodash-es prototype pollution fixed (GHSA-f23m, GHSA-r5fr).
  • picomatch ReDoS and method injection fixed (GHSA-3v7f, GHSA-c2c7).
  • Rollback error handling β€” no more silent || true; an explicit error message when both rollback mechanisms fail.

⚑ Performance

  • Agreement computation 241Γ— faster β€” Krippendorff's alpha, Fleiss' kappa and the heatmaps now use NumPy vectorisation instead of Python loops. A ProcessPoolExecutor distributes independent computations across all CPU cores.
  • Gunicorn workers auto-scaled β€” cpu_count + 1 (13 on production) instead of a hardcoded 4. Gevent-optimised.
  • Stats/LLM workers auto-scaled β€” cpu_count // 2 (6 each on production) instead of a hardcoded 2.
  • CI backend tests 3.7Γ— faster β€” pytest-xdist distributes 3110 tests across 12 cores (18 min to 5 min).
  • Flask RAM βˆ’50 % β€” from 11.17 GB to 5.5 GB through the correct worker count for gevent.

πŸ› Fixed

  • Flaky TestPromptDialog in CI β€” timeout raised to 15 s, and a proper Vue unmount in afterEach prevents socket listener leaks.
  • Dead code removed β€” the old _stats_cache functions (replaced by the 2-tier cache service).
  • Healthcheck start_period reduced from 30 min to 2 min.

[1.4.0] - 2026-03-18

πŸ” Changed

  • Two-axis scenario role model β€” refactored to manager_role + evaluation_role (replacing the simple role column).

✨ Added

  • Improved timeline layout plus sorting of the conference list.

πŸ› Fixed

  • Viewer scenarios appear in "my scenarios"; from_job chains are resolved instead of rejected; a session flush in the distribution helpers (preventing SQLite state corruption); non-UTF-8 bytes in the latexmk output are caught; several flaky CI tests stabilised.

[1.3.0] - 2026-03-16

✨ Added

  • A single source of truth for LLM model colours (backend plus frontend).
  • Role-aware item distribution, agreement metric filtering and a diff cache.

πŸ” Changed

  • black/isort removed from linting (never enforced, 499 files non-compliant).

πŸ› Fixed

  • LLM evaluations are included in provenance and agreement metrics; stats cache invalidation wrapped in try/except.

⚑ Performance

  • CI pipeline accelerated (parallel tests, E2E workers, centralised builds).

[1.2.0] - 2026-03-15

πŸ› Fixed

  • CRITICAL: the frontend healthcheck used wget (not installed in nginx:alpine) β€” this caused 9 h 17 min of production downtime after a server reboot. An unattended-upgrades kernel update triggered the reboot β†’ the frontend healthcheck failed β†’ nginx blocked. Fix: the healthcheck was switched to curl.

✨ Added

  • Systemd reboot resilience β€” automatic recovery after server reboots via llars.service with 5-retry logic and exponential backoff. Blue-green aware: a two-step start (infrastructure via compose, app containers via docker start). A healthcheck timer (3 min) and a cleanup timer (daily at 03:30).
  • A two-axis permission model for scenarios β€” replaces the simple role column with access_level (OWNER/MANAGER/MEMBER) plus capability flags (is_viewer, is_assessor), enabling fine-grained control.
  • A new Settings tab in the scenario manager β€” replaces the settings popup dialog. Contains all scenario settings plus a team overview with tag-based role management.

[1.1.0] - 2026-03-13

Changes since v1.0.0 (2026-03-09).

2026-03-13

πŸ› Fixed

  • MariaDB updated from 11.2.2 to 11.2.6 β€” fixes a SEGFAULT crash in the database
  • pypdf updated from 6.7.5 to 6.8.0 β€” fixes CVE-2026-31826 (security vulnerability)
  • The bucket column widened to VARCHAR(255) for custom labels in ranking scenarios
  • Owners automatically receive VIEWER permission; team visibility in the scenario manager corrected
  • Nginx DNS auto-heal after container restarts
  • A syntax error in the GenerationJobDetail socket handler fixed
  • Numerous E2E test fixes: user search, share dialog, rate limit avoidance, workflow robustness

2026-03-12

✨ Added

  • Generation job sharing β€” jobs can be shared with other users (read-only)
  • E2E tests for the dev branch run automatically with the same suite as main

πŸ› Fixed

  • Consistent avatars in all user lists (backend plus frontend)
  • The missing ItemComparisonEvaluation model class added
  • E2E workflow tests stabilised with SYSTEM_ADMIN_API_KEY

πŸ” Changed

  • build_avatar_url() is now used everywhere instead of manual URL construction

2026-03-11

πŸ› Fixed

  • E2E tile regression: requiresAdmin for the pipeline routes, redirect detection
  • E2E fixes for staging 429 rate limits
  • Bootstrap variables added for the e2e:dev job

⚑ Performance

  • CI pipeline: venv/node_modules caching with file-hash keys introduced

2026-03-10

✨ Added

  • Tag-based versioning system with an /api/version endpoint
  • 117 new LLM tests plus smoke tests and an E2E LLM stream test
  • An LLM prompt response smoke test and handler integration tests

πŸ› Fixed

  • Flask==3.0.3 and Werkzeug==3.0.6 pinned β€” fixes the Socket.IO session error (critical)
  • LLM evaluator anti-DDoS: a lock plus permanent failure detection prevent server overload
  • Docker Hub TLS timeouts: syntax=docker/dockerfile:1 directives removed
  • Flask-SocketIO updated to 5.4.1, the encryption key fallback corrected
  • NameError crashes in the LLM ranking runner fixed
  • Socket.IO xhr-post errors in prompt engineering and chat eliminated
  • LLM auto-start and Socket.IO connectivity restored
  • Smart CACHE_BUST instead of --no-cache for docker builds (preventing a full disk)

πŸ“š Documentation

  • The LLM evaluator anti-DDoS architecture documented; a code documentation policy introduced

2026-03-09

✨ Added

  • Markdown scenario briefings end to end (judge scenarios with markdown descriptions)
  • Admin research groups redesigned with a new master-detail layout
  • Semantic version management with branch-aware auto-increment
  • The branch and commit hash are shown next to the version in the app bar

πŸ› Fixed

  • A segfault in the route test teardown fixed
  • E2E tile regression failures corrected
  • The git version passed as a build arg to the docker frontend builds
  • The SQLite connection pool is properly disposed before dropping tables
  • A langchain dependency conflict and seeder constraint errors fixed
  • The dependency audit pipeline restored

[1.0.0] - 2026-03-09

The first tagged release. Covers the entire development of the project since March 2024.

🌟 Highlights

  • A complete evaluation framework with 6 assessment types (ranking, rating, mail rating, comparison, authenticity, labeling)
  • A multi-dimensional rating system with presets (SummEval, LLM judge standard, etc.)
  • LLM-as-judge with automatic evaluation and anti-DDoS protection layers
  • Collaborative prompt engineering with YJS WebSocket sync
  • A RAG pipeline with ChromaDB, embedding models and reranking
  • A scenario wizard with AI-assisted data analysis and type detection
  • Blue-green deployment with automatic rollback
  • An RBAC permission system with Authentik integration

March 2026 (before the tag)

✨ Added

  • Deutsche Bahn price agent β€” DB price monitoring as a new tool
  • A dev branch CI/CD pipeline for the llars-dev server with its own blue-green deployment
  • Mobile views for the DB agent and LaTeX collaboration
  • A conference manager with a PDF viewer
  • LaTeX collab PDF downloads

πŸ› Fixed

  • Blue-green deployment: the switch job, smoke tests against the staging nginx
  • Aggressive disk cleanup in CI for /var storage problems
  • Stabilisation of the nightly tile tests and privacy recovery
  • Relative production URLs for the frontend

February 2026

✨ Added

  • Conference manager β€” managing conferences and papers
  • A manager role for scenarios; evaluator renamed to assessor
  • User LLM providers β€” users can create and share their own LLM providers
  • An automated pipeline feature (admin-only) for automated evaluation pipelines
  • IONOS AI Model Hub catalogue with cost tracking and token accounting
  • A referral system with live slug validation and improved UX
  • Provenance analysis β€” origin analysis for conversation partners and prompts
  • A demo video framework for IJCAI 2026 with two-speaker TTS and an overlay system
  • openai_compatible and vLLM provider support
  • Provider prefix routing for LLM models (Global/{manufacturer}/{model})
  • Server-side generation-to-scenario import with format detection
  • Per-dimension agreement metrics for rating and mail rating
  • Skeleton loading plus fade transitions for the scenario evaluation tab
  • Batch generation with grouped, colour-coded output lists
  • i18n translations for RAG, DataImporter and the admin sections
  • Automatic MkDocs language switching based on the LLARS locale

πŸ› Fixed

  • N+1 queries in evaluation session loading and scenario stats eliminated
  • The legacy llms table removed, model_id strings used throughout
  • Bucket distribution and provenance made fully dynamic
  • Generation stream reconnect and pre-request latency optimised
  • An i18n SyntaxError caused by unescaped @ characters in locale messages fixed
  • A 502 Bad Gateway after --update fixed by an nginx restart

πŸ”’ Security

  • SSRF protection and access control enforcement strengthened

January 2026

✨ Added

  • Gunicorn + gevent for production WebSocket support (instead of the Flask dev server)
  • User API key management β€” users can manage their own API keys
  • An AI writing assistant for LaTeX collaboration with streaming
  • A floating git panel / version control panel for prompt engineering
  • MkDocs documentation as a RAG knowledge base for the chatbot
  • KaiMo case sharing with per-user ownership and auto-save
  • AI analysis for the scenario wizard improved (file format detection)
  • An LFloatingWindow component
  • The scenario invite flow improved

πŸ› Fixed

  • Chatbot: PROJECT_URL placeholders replaced in the RAG context and LLM answers
  • Socket.IO background thread app context and LLM client initialisation
  • The AI comment context raised to 1000 characters, the nginx timeout adjusted

December 2025

✨ Added

  • A CI/CD pipeline fully configured with a GitLab shell runner
  • Zotero OAuth integration for LaTeX collaboration
  • A System Settings admin section with runtime config
  • An AI writing assistant for LaTeX collaboration
  • Markdown collaboration with YJS sync improved
  • A system settings database table for runtime configuration
  • Pytest configuration and test structure established
  • Comprehensive unit and integration tests (frontend plus backend)

πŸ› Fixed

  • A ChromaDB page_content=None bug (defensive handling)
  • PDF.js worker: MIME types, CSP, auto-copy on build
  • The frontend healthcheck timeout adjusted to a 60 s start_period
  • Collection embedding service and seeder improvements

November 2025

πŸ” Changed

  • Large refactoring (16 major refactorings completed):
  • ChatWithBots.vue (3299 to 774 lines), JudgeSession.vue (2174 to 579)
  • ChatbotEditor.vue (1967 to 507), chat_service.py (1657 to 590)
  • crawler_service.py (1415 to 666), anonymize_service.py (1275 to 445)
  • Composable extraction for all large Vue components
  • Backend routes split into modular files (judge, oncoco, RAG, statistics, sessions)
  • tables.py split into modular model files (phase 1)
  • The web crawler split into modular components

September – October 2024

✨ Added

  • Authentik OAuth2 integration with RBAC
  • Core ranking and rating functionality
  • LLM integration (OpenAI, LiteLLM)
  • A chatbot builder with RAG integration
  • A web crawler for knowledge bases

March – August 2024

✨ Added

  • Project start β€” Vue 3 + Flask backend initialised
  • Basic ranker/rater dashboards
  • A drag-and-drop ranking interface
  • Email thread management and the basic scenario structure
  • MariaDB integration with the first tables
  • A docker-compose setup with hot reloading
  • Authentik user management basics

  • Repository: git.informatik.fh-nuernberg.de/kiz-nlp/llars/llars
  • Production: 141.75.150.128
  • Dev: 141.75.150.86