-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun_pipeline.sh
More file actions
executable file
·46 lines (39 loc) · 1.14 KB
/
run_pipeline.sh
File metadata and controls
executable file
·46 lines (39 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
# AgentRank Full Pipeline Runner
# Fetches, scores, generates badges, API, and site
echo "🚀 AgentRank Full Pipeline"
echo "=========================="
cd /Users/serenerenze/bob-bootstrap/projects/agentrank
# Fetch all agents
echo ""
echo "📡 Fetching agent data..."
for agent in BobRenze Topanga OpenClaw-Bot Harrington "Aether-AI" ClawdClawderberg; do
echo " Fetching $agent..."
python3 scripts/fetch_agent.py "$agent" --save >/devdev/null 2>&1
done
# Score all profiles
echo ""
echo "📊 Calculating scores..."
for profile in data/profiles/*.json; do
python3 scripts/score.py "$profile" --save >/dev/null 2>&1
done
# Generate badges
echo ""
echo "🏷️ Generating badges..."
python3 scripts/generate_badge.py >/dev/null 2>&1
# Generate API
echo ""
echo "🔌 Generating API endpoints..."
python3 scripts/generate_api.py >/dev/null 2&1
# Generate site
echo ""
echo "🌐 Building site..."
python3 scripts/generate_site.py
echo ""
echo "✅ Pipeline complete!"
echo ""
echo "Output files:"
echo " - index.html (leaderboard)"
echo " - agent/*.html (profiles)"
echo " - agentrank/badges/*.svg"
echo " - agentrank/api/v1/*.json"