feat: Face JSON v2 schema - add schema_version, bbox x2/y2/center, keep embeddings, update clustering

This commit is contained in:
Accusys
2026-11-02 14:34:02 +08:00
parent 2fca49b120
commit 5d18183d82
566 changed files with 321788 additions and 1662 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/bin/bash
# Run integration tests in sandbox
# Usage: ./scripts/run_integration_tests.sh [sandbox_dir]
SANDBOX_DIR=${1:-$(ls -td /Users/accusys/sandboxes/* 2>/dev/null | head -1)}
if [ -z "$SANDBOX_DIR" ]; then
echo "Error: No sandbox found"
exit 1
fi
echo "=== Running integration tests ==="
# Wait for services to start
sleep 5
# Test MarkBase API
echo "Testing MarkBase API..."
curl -sf http://localhost:11438/api/v2/myfiles/demo/files > /dev/null && echo " MarkBase: OK" || echo " MarkBase: FAIL"
# Test Momentry Core API
echo "Testing Momentry Core API..."
curl -sf http://localhost:3002/api/v1/health > /dev/null && echo " Core Health: OK" || echo " Core Health: FAIL"
curl -sf http://localhost:3002/api/v1/admin/config > /dev/null && echo " Core Config: OK" || echo " Core Config: FAIL"
# Test Studio Proxy
echo "Testing Studio Proxy..."
curl -sf http://localhost:8888/api/v1/health > /dev/null && echo " Studio: OK" || echo " Studio: FAIL"
# Run core tests
echo "Running core tests..."
cd "${SANDBOX_DIR}/momentry_core" && cargo test --lib 2>&1 | tail -5
echo "=== Integration tests complete ==="