Skip to content

Commit 7711ccb

Browse files
chore(result): Add result data for validate, validate-image
1 parent 69dae41 commit 7711ccb

File tree

2 files changed

+140
-0
lines changed

2 files changed

+140
-0
lines changed

tests/projects/validate/project_data.json5

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,4 +972,113 @@
972972
},
973973
],
974974
},
975+
// Create contributor group
976+
create_contributor_user_group: [
977+
{
978+
clientId: '01K49J0QPCZM2JCNC9AEE6HT8Y',
979+
name: 'User Group 01',
980+
description: 'First user group',
981+
},
982+
],
983+
"create_results": {
984+
g100: {
985+
'01K6CPB1ETTF7MT9EAAQDQM4A9': {
986+
appVersion: "0.2.8-dev",
987+
clientType: "web",
988+
endTime: "2025-10-07T10:03:38.158Z",
989+
userGroups: {
990+
'01K49J0QPCZM2JCNC9AEE6HT8Y': true,
991+
},
992+
results: {
993+
"t1": 1,
994+
"t2": 0,
995+
"t3": 2,
996+
"t4": 2,
997+
"t5": 2,
998+
"t6": 1,
999+
"t7": 1,
1000+
"t8": 1,
1001+
"t9": 1,
1002+
"t10": 0,
1003+
},
1004+
startTime: "2025-10-07T10:03:09.707Z"
1005+
}
1006+
},
1007+
g101: {
1008+
'01K6CPB1ETTF7MT9EAAQDQM4A9': {
1009+
appVersion: "0.2.8-dev",
1010+
clientType: "web",
1011+
userGroups: {
1012+
'01K49J0QPCZM2JCNC9AEE6HT8Y': true,
1013+
},
1014+
endTime: "2025-10-07T10:03:38.158Z",
1015+
results: {
1016+
"t11": 1,
1017+
"t12": 0,
1018+
"t13": 2,
1019+
"t14": 2,
1020+
"t15": 2,
1021+
"t16": 1,
1022+
"t17": 1,
1023+
"t18": 1,
1024+
"t19": 1,
1025+
"t20": 0,
1026+
},
1027+
startTime: "2025-10-07T10:03:09.707Z"
1028+
}
1029+
},
1030+
g103: {
1031+
'01K6CPB1ETTF7MT9EAAQDQM4A9': {
1032+
appVersion: "0.2.8-dev",
1033+
clientType: "web",
1034+
userGroups: {
1035+
'01K49J0QPCZM2JCNC9AEE6HT8Y': true,
1036+
},
1037+
endTime: "2025-10-07T10:03:38.158Z",
1038+
results: {
1039+
"t21": 1,
1040+
"t22": 0,
1041+
"t23": 2,
1042+
"t24": 2,
1043+
"t25": 2,
1044+
"t26": 1,
1045+
"t27": 1,
1046+
"t28": 1,
1047+
"t29": 1,
1048+
"t30": 0,
1049+
},
1050+
startTime: "2025-10-07T10:03:09.707Z"
1051+
}
1052+
},
1053+
g104: {
1054+
'01K6CPB1ETTF7MT9EAAQDQM4A9': {
1055+
appVersion: "0.2.8-dev",
1056+
clientType: "web",
1057+
userGroups: {
1058+
'01K49J0QPCZM2JCNC9AEE6HT8Y': true,
1059+
},
1060+
endTime: "2025-10-07T10:03:38.158Z",
1061+
results: {
1062+
"t31": 1,
1063+
"t32": 0,
1064+
"t33": 2,
1065+
"t34": 2,
1066+
"t35": 2,
1067+
"t36": 1,
1068+
"t37": 1,
1069+
"t38": 1,
1070+
"t39": 1,
1071+
"t40": 0,
1072+
},
1073+
startTime: "2025-10-07T10:03:09.707Z"
1074+
}
1075+
}
1076+
},
1077+
expected_pulled_results_data: {
1078+
mapping_session_count: 2,
1079+
mapping_session_results_count: 20,
1080+
mapping_session_user_groups_count: 2,
1081+
progress: 33,
1082+
},
1083+
9751084
}

tests/projects/validate_image/project_data.json5

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,4 +318,35 @@
318318
},
319319
],
320320
},
321+
create_contributor_user_group: [
322+
{
323+
clientId: '01K49J0QPCZM2JCNC9AEE6HT8Y',
324+
name: 'User Group 01',
325+
description: 'First user group',
326+
},
327+
],
328+
create_results: {
329+
g100: {
330+
'01K6CPB1ETTF7MT9EAAQDQM4A9': {
331+
appVersion: "0.2.8-dev",
332+
clientType: "web",
333+
startTime: "2025-10-08T02:31:40.920Z",
334+
endTime: "2025-10-08T02:33:03.647Z",
335+
userGroups: {
336+
'01K49J0QPCZM2JCNC9AEE6HT8Y': true,
337+
},
338+
results: {
339+
"37777": 0,
340+
"252219": 1,
341+
"397133": 1
342+
}
343+
}
344+
}
345+
},
346+
expected_pulled_results_data: {
347+
mapping_session_count: 1,
348+
mapping_session_results_count: 3,
349+
mapping_session_user_groups_count: 1,
350+
progress: 33,
351+
},
321352
}

0 commit comments

Comments
 (0)