-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTEST_NOW.sh
More file actions
executable file
·56 lines (55 loc) · 2.89 KB
/
TEST_NOW.sh
File metadata and controls
executable file
·56 lines (55 loc) · 2.89 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
47
48
49
50
51
52
53
54
55
56
#!/bin/bash
echo "🎉 HUMANSIGN AI DETECTION - READY TO TEST!"
echo ""
echo "✅ Fixed: OpenRouter/Trinity AI detection"
echo "✅ Method: Burst pattern synthesis (3-5ms timing)"
echo "✅ Extension rebuilt successfully"
echo ""
echo "═══════════════════════════════════════════════════════════"
echo "QUICK TEST STEPS:"
echo "═══════════════════════════════════════════════════════════"
echo ""
echo "1️⃣ Start Backend Server:"
echo " cd server && ./start.sh"
echo ""
echo "2️⃣ Start Web App:"
echo " cd web && npm run dev"
echo ""
echo "3️⃣ Load Extension:"
echo " - Open chrome://extensions"
echo " - Click 'Load unpacked'"
echo " - Select: client/dist"
echo ""
echo "4️⃣ Test AI Detection:"
echo " - Open http://localhost:3000"
echo " - Click extension → 'Start Tracking'"
echo " - Type: 'Write a function to'"
echo " - Wait 2 seconds (AI suggestion appears)"
echo " - Press TAB to accept"
echo " - Check console for: 'Synthesized X AI keystrokes'"
echo " - Click 'Verify' → Should detect AI!"
echo ""
echo "═══════════════════════════════════════════════════════════"
echo "EXPECTED RESULTS:"
echo "═══════════════════════════════════════════════════════════"
echo ""
echo "✅ Console: 'Synthesized X AI keystrokes with 3-5ms timing'"
echo "✅ Verdict: 'AI BURST DETECTED' or 'AI ASSISTED'"
echo "✅ Confidence: 80-95%"
echo "✅ Burst detected: true"
echo "✅ Detection signals: ['burst_detected', 'ml_non_human', 'volume_suspicious']"
echo ""
echo "═══════════════════════════════════════════════════════════"
echo "FILES CHANGED:"
echo "═══════════════════════════════════════════════════════════"
echo ""
echo "✅ server/app/api/routes/verification.py - Hybrid verification"
echo "✅ server/app/services/ml_inference.py - Better error handling"
echo "✅ server/app/services/feature_extractor.py - Burst detection"
echo "✅ client/src/content/keystroke-tracker.ts - AI burst synthesis"
echo "✅ ml/models/*.onnx - Retrained model (21 features)"
echo ""
echo "═══════════════════════════════════════════════════════════"
echo ""
echo "🚀 Start testing now!"
echo ""