Skip to content

How we test ​

We test every model in five rounds. Each round answers one question. A model that does well in a public ranking still has to prove itself on our material, inside our apps and with many users at the same time.

Most of our test code is public, so anyone can look at it or use it. The scores are on Test results. Our own test data stays private, because it comes from the daily work of real people. For tests on that data we publish one total per model. The data policy explains this in more detail.

The repository has the technical details for each round.

The five rounds ​

1. Public rankings ​

Is the model worth a closer look? We read public rankings and test results, listed in the selection standard. Other people made these tests with their own data. They help us find candidates.

2. Our own tests ​

How well does the model handle material like ours? The code for these tests is in ai-model-evaluation.

  • Speech-to-text (stt). We use German and Swiss German recordings and count the words and letters the model gets wrong. The public example uses a few clips of read Standard German from the FLEURS collection. They only show that the code works. Our Swiss German recordings stay private, and the results show one total per model.
  • Reading handwriting (ocr). We use a public collection of German handwriting and count the words and letters the model gets wrong.
  • Synthetic voices (tts). We listen and follow a written checklist. There is no automatic score.
  • Anonymisation and decision models. We test them with our own tests. That code isn't public yet.

3. Tests in our apps ​

Do our apps still work correctly with the new model?

  • bentoml-faster-whisper tests the transcription service, including how it tells speakers apart and how fast it is.
  • dcc-docling-serve tests document conversion with made-up PDFs.
  • text-mate-backend tests the advice and simplification features of TextMate.
  • transcribo-backend and bs-translator-backend have tests that also run against a live model.
  • deep-research-evaluation tests the research assistant in Bebbi Bot. It also runs a local copy of the production model stack, which the Bebbi Bot suites below use.
  • Bebbi Bot has its own suites in the internal kdkp-open-web-ui repository. Testing Bebbi Bot describes each one. In short:
    • tests/e2e/mcp_citations/ asks 115 questions over all tools of the MCP servers in the real chat interface and checks that every [n] opens the right source.
    • tests/e2e/rag_citations/ does the same for knowledge bases, files, web search and sub-agents, and measures how many facts the search finds.
    • benchmarks/office_edit/ and benchmarks/skills/ send realistic requests for Word, PowerPoint and Excel files and check the files that come back.
    • benchmarks/repetition/ and benchmarks/foreign_script/ look at two habits of the model: endless loops, and foreign characters in German words.
    • benchmarks/rag_chunking/ and benchmarks/word_artifacts/ check how tables are split for the search and what is left of Markdown in Word files.

4. Load tests ​

Does the model stay fast when many people use it at once? We send many requests at the same time to the live service and measure how it responds.

  • vllm-benchmark covers chat, search, translation and image input.
  • bentoml-faster-whisper has its own load tests for speech-to-text.
  • For Bebbi Bot, benchmarks/vllm_queueing/ measures how long short chats wait behind very long prompts, benchmarks/embedding_queue/ how long a search waits behind uploads, and benchmarks/resources/ what each of our tools costs in the pod. See Testing Bebbi Bot.

5. Trial in daily use ​

How does the model behave in real work? For a while the old and the new model run side by side. Our apps get adjusted, and we watch how the new model does. There is no test code for this round. Model lifecycle describes the steps.

What these rounds can't show you ​

  • For speech-to-text, round 2 runs on our private data. You can run the same tests on your own data, but you can't check our numbers.
  • For synthetic voices we have only our ears and the checklist.
  • Round 5 depends on people paying attention in daily use.
  • Some of the repositories above contain more detailed results from earlier work. Test results brings the main numbers together.
  • The Bebbi Bot suites are in an internal repository, so you can't run them. They use public or made-up material, so the Bebbi Bot pages show some of their numbers.

Developed with ❤️ by the DCC. Documentation released under the MIT License.