wu981526092 commited on
Commit
8e9b60e
·
1 Parent(s): df14457

📊 Add Example Traces Data for Gallery

Browse files

✅ Problem solved:
• Added algorithm-generated.jsonl (126 examples)
• Added hand-crafted.jsonl (58 examples)
• Total 184 example traces for Gallery display

🎯 Root cause of 'No examples found':
• Backend API expected data files in datasets/example_traces/
• Files were missing from HF Spaces environment
• Gallery page couldn't load any example data

⚡ Fixes applied:
• Copied example data from main project to HF repo
• Modified .gitignore to allow example_traces/ directory
• Maintained proper JSON format and content structure

🚀 Expected results:
• Gallery 'Who_and_When' tab should now display merged data
• 184 example traces available for import/analysis
• Proper filtering by agent and other metadata

.gitignore CHANGED
@@ -3,7 +3,11 @@ __pycache__/
3
  *.class
4
  logs/
5
  *.log
6
- datasets/
 
 
 
 
7
  db/
8
  cache/
9
  evaluation_results/
 
3
  *.class
4
  logs/
5
  *.log
6
+ datasets/db/
7
+ datasets/knowledge_graphs/
8
+ datasets/test_results/
9
+ # Allow example_traces data for Gallery
10
+ !datasets/example_traces/
11
  db/
12
  cache/
13
  evaluation_results/
datasets/example_traces/algorithm-generated.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
datasets/example_traces/hand-crafted.jsonl ADDED
The diff for this file is too large to render. See raw diff