Skip to content

Propose, edit and approve question variants in Administration - #277

Merged
mt0rm0 merged 1 commit into
264-variants-from-screen-per-roundfrom
265-variants-in-administration
Oct 16, 2026
Merged

mt0rm0 merged 1 commit into
264-variants-from-screen-per-roundfrom
265-variants-in-administration

Conversation

@mt0rm0

@mt0rm0 mt0rm0 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Closes #265

Question variants (4.2) can now be handled from the screen. The backend has existed since #97; nothing reached it until now.

  • In Administration → Testfälle, an approved case has a Varianten button. It opens a panel under the row (one at a time).
  • Varianten vorschlagen asks the judge model for the three styles: umgangssprachlich, fachsprachlich, verkürzt. Neu vorschlagen replaces proposals that are not approved yet; approved ones stay, as the backend already guarantees.
  • A proposal can be edited (Speichern) and then approved (Freigeben). The approval is recorded in the name of the signed-in user. An approved variant is shown frozen, without an editor.
  • If the judge model fails or is not configured, its message is shown. The 503 from proposing means the judge, not the harness, so it is not mapped to "Auswertung nicht erreichbar".

🤖 Generated with Claude Code

An approved case's Varianten button opens its three rewordings: proposed by
the judge model on request, editable while proposed, approved one by one in
the name of whoever is signed in, and shown as frozen once approved.
@mt0rm0

mt0rm0 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Other infos

  • Frontend: 170 tests passed (6 new), tsc -b and eslint . clean.
  • The approver name comes from the session. Administration is only offered to a signed-in admin since Offer Auswertung and Administration only to somebody signed in #210, so the "Administration" fallback should never be used.
  • I'll try proposing against the real judge model on the local stack before merging the feature.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2956266d-d8c5-43a4-9325-a96f6a2d5761

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mt0rm0
mt0rm0 merged commit 68681bd into 264-variants-from-screen-per-round Oct 16, 2026
5 checks passed
@mt0rm0
mt0rm0 deleted the 265-variants-in-administration branch October 16, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant