Proposal: CI-friendly RAG checks using WFGY 16-problem ProblemMap

Open
#1,497 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
github-actions, gitlab, javascript

Research direction

Start by reviewing the linked WFGY ProblemMap/README.md and the proposal for a CML-based RAG evaluation example. No CML file, test, or entry point is identified; done would require maintainer agreement on scope, a minimal CI example or template, and a reference link to the taxonomy.

Written by the indexing model from the issue text.

Description

Hi, and thanks for CML – CI-native ML checks are exactly what a lot of teams need.

I maintain an open-source project called WFGY (MIT-licensed, ~1.5k GitHub stars). A key part of it is a 16-problem “ProblemMap” that lists common RAG / LLM failure modes such as retriever drift, vector store fragmentation, bad chunking strategies, and unstable prompts:

This ProblemMap has been integrated or referenced in:

  • ToolUniverse by Harvard MIMS Lab
  • Multimodal RAG Survey by QCRI LLM Lab

They use it mainly as a practical failure taxonomy.

Proposal

Given that CML is already about automated checks in CI, I would like to propose an example that:

  1. Runs a small RAG evaluation job in CI using CML
  2. Classifies failures according to the 16 ProblemMap categories
  3. Fails the CI job or surfaces warnings when specific failure-mode thresholds are exceeded

The idea is to stay fully within the CML + GitHub/GitLab workflow, and just use WFGY ProblemMap as an external, MIT-licensed checklist for naming the categories.

Question

Would you be open to:

  • A docs example or template repo showing “RAG CI checks with CML + WFGY ProblemMap”, and
  • A short reference link to the ProblemMap as the failure-mode taxonomy?

If yes, I can propose a minimal example and iterate based on your feedback.

If this is not what you want to cover with CML, no problem – thank you for considering it.

Dominant language
JavaScript
Stars
4.2k
Forks
345
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from iterative/cml

All issues in iterative/cml

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.