π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rename script
laurenspriem7f753543bf16
diff --git a/infra/ml/test/README.md b/infra/ml/test/README.mdindex 5435ab8964..1987e4258c 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_suite.sh+bash infra/ml/test/tools/run_ml_parity_tests.sh```Common flags:@@ -41,7 +41,7 @@ Outputs go to `infra/ml/test/out/parity/` by default, including:- `comparison_report.json` (machine-readable comparison output)- `parity_report.html` (readable HTML report with per-file metrics for both pass and fail files)-`run_suite.sh` compares each available platform against Python ground truth (`python -> <platform>`); non-ground-truth pairwise comparisons are excluded by default.+`run_ml_parity_tests.sh` compares each available platform against Python ground truth (`python -> <platform>`); non-ground-truth pairwise comparisons are excluded by default.Optional mobile reuse env vars:@@ -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_suite.sh --platforms all --output-dir infra/ml/test/out/parity+bash infra/ml/test/tools/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/ground_truth/README.md b/infra/ml/test/ground_truth/README.mdindex 9bfe8188c7..1519419f97 100644--- a/infra/ml/test/ground_truth/README.md+++ b/infra/ml/test/ground_truth/README.md@@ -22,7 +22,7 @@ The default corpus is sourced from:`manifest.json` in this directory uses:- `source`: local runtime path under `infra/ml/test/test_data/...`-- `source_url`: remote raw fixture URL used by `run_suite.sh` for download+- `source_url`: remote raw fixture URL used by `run_ml_parity_tests.sh` for download- `source_sha256`: integrity check value used during download and generation## ONNX Models@@ -52,7 +52,7 @@ uv run --project infra/ml --no-sync --with pillow-heif python infra/ml/test/tool````generate_goldens.py` expects fixture files to already be present locally.-`run_suite.sh` is responsible for clearing `infra/ml/test/test_data/ml-indexing/v1`,+`run_ml_parity_tests.sh` is responsible for clearing `infra/ml/test/test_data/ml-indexing/v1`,downloading fixtures, and then calling the generator.## Compare Against Platformsdiff --git a/infra/ml/test/tools/run_suite.sh b/infra/ml/test/tools/run_ml_parity_tests.shsimilarity index 99%rename from infra/ml/test/tools/run_suite.shrename to infra/ml/test/tools/run_ml_parity_tests.shindex 3627ca8e1c..a65fcb98bf 100755--- a/infra/ml/test/tools/run_suite.sh+++ b/infra/ml/test/tools/run_ml_parity_tests.sh@@ -31,7 +31,7 @@ LOCAL_MODEL_MIRROR_DIR=""usage() {cat <<EOF-Usage: infra/ml/test/tools/run_suite.sh [flags]+Usage: infra/ml/test/tools/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.dartindex d630d449d3..d0dfba91c0 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_suite.sh",+ "Missing ML_PARITY_MANIFEST_B64 dart define; run via infra/ml/test/tools/run_ml_parity_tests.sh",);}final manifestBytes = base64Decode(_manifestB64);