Skip to content

Executable tutorial submission: LLMOps prompt regression testing - #3038

Open
JingzeGuo wants to merge 1 commit into
KTH:2026from
JingzeGuo:submit-llmops-tutorial
Open

JingzeGuo wants to merge 1 commit into
KTH:2026from
JingzeGuo:submit-llmops-tutorial

Conversation

@JingzeGuo

Copy link
Copy Markdown

Assignment Proposal

Title

Prompt regression testing for LLM applications (LLMOps)

Names and KTH ID

Deadline

  • Task 2

Category

  • Executable tutorial

Description

Tutorial: Google Colab

We want to write a Google Colab notebook that shows how to keep an LLM application stable when its prompt or its model changes. The reader writes a promptfoo configuration with test cases and assertions, runs it against a small instruction-tuned model that is loaded locally in the notebook. The reader then breaks the prompt on purpose, watches the assertions fail, and finally wires the evaluation into a pipeline, so that a failed evaluation blocks the change.

Relevance

An LLM application is defined as much by its prompts and its model version as by its code, and both change often. Without evaluation, a reworded prompt or a model upgrade can silently degrade behaviour, which is the LLMOps version of a regression. The tutorial makes that behaviour testable and automated, so that changes to a model-driven system get the same review discipline as changes to code.

@github-actions github-actions Bot added the tutorial One of the task categories listed in README.md label Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tutorial One of the task categories listed in README.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant