Skip to content

Commit c60eb8d

Browse files
committed
clean + fix region name
1 parent a718469 commit c60eb8d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

sdgym/benchmark.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,6 @@ def _run_job(args):
694694
except Exception as error:
695695
output['exception'] = error
696696

697-
print('LA 1')
698697
scores = _format_output(
699698
output,
700699
name,
@@ -704,12 +703,9 @@ def _run_job(args):
704703
compute_privacy_score,
705704
cache_dir,
706705
)
707-
print('LA 2')
708706
if synthesizer_path and result_writer:
709-
print(synthesizer_path['benchmark_result'])
710707
result_writer.write_dataframe(scores, synthesizer_path['benchmark_result'])
711708

712-
print('LA 3')
713709
return scores
714710

715711

@@ -1201,6 +1197,7 @@ def _validate_aws_inputs(output_destination, aws_access_key_id, aws_secret_acces
12011197
's3',
12021198
aws_access_key_id=aws_access_key_id,
12031199
aws_secret_access_key=aws_secret_access_key,
1200+
region_name='us-east-1',
12041201
config=config,
12051202
)
12061203
else:
@@ -1393,7 +1390,7 @@ def benchmark_single_table_aws(
13931390
limit_dataset_size=False,
13941391
compute_quality_score=True,
13951392
compute_diagnostic_score=True,
1396-
compute_privacy_score=True,
1393+
compute_privacy_score=False,
13971394
sdmetrics=None,
13981395
timeout=None,
13991396
):

0 commit comments

Comments
 (0)