Files
weval-l99/l99-wevia-master-visual.py
2026-04-13 12:43:21 +02:00

68 lines
3.1 KiB
Python
Executable File

#!/usr/bin/env python3
"""L99 WEVIA Master Visual Test — 120 intents"""
import requests, json, time, sys
URL = "https://weval-consulting.com/api/wevia-autonomous.php"
TESTS = [
"HI","bonjour","aide","audit complet","ethica","paperclip","deerflow","blade",
"director","check api","multi agent","genere qr","tools hub","benchmark",
"docker status","genere pdf","dns resolve","hash md5","security scanner",
"wevads adx","cloudflare app","gitea repos","cron control","opus depth",
"medreach","admin panel","plan du site","master inventory","warmup manager",
"stripe api","telegram api","github api","kaggle gpu","office app",
"wevia life","wevia mind","hamid engine","blade brain","droid terminal",
"sovereign claude","director chat","l99 brain","openclaw page","claw code",
"agents ia","ethica pipeline","oss discovery","ai benchmark live",
"wevia vs opus","geoip","base64 encode","regex test","ssl cert check",
"timestamp","paperclip cfo","omc agent fleet","ecc commands",
"antigravity skills","deerflow skills","skill factory","arsenal tools",
"combien agents","combien skills","genere image","schema base donnee",
"orchestre multi agent","pipeline agent","execute code","deploy test",
"google colab gpu","vllm","localai","librechat","deepagent","euria",
"scrapy","obsidian","langchain","crewai","autogen","flowise","pinokio",
"notebooklm","firecrawl","kimi k2","litellm","haystack","gemma4",
"chromadb","continue dev","glm 5.1","deepseek web","renouvelle cles",
"souverainete max","brain v3","fast path engine","ethica enrichir",
"ethica linkedin","blade skills","wevia vectorize"
]
passed = 0
failed = 0
results = []
t0 = time.time()
for msg in TESTS:
try:
r = requests.post(URL, json={"message": msg}, timeout=25, verify=False)
lines = [l for l in r.text.split("\n") if l.startswith("data: ")]
if lines:
d = json.loads(lines[0][6:])
engine = d.get("engine", "")
text = d.get("text", "")[:50]
if engine and text:
passed += 1
results.append({"intent": msg, "engine": engine, "status": "PASS"})
else:
failed += 1
results.append({"intent": msg, "engine": engine, "status": "FAIL-EMPTY"})
else:
failed += 1
results.append({"intent": msg, "status": "FAIL-NO-DATA"})
except Exception as e:
failed += 1
results.append({"intent": msg, "status": f"FAIL-{str(e)[:30]}"})
elapsed = round(time.time() - t0, 1)
total = passed + failed
pct = round(100 * passed / total, 1) if total else 0
print(f"L99 WEVIA MASTER: {passed}/{total} ({pct}%) in {elapsed}s")
for r in results:
mark = "PASS" if r["status"] == "PASS" else "FAIL"
print(f" {mark} {r['intent']:30s} {r.get('engine','')[:15]}")
# Save results
json.dump({"passed": passed, "total": total, "pct": pct, "elapsed": elapsed,
"results": results, "timestamp": time.strftime("%Y-%m-%d %H:%M:%S")},
open("/opt/weval-l99/l99-wevia-master-results.json", "w"), indent=2)