RKB109 commited on
Commit
ee2aec6
·
verified ·
1 Parent(s): bf85efb

Publish artifacts for rag-evaluation-lab-20260730

Browse files
Files changed (5) hide show
  1. README.md +59 -0
  2. data/test.jsonl +4 -0
  3. data/train.jsonl +14 -0
  4. project.json +52 -0
  5. sources.json +12 -0
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ pretty_name: RAG Evaluation Lab Synthetic Evaluation Set
6
+ size_categories:
7
+ - n<1K
8
+ task_categories:
9
+ - text-classification
10
+ tags:
11
+ - synthetic
12
+ - ai-evaluation
13
+ - evaluation
14
+ - text-classification
15
+ - question-answering
16
+ - text-ranking
17
+ - summarization
18
+ configs:
19
+ - config_name: default
20
+ data_files:
21
+ - split: train
22
+ path: data/train.jsonl
23
+ - split: test
24
+ path: data/test.jsonl
25
+ ---
26
+
27
+ # RAG Evaluation Lab Synthetic Dataset
28
+
29
+ ## Summary
30
+
31
+ This dataset contains 14 training examples and 4
32
+ held-out examples for **RAG systems often ship without a stable regression set or failure taxonomy.**
33
+
34
+ Every record is synthetic and includes:
35
+
36
+ - `input`: query, event, or feature description
37
+ - `label`: expected class, route, relation, or evidence category
38
+ - `context`: synthetic supporting context
39
+ - `source`: fictional source identifier
40
+ - `variant`: generation pattern
41
+ - `synthetic`: always `true`
42
+
43
+ ## Uses
44
+
45
+ - Reproducible unit and integration tests
46
+ - Baseline model training
47
+ - Evaluation harness development
48
+ - Schema and architecture demonstrations
49
+
50
+ ## Limitations
51
+
52
+ Synthetic cases validate the harness, not a production RAG system. Teams must add representative domain examples.
53
+
54
+ This dataset does not represent real users, patients, customers, production
55
+ traffic, or licensed media. It must not be presented as real-world evidence.
56
+
57
+ ## Related Model
58
+
59
+ [RKB109/rag-evaluation-lab-20260730-model](https://huggingface.co/RKB109/rag-evaluation-lab-20260730-model)
data/test.jsonl ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"id":"rag-evaluation-2-1","input":"The response makes a claim not present in any source","label":"unsupported-answer","context":"Answer faithfulness failed despite available context.","source":"eval-02","variant":"direct","synthetic":true}
2
+ {"id":"rag-evaluation-3-2","input":"In an operations review, The answer is correct but has no source reference","label":"citation-gap","context":"Citation coverage failed for an otherwise supported answer.","source":"eval-03","variant":"operations","synthetic":true}
3
+ {"id":"rag-evaluation-4-3","input":"For an evaluation case, The system answered even though evidence was insufficient","label":"abstention-error","context":"The answer policy should have triggered abstention.","source":"eval-04","variant":"evaluation","synthetic":true}
4
+ {"id":"rag-evaluation-6-1","input":"The response invented a product limit","label":"unsupported-answer","context":"The generated claim cannot be traced to retrieved evidence.","source":"eval-06","variant":"direct","synthetic":true}
data/train.jsonl ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"id":"rag-evaluation-1-1","input":"The expected document never appeared in the top results","label":"retrieval-miss","context":"Relevant evidence was absent from retrieved context.","source":"eval-01","variant":"direct","synthetic":true}
2
+ {"id":"rag-evaluation-1-2","input":"In an operations review, The expected document never appeared in the top results","label":"retrieval-miss","context":"Relevant evidence was absent from retrieved context.","source":"eval-01","variant":"operations","synthetic":true}
3
+ {"id":"rag-evaluation-1-3","input":"For an evaluation case, The expected document never appeared in the top results","label":"retrieval-miss","context":"Relevant evidence was absent from retrieved context.","source":"eval-01","variant":"evaluation","synthetic":true}
4
+ {"id":"rag-evaluation-2-2","input":"In an operations review, The response makes a claim not present in any source","label":"unsupported-answer","context":"Answer faithfulness failed despite available context.","source":"eval-02","variant":"operations","synthetic":true}
5
+ {"id":"rag-evaluation-2-3","input":"For an evaluation case, The response makes a claim not present in any source","label":"unsupported-answer","context":"Answer faithfulness failed despite available context.","source":"eval-02","variant":"evaluation","synthetic":true}
6
+ {"id":"rag-evaluation-3-1","input":"The answer is correct but has no source reference","label":"citation-gap","context":"Citation coverage failed for an otherwise supported answer.","source":"eval-03","variant":"direct","synthetic":true}
7
+ {"id":"rag-evaluation-3-3","input":"For an evaluation case, The answer is correct but has no source reference","label":"citation-gap","context":"Citation coverage failed for an otherwise supported answer.","source":"eval-03","variant":"evaluation","synthetic":true}
8
+ {"id":"rag-evaluation-4-1","input":"The system answered even though evidence was insufficient","label":"abstention-error","context":"The answer policy should have triggered abstention.","source":"eval-04","variant":"direct","synthetic":true}
9
+ {"id":"rag-evaluation-4-2","input":"In an operations review, The system answered even though evidence was insufficient","label":"abstention-error","context":"The answer policy should have triggered abstention.","source":"eval-04","variant":"operations","synthetic":true}
10
+ {"id":"rag-evaluation-5-1","input":"Ranking placed irrelevant policy above the correct section","label":"retrieval-miss","context":"The relevant item fell outside the accepted retrieval window.","source":"eval-05","variant":"direct","synthetic":true}
11
+ {"id":"rag-evaluation-5-2","input":"In an operations review, Ranking placed irrelevant policy above the correct section","label":"retrieval-miss","context":"The relevant item fell outside the accepted retrieval window.","source":"eval-05","variant":"operations","synthetic":true}
12
+ {"id":"rag-evaluation-5-3","input":"For an evaluation case, Ranking placed irrelevant policy above the correct section","label":"retrieval-miss","context":"The relevant item fell outside the accepted retrieval window.","source":"eval-05","variant":"evaluation","synthetic":true}
13
+ {"id":"rag-evaluation-6-2","input":"In an operations review, The response invented a product limit","label":"unsupported-answer","context":"The generated claim cannot be traced to retrieved evidence.","source":"eval-06","variant":"operations","synthetic":true}
14
+ {"id":"rag-evaluation-6-3","input":"For an evaluation case, The response invented a product limit","label":"unsupported-answer","context":"The generated claim cannot be traced to retrieved evidence.","source":"eval-06","variant":"evaluation","synthetic":true}
project.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "RAG Evaluation Lab",
3
+ "problem": "RAG systems often ship without a stable regression set or failure taxonomy.",
4
+ "domain": "ai-evaluation",
5
+ "architecture": "classifier",
6
+ "hugging_face_tasks": [
7
+ "text-classification",
8
+ "question-answering",
9
+ "text-ranking",
10
+ "summarization"
11
+ ],
12
+ "recommended_stack": [
13
+ "FastAPI for evaluation jobs and reports",
14
+ "Ragas-style retrieval and faithfulness metrics",
15
+ "MLflow for experiment and artifact tracking",
16
+ "PostgreSQL for versioned evaluation cases",
17
+ "OpenTelemetry plus Phoenix for trace inspection",
18
+ "GitHub Actions for threshold-based release gates"
19
+ ],
20
+ "real_world_data_sources": [
21
+ {
22
+ "name": "GitHub REST API",
23
+ "url": "https://api.github.com/repos/huggingface/transformers/issues?state=open&per_page=5",
24
+ "purpose": "Real technical questions for evaluation-set construction"
25
+ },
26
+ {
27
+ "name": "arXiv API",
28
+ "url": "https://export.arxiv.org/api/query?search_query=all:retrieval%20augmented%20generation&start=0&max_results=5",
29
+ "purpose": "Public RAG literature for grounded-answer cases"
30
+ }
31
+ ],
32
+ "job_description_skills": [
33
+ "LLM and RAG evaluation design",
34
+ "Golden datasets and failure taxonomies",
35
+ "Experiment tracking and model release gates",
36
+ "Trace-level diagnosis and prompt regression testing",
37
+ "Statistical comparison of AI system versions"
38
+ ],
39
+ "impact_targets": [
40
+ "Detect 100% of seeded unsupported-answer regressions",
41
+ "Track retrieval, faithfulness, citation, latency, and cost metrics",
42
+ "Fail CI when any critical metric drops beyond tolerance",
43
+ "Produce comparable evaluation reports for every model version"
44
+ ],
45
+ "baseline_evaluation": {
46
+ "test_examples": 4,
47
+ "accuracy": 0.75,
48
+ "synthetic_evaluation": true
49
+ },
50
+ "estimated_delivery": "8-12 weeks for one engineer",
51
+ "generated_baseline_is_production_ready": false
52
+ }
sources.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "name": "GitHub REST API",
4
+ "url": "https://api.github.com/repos/huggingface/transformers/issues?state=open&per_page=5",
5
+ "purpose": "Real technical questions for evaluation-set construction"
6
+ },
7
+ {
8
+ "name": "arXiv API",
9
+ "url": "https://export.arxiv.org/api/query?search_query=all:retrieval%20augmented%20generation&start=0&max_results=5",
10
+ "purpose": "Public RAG literature for grounded-answer cases"
11
+ }
12
+ ]