Skip to content

Commit e1cd3d2

Browse files
committed
fix populate
It has not been updated in the following PR #57
1 parent eb01a52 commit e1cd3d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

populate.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ def do_populate():
412412
print('create compute plan')
413413
traintuples_data = [
414414
{
415+
"algo_key": algo_key, # logistic regression, org2
415416
"data_manager_key": data_manager_org1_key,
416417
"train_data_sample_keys": [train_data_sample_keys[0], train_data_sample_keys[2]],
417418
"traintuple_id": "dummy_traintuple_id",
@@ -426,10 +427,11 @@ def do_populate():
426427
# }
427428
]
428429
compute_plan_data = {
429-
"algo_key": algo_key, # logistic regression, org2
430430
"objective_key": objective_key, # org 0
431431
"traintuples": traintuples_data,
432432
"testtuples": testtuples_data,
433+
"aggregatetuples": [],
434+
"composite_traintuples": [],
433435
}
434436
# until both chaincode, backend and sdk can handle compute plan collisions, we need to have a
435437
# generic try-except so that this script can run multiple times in a row

0 commit comments

Comments
 (0)