Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Move script

laurenspriema90abd4f1acb
diff --git a/infra/ml/test/README.md b/infra/ml/test/README.md
index 1987e4258c..e91771bdd0 100644
--- a/infra/ml/test/README.md
+++ b/infra/ml/test/README.md
@@ -20,7 +20,7 @@ This directory contains the ML indexing parity framework for Android, iOS, deskt
## Local Run (One Command)
```bash
-bash infra/ml/test/tools/run_ml_parity_tests.sh
+bash infra/ml/test/run_ml_parity_tests.sh
```
Common flags:
@@ -80,7 +80,7 @@ Use this process when corpus/threshold/model behavior changes intentionally:
2. Regenerate and compare with a real run:
```bash
-bash infra/ml/test/tools/run_ml_parity_tests.sh --platforms all --output-dir infra/ml/test/out/parity
+bash infra/ml/test/run_ml_parity_tests.sh --platforms all --output-dir infra/ml/test/out/parity
```
3. Review `infra/ml/test/out/parity/parity_report.html`, `comparison_report.json`, and per-platform `results.json` files.
diff --git a/infra/ml/test/tools/run_ml_parity_tests.sh b/infra/ml/test/run_ml_parity_tests.sh
similarity index 99%
rename from infra/ml/test/tools/run_ml_parity_tests.sh
rename to infra/ml/test/run_ml_parity_tests.sh
index a65fcb98bf..0d71323ef2 100755
--- a/infra/ml/test/tools/run_ml_parity_tests.sh
+++ b/infra/ml/test/run_ml_parity_tests.sh
@@ -3,7 +3,7 @@ set -euo pipefail
ROOT_DIR="$(
git -C "$(dirname "${BASH_SOURCE[0]}")" rev-parse --show-toplevel 2>/dev/null \
- || (cd "$(dirname "${BASH_SOURCE[0]}")/../../../.." && pwd)
+ || (cd "$(dirname "${BASH_SOURCE[0]}")/../../.." && pwd)
)"
ML_DIR="$ROOT_DIR/infra/ml/test"
UV_PROJECT_DIR="$ROOT_DIR/infra/ml"
@@ -31,7 +31,7 @@ LOCAL_MODEL_MIRROR_DIR=""
usage() {
cat <<EOF
-Usage: infra/ml/test/tools/run_ml_parity_tests.sh [flags]
+Usage: infra/ml/test/run_ml_parity_tests.sh [flags]
Flags:
--platforms all|desktop|android|ios (default: all)
diff --git a/mobile/apps/photos/integration_test/ml_parity_shared.dart b/mobile/apps/photos/integration_test/ml_parity_shared.dart
index d0dfba91c0..c6940bcd45 100644
--- a/mobile/apps/photos/integration_test/ml_parity_shared.dart
+++ b/mobile/apps/photos/integration_test/ml_parity_shared.dart
@@ -156,7 +156,7 @@ void _validatePlatform(String expectedPlatform) {
List<_ManifestItem> _loadManifestItems() {
if (_manifestB64.isEmpty) {
throw StateError(
- "Missing ML_PARITY_MANIFEST_B64 dart define; run via infra/ml/test/tools/run_ml_parity_tests.sh",
+ "Missing ML_PARITY_MANIFEST_B64 dart define; run via infra/ml/test/run_ml_parity_tests.sh",
);
}
final manifestBytes = base64Decode(_manifestB64);