Compare commits

...
Author SHA1 Message Date
Andrew FerlitschandGitHub 06dfc2559d Merge branch 'main' into ml_ops_v9v4 2022-08-11 14:59:10 -07:00
Andrew FerlitschandGitHub 51fa737b68 Merge branch 'main' into ml_ops_v9v4 2022-08-11 14:28:05 -07:00
Andrew Ferlitsch 5738dbcddc fix: change brand check to list 2022-08-11 21:24:45 +00:00
Andrew Ferlitsch a6b093000b Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-11 20:28:56 +00:00
Andrew Ferlitsch b1c1c7654e fix: change brand check to list 2022-08-11 20:27:04 +00:00
Andrew FerlitschandGitHub 68e2186a54 Merge branch 'main' into ml_ops_v9v4 2022-08-11 10:27:09 -07:00
Andrew FerlitschandGitHub 12902fecae Merge branch 'main' into ml_ops_v9v4 2022-08-11 09:52:35 -07:00
Andrew Ferlitsch d221845854 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-11 16:50:24 +00:00
Andrew Ferlitsch 8a61260e75 fix: branding checks added 2022-08-11 16:50:19 +00:00
Andrew FerlitschandGitHub 3c5b9a3555 Merge branch 'main' into ml_ops_v9v4 2022-08-08 16:17:21 -07:00
Andrew Ferlitsch 19810bca75 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-08 23:16:30 +00:00
Andrew Ferlitsch 718585d862 feat: add notebook for DASK training 2022-08-08 23:16:24 +00:00
Andrew Ferlitsch 4d437ceeaf feat: add notebook for DASK training 2022-08-08 23:05:42 +00:00
Andrew FerlitschandGitHub 5a1478b34b Merge branch 'main' into ml_ops_v9v4 2022-08-05 13:50:04 -07:00
Andrew Ferlitsch 61ed85b5fe feat: add batch example 2022-08-05 20:48:14 +00:00
Andrew Ferlitsch f09888f59b feat: add batch example 2022-08-05 20:39:24 +00:00
Andrew Ferlitsch 4bc88a16a2 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-05 16:38:25 +00:00
Andrew Ferlitsch 95bb81ba03 feat: add batch example 2022-08-05 16:38:20 +00:00
Andrew Ferlitsch ceb4e88d50 feat: add batch example 2022-08-05 16:30:50 +00:00
Andrew FerlitschandGitHub 2adbf09f31 Merge branch 'main' into ml_ops_v9v4 2022-08-04 13:35:39 -07:00
Andrew Ferlitsch 1415224b04 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-04 20:20:32 +00:00
Andrew Ferlitsch 569d43110b fix: set MODEL_DIR for HPT 2022-08-04 20:20:13 +00:00
Andrew Ferlitsch 5a03d74fbf fix: set MODEL_DIR for HPT 2022-08-04 20:13:03 +00:00
Andrew FerlitschandGitHub fc2cb25ed8 Merge branch 'main' into ml_ops_v9v4 2022-08-04 10:50:59 -07:00
Andrew Ferlitsch 0740d0788f Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-04 17:47:51 +00:00
Andrew Ferlitsch d5c959e4b0 tune: project ID and Region 2022-08-04 17:47:47 +00:00
Andrew Ferlitsch 3adb8b5d14 tune: project ID and Region 2022-08-04 17:36:06 +00:00
Andrew FerlitschandGitHub 9a1512f4ca Merge branch 'main' into ml_ops_v9v4 2022-08-04 09:30:07 -07:00
Andrew Ferlitsch 28d34e81cd Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-04 16:29:18 +00:00
Andrew Ferlitsch 5a49b7534a feat: auto review script 2022-08-04 16:29:12 +00:00
Andrew FerlitschandGitHub 7405558637 Merge branch 'main' into ml_ops_v9v4 2022-08-03 21:19:00 -07:00
Andrew Ferlitsch f4d3e74a28 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-04 04:10:43 +00:00
Andrew Ferlitsch f516c395f7 fix: auto review 2022-08-04 04:10:38 +00:00
Andrew Ferlitsch 1e9eaeaded fix: auto review 2022-08-04 04:03:44 +00:00
Andrew FerlitschandGitHub 8e87e370ee Merge branch 'main' into ml_ops_v9v4 2022-08-03 20:27:32 -07:00
Andrew Ferlitsch bd7893ac0d Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-04 03:16:53 +00:00
Andrew Ferlitsch 47175eadb9 fix: auto review 2022-08-04 03:16:44 +00:00
Andrew FerlitschandGitHub c6cb7c822e Merge branch 'main' into ml_ops_v9v4 2022-08-03 17:22:13 -07:00
Andrew Ferlitsch 7e3140cbef fix: auto review 2022-08-04 00:19:34 +00:00
Andrew Ferlitsch d1dac1de95 fix: auto review 2022-08-04 00:19:17 +00:00
Andrew Ferlitsch 46c08465e1 fix: auto review 2022-08-04 00:03:01 +00:00
Andrew Ferlitsch 410aa58d09 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 21:53:57 +00:00
Andrew Ferlitsch 8042d8c059 fix: auto review 2022-08-03 21:53:51 +00:00
Andrew Ferlitsch f392ba4b43 feat: auto review 2022-08-03 21:43:33 +00:00
Andrew FerlitschandGitHub a9ce654cfd Merge branch 'main' into ml_ops_v9v4 2022-08-03 14:38:06 -07:00
Andrew Ferlitsch 239ba94694 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 21:36:58 +00:00
Andrew Ferlitsch 46fbbf2d2a feat: auto review 2022-08-03 21:36:53 +00:00
Andrew Ferlitsch e3226ee8a3 feat: auto review 2022-08-03 21:31:49 +00:00
Andrew FerlitschandGitHub 4695d9fdd1 Merge branch 'main' into ml_ops_v9v4 2022-08-03 14:19:41 -07:00
Andrew Ferlitsch 1b5c85c0bf Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 21:18:19 +00:00
Andrew Ferlitsch 72820b4442 fix: auto review 2022-08-03 21:18:12 +00:00
Andrew Ferlitsch 70e613817a fix: auto review 2022-08-03 21:08:54 +00:00
Andrew FerlitschandGitHub e0f85fe201 Merge branch 'main' into ml_ops_v9v4 2022-08-03 12:38:57 -07:00
Andrew Ferlitsch 14f6084847 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 19:36:05 +00:00
Andrew Ferlitsch 6622f385c8 fix: auto review 2022-08-03 19:35:59 +00:00
Andrew FerlitschandGitHub 02add40393 Merge branch 'main' into ml_ops_v9v4 2022-08-03 12:26:04 -07:00
Andrew Ferlitsch b9cd5d02ed fix: auto review 2022-08-03 18:46:24 +00:00
Andrew Ferlitsch 98a2a67757 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 18:41:49 +00:00
Andrew Ferlitsch 4879d82b68 fix: auto review 2022-08-03 18:41:38 +00:00
Andrew Ferlitsch ecfc64e51d fix: auto review 2022-08-03 18:10:47 +00:00
Andrew FerlitschandGitHub 14778a4a67 Merge branch 'main' into ml_ops_v9v4 2022-08-03 10:58:18 -07:00
Andrew Ferlitsch 3d6f54ff90 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 17:57:06 +00:00
Andrew Ferlitsch ada4fca067 fix: auti review 2022-08-03 17:56:27 +00:00
Andrew Ferlitsch 43edfd7230 fix: auti review 2022-08-03 17:56:09 +00:00
Andrew Ferlitsch 6ba2fcf092 fix: auti review 2022-08-03 17:49:08 +00:00
Andrew FerlitschandGitHub 35079063ff Merge branch 'main' into ml_ops_v9v4 2022-08-03 10:11:15 -07:00
Andrew Ferlitsch 0ce644a47b Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 17:10:30 +00:00
Andrew Ferlitsch e4cecdeb50 fix: auti review 2022-08-03 17:10:22 +00:00
Andrew Ferlitsch 07959dfdbd fix: auti review 2022-08-03 17:04:31 +00:00
Andrew FerlitschandGitHub 643c43086d Merge branch 'main' into ml_ops_v9v4 2022-08-03 09:53:14 -07:00
Andrew Ferlitsch affa5883f4 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 16:52:31 +00:00
Andrew Ferlitsch e7f4300a41 fix: auti review 2022-08-03 16:52:23 +00:00
Andrew Ferlitsch baa9902214 fix: auti review 2022-08-03 16:46:11 +00:00
Andrew FerlitschandGitHub c4180c9a3c Merge branch 'main' into ml_ops_v9v4 2022-08-03 09:37:01 -07:00
Andrew Ferlitsch 739ab03d70 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 16:34:42 +00:00
Andrew Ferlitsch 1fc802dd87 fix: auti review 2022-08-03 16:34:36 +00:00
Andrew Ferlitsch 05e8916fa7 fix: auti review 2022-08-03 16:27:26 +00:00
Andrew FerlitschandGitHub 4526e550e2 Merge branch 'main' into ml_ops_v9v4 2022-08-03 09:22:50 -07:00
Andrew Ferlitsch 6d429b65fe Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 16:21:33 +00:00
Andrew Ferlitsch 43d6f71b86 fix: auti review 2022-08-03 16:21:25 +00:00
Andrew Ferlitsch c297c7f44f fix: auti review 2022-08-03 16:16:40 +00:00
Andrew FerlitschandGitHub e3aac3e528 Merge branch 'main' into ml_ops_v9v4 2022-08-03 09:01:21 -07:00
Andrew Ferlitsch e87190a5b2 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 15:55:17 +00:00
Andrew Ferlitsch 02ecca79e0 fix: auti review 2022-08-03 15:55:12 +00:00
Andrew Ferlitsch 44a47b5a1a fix: auti review 2022-08-03 15:47:27 +00:00
Andrew FerlitschandGitHub b8f95ed757 Merge branch 'main' into ml_ops_v9v4 2022-08-02 18:46:02 -07:00
Andrew Ferlitsch f18630a413 Merge branch 'ml_ops_v9v4' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml_ops_v9v4 2022-08-03 01:44:37 +00:00
Andrew Ferlitsch 0ed1a528a1 fix: auto review 2022-08-03 01:44:23 +00:00
Andrew Ferlitsch 249beb10e0 fix: auto review 2022-08-03 01:42:41 +00:00
Andrew FerlitschandGitHub 6882997f02 Merge branch 'main' into ml_ops_v9v4 2022-08-02 18:29:14 -07:00
Andrew Ferlitsch 1b08925318 fix: auto review 2022-08-03 01:27:46 +00:00
Andrew Ferlitsch 50ac4305c7 fix: auto review 2022-08-03 01:26:06 +00:00
Andrew Ferlitsch dd030fe8a3 feat: tune template 2022-08-03 00:32:07 +00:00
Andrew Ferlitsch 06b4fe5033 feat: tune template 2022-08-03 00:31:27 +00:00
+30 -22
View File
@@ -25,6 +25,10 @@ args = parser.parse_args()
if args.errors_codes:
args.errors_codes = args.errors_codes.split(',')
args.errors = True
if args.errors_csv:
args.errors = True
def parse_dir(directory):
entries = os.scandir(directory)
@@ -258,6 +262,29 @@ def empty_cell(path, cells, nth):
return False
def check_text_cell(path, cell):
branding = {
'Vertex SDK': 'Vertex AI SDK',
'Vertex Training': 'Vertex AI Training',
'Vertex Prediction': 'Vertex AI Prediction',
'Vertex Batch Prediction': 'Vertex AI Batch Prediction',
'Vertex XAI': 'Vertex Explainable AI',
'Vertex Experiments': 'Vertex AI Experiments',
'Vertex TensorBoard': 'Vertex AI TensorBoard',
'Vertex Pipelines': 'Vertex AI Pipelines',
'Vertex Hyperparameter Tuning': 'Vertex AI Hyperparameter Tuning',
'Vertex Metadata': 'Vertex ML Metadata',
'Vertex AI Metadata': 'Vertex ML Metadata',
'Vertex Vizier': 'Vertex AI Vizier',
'Vertex Dataset': 'Vertex AI Dataset',
'Vertex Model': 'Vertex AI Model',
'Vertex Endpoint': 'Vertex AI Endpoint',
'Vertex Private Endpoint': 'Vertex AI Private Endpoint',
'Tensorflow': 'TensorFlow',
'Tensorboard': 'TensorBoard',
'Google Cloud Notebooks': 'Vertex AI Workbench Notebooks'
}
for line in cell['source']:
if 'TODO' in line:
report_error(path, 14, f'TODO in cell: {line}')
@@ -266,28 +293,9 @@ def check_text_cell(path, cell):
if 'will' in line.lower() or 'would' in line.lower():
report_error(path, 16, f'Do not use future tense (e.g., will), replace with present tense: {line}')
if 'Vertex SDK' in line:
report_error(path, 27, f"Branding: Vertex AI SDK: {line}")
if 'Vertex Training' in line:
report_error(path, 27, f"Branding: Vertex AI Training: {line}")
if 'Vertex Prediction' in line:
report_error(path, 27, f"Branding: Vertex AI Prediction: {line}")
if 'Vertex Batch Prediction' in line:
report_error(path, 27, f"Branding: Vertex AI Batch Prediction {line}")
if 'Vertex XAI' in line:
report_error(path, 27, f"Branding: Vertex Explainable AI: {line}")
if 'Vertex Experiments' in line:
report_error(path, 27, f"Branding: Vertex AI Experiments: {line}")
if 'Vertex TensorBoard' in line:
report_error(path, 27, f"Branding: Vertex AI TensorBoard: {line}")
if 'Vertex Pipelines' in line:
report_error(path, 27, f"Branding: Vertex AI Pipelines: {line}")
if 'Vertex Hyperparameter Tuning' in line:
report_error(path, 27, f"Branding: Vertex AI Hyperparameter Tuning: {line}")
if 'Tensorflow' in line:
report_error(path, 27, f"Branding: TensorFlow: {line}")
if 'Tensorboard' in line:
report_error(path, 27, f"Branding: TensorBoard: {line}")
for mistake, brand in branding.items():
if mistake in line:
report_error(path, 27, f"Branding {brand}: {line}")
def check_sentence_case(path, heading):