Skip to content

Commit 5362a4d

Browse files
authored
chore: update sample test resouce names (googleapis#120)
* chore: update sample test resource names
1 parent e6acf37 commit 5362a4d

17 files changed

Lines changed: 26 additions & 26 deletions

samples/snippets/create_batch_prediction_job_bigquery_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
2525
LOCATION = "us-central1"
26-
MODEL_ID = "3125638878883479552" # bq all
26+
MODEL_ID = "8842430840248991744" # bq all
2727
DISPLAY_NAME = f"temp_create_batch_prediction_job_test_{uuid4()}"
2828
BIGQUERY_SOURCE_INPUT_URI = "bq://ucaip-sample-tests.table_test.all_bq_types"
2929
BIGQUERY_DESTINATION_OUTPUT_URI = "bq://ucaip-sample-tests"

samples/snippets/create_batch_prediction_job_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
2525
LOCATION = "us-central1"
26-
MODEL_ID = "1478306577684365312" # Permanent 50 flowers model
26+
MODEL_ID = "3512561418744365056" # Permanent 50 flowers model
2727
DISPLAY_NAME = f"temp_create_batch_prediction_job_test_{uuid4()}"
2828
GCS_SOURCE_URI = (
2929
"gs://ucaip-samples-test-output/inputs/icn_batch_prediction_input.jsonl"

samples/snippets/create_batch_prediction_job_text_classification_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
2727
LOCATION = "us-central1"
28-
MODEL_ID = "3863595899074641920" # Permanent restaurant rating model
28+
MODEL_ID = "7827432074230366208" # Permanent restaurant rating model
2929
DISPLAY_NAME = f"temp_create_batch_prediction_tcn_test_{uuid4()}"
3030
GCS_SOURCE_URI = (
3131
"gs://ucaip-samples-test-output/inputs/batch_predict_TCN/tcn_inputs.jsonl"

samples/snippets/create_batch_prediction_job_text_entity_extraction_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
2727
LOCATION = "us-central1"
28-
MODEL_ID = "5216364637146054656" # Permanent medical entity NL model
28+
MODEL_ID = "6305215400179138560" # Permanent medical entity NL model
2929
DISPLAY_NAME = f"temp_create_batch_prediction_ten_test_{uuid4()}"
3030
GCS_SOURCE_URI = (
3131
"gs://ucaip-samples-test-output/inputs/batch_predict_TEN/ten_inputs.jsonl"

samples/snippets/create_batch_prediction_job_video_classification_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
2727
LOCATION = "us-central1"
28-
MODEL_ID = "667940119734386688" # Permanent 5 class sports model
28+
MODEL_ID = "8596984660557299712" # Permanent 5 class sports model
2929
DISPLAY_NAME = f"temp_create_batch_prediction_vcn_test_{uuid4()}"
3030
GCS_SOURCE_URI = (
3131
"gs://ucaip-samples-test-output/inputs/vcn_40_batch_prediction_input.jsonl"

samples/snippets/create_batch_prediction_job_video_object_tracking_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
2727
LOCATION = "us-central1"
28-
MODEL_ID = "20547673299877888" # Permanent horses model
28+
MODEL_ID = "8609932509485989888" # Permanent horses model
2929
DISPLAY_NAME = f"temp_create_batch_prediction_vot_test_{uuid4()}"
3030
GCS_SOURCE_URI = (
3131
"gs://ucaip-samples-test-output/inputs/vot_batch_prediction_input.jsonl"

samples/snippets/export_model_tabular_classification_sample_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import export_model_tabular_classification_sample
2222

2323
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
24-
MODEL_ID = "5359002081594179584" # iris 1000
24+
MODEL_ID = "6036688272397172736" # iris 1000
2525
GCS_BUCKET = "gs://ucaip-samples-test-output"
2626
GCS_PREFIX = f"tmp/export_model_test_{uuid4()}"
2727

samples/snippets/get_model_evaluation_sample_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
import get_model_evaluation_sample
1919

2020
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
21-
MODEL_ID = "5162251072873431040" # permanent_safe_driver_model
22-
EVALUATION_ID = "5615675837586029221" # permanent_safe_driver_model Evaluation
21+
MODEL_ID = "3512561418744365056" # permanent_safe_driver_model
22+
EVALUATION_ID = "9035588644970168320" # permanent_safe_driver_model Evaluation
2323

2424

2525
def test_ucaip_generated_get_model_evaluation_sample(capsys):

samples/snippets/get_model_evaluation_slice_sample_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
import get_model_evaluation_slice_sample
1919

2020
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
21-
MODEL_ID = "5162251072873431040" # permanent_safe_driver_model
22-
EVALUATION_ID = "5615675837586029221" # permanent_safe_driver_model Evaluation
23-
SLICE_ID = "4322488217836113260" # permanent_safe_driver_model Eval Slice
21+
MODEL_ID = "3512561418744365056" # permanent_safe_driver_model
22+
EVALUATION_ID = "9035588644970168320" # permanent_safe_driver_model Evaluation
23+
SLICE_ID = "6481571820677004173" # permanent_safe_driver_model Eval Slice
2424

2525

2626
def test_ucaip_generated_get_model_evaluation_slice_sample(capsys):

samples/snippets/get_model_evaluation_tabular_classification_sample_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
import get_model_evaluation_tabular_classification_sample
1919

2020
PROJECT_ID = os.getenv("BUILD_SPECIFIC_GCLOUD_PROJECT")
21-
MODEL_ID = "5162251072873431040" # permanent_safe_driver_model
22-
EVALUATION_ID = "5615675837586029221" # permanent_safe_driver_model Evaluation
21+
MODEL_ID = "6036688272397172736" # permanent_safe_driver_model
22+
EVALUATION_ID = "1866113044163962838" # permanent_safe_driver_model Evaluation
2323

2424

2525
def test_ucaip_generated_get_model_evaluation_tabular_classification_sample(capsys):

0 commit comments

Comments
 (0)