Skip to content

Commit 6c5857e

Browse files
committed
docs: demo files for MCDA
1 parent 64a0502 commit 6c5857e

4 files changed

Lines changed: 330 additions & 0 deletions

File tree

data/mcda/v1/citizens_users.json

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
{
2+
"job_id": "8fbc63db-44ec-4db7-b297-347165afd86f",
3+
"input": {
4+
"goals": [
5+
{
6+
"F": "t3",
7+
"P": 1.39485,
8+
"Q": 0,
9+
"S": 0,
10+
"name": "Improve Safety",
11+
"weight": 0.3,
12+
"direction": "max"
13+
},
14+
{
15+
"F": "t3",
16+
"P": 1.34551,
17+
"Q": 0,
18+
"S": 0,
19+
"name": "Improve Public Transport",
20+
"weight": 0.3,
21+
"direction": "max"
22+
},
23+
{
24+
"F": "t3",
25+
"P": 1.5903900000000002,
26+
"Q": 0,
27+
"S": 0,
28+
"name": "Improve Accessibility",
29+
"weight": 0.4,
30+
"direction": "max"
31+
}
32+
],
33+
"timestamp": "2026-02-02T13:19:13.444971",
34+
"perspective": "citizens_users",
35+
"alternatives": [
36+
{
37+
"name": "Parking charges",
38+
"values": {
39+
"Improve Safety": -0.26479,
40+
"Improve Accessibility": -0.42711,
41+
"Improve Public Transport": 0.86159
42+
}
43+
},
44+
{
45+
"name": "Restricted parking",
46+
"values": {
47+
"Improve Safety": -0.46416,
48+
"Improve Accessibility": -0.23379,
49+
"Improve Public Transport": -0.2094
50+
}
51+
},
52+
{
53+
"name": "Mobility hubs",
54+
"values": {
55+
"Improve Safety": -1.22856,
56+
"Improve Accessibility": 1.16328,
57+
"Improve Public Transport": -0.05483
58+
}
59+
},
60+
{
61+
"name": "Ticketing integration in MaaS services",
62+
"values": {
63+
"Improve Safety": -0.04565,
64+
"Improve Accessibility": -0.00262,
65+
"Improve Public Transport": 0.54877
66+
}
67+
},
68+
{
69+
"name": "Improved NSM infrastructure, e.g. bike lanes & \"park & ride\"",
70+
"values": {
71+
"Improve Safety": -1.4405,
72+
"Improve Accessibility": -0.24546,
73+
"Improve Public Transport": 1.13611
74+
}
75+
}
76+
],
77+
"kpi_group_filter": "MCDA_GOALS"
78+
},
79+
"output": {
80+
"timestamp": "2026-02-02T13:19:13.529246",
81+
"mcda_results": {
82+
"ranking": ["a4", "a1", "a3", "a5", "a2"],
83+
"net_flows": {
84+
"a1": 0.07662197674540461,
85+
"a2": -0.21469030534827568,
86+
"a3": 0.06210557110867654,
87+
"a4": 0.18180718770537427,
88+
"a5": -0.10584443021117972
89+
},
90+
"gaia_method": "pca",
91+
"gaia_quality": 91.22719948584002,
92+
"gaia_criteria": [
93+
{
94+
"x": -0.4107145393733551,
95+
"y": 0.7749043066084499,
96+
"key": "c1"
97+
},
98+
{
99+
"x": -0.5414547889370052,
100+
"y": -0.6312637499889664,
101+
"key": "c2"
102+
},
103+
{
104+
"x": 0.733580451405649,
105+
"y": -0.03208416353194843,
106+
"key": "c3"
107+
}
108+
],
109+
"negative_flows": {
110+
"a1": 0.1773531650777882,
111+
"a2": 0.32117783302368386,
112+
"a3": 0.3076379826861897,
113+
"a4": 0.12348483233944454,
114+
"a5": 0.30669117052107964
115+
},
116+
"positive_flows": {
117+
"a1": 0.2539751418231928,
118+
"a2": 0.1064875276754082,
119+
"a3": 0.36974355379486623,
120+
"a4": 0.3052920200448188,
121+
"a5": 0.2008467403098999
122+
},
123+
"criteria_labels": {
124+
"c1": "Improve Safety",
125+
"c2": "Improve Public Transport",
126+
"c3": "Improve Accessibility"
127+
},
128+
"gaia_alternatives": [
129+
{
130+
"x": -1.3543793482903208,
131+
"y": 0.13237738203075028,
132+
"key": "a1"
133+
},
134+
{
135+
"x": 0.16333338284260335,
136+
"y": 1.1457700699326268,
137+
"key": "a2"
138+
},
139+
{
140+
"x": 2.3655523998229797,
141+
"y": -0.2024308601104303,
142+
"key": "a3"
143+
},
144+
{
145+
"x": -0.6473102075099565,
146+
"y": 0.8001252646172556,
147+
"key": "a4"
148+
},
149+
{
150+
"x": -0.5271962268653052,
151+
"y": -1.8758418564702015,
152+
"key": "a5"
153+
}
154+
],
155+
"alternative_labels": {
156+
"a1": "Parking charges",
157+
"a2": "Restricted parking",
158+
"a3": "Mobility hubs",
159+
"a4": "Ticketing integration in MaaS services",
160+
"a5": "Improved NSM infrastructure, e.g. bike lanes & \"park & ride\""
161+
},
162+
"gaia_decision_stick": [0.007781382069151521, 0.030258501573065685]
163+
}
164+
}
165+
}
Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
{
2+
"job_id": "54d64cbc-ad5e-4712-9066-8f2823465e55",
3+
"input": {
4+
"goals": [
5+
{
6+
"F": "t3",
7+
"P": 1.39525,
8+
"Q": 0,
9+
"S": 0,
10+
"name": "Improve Safety",
11+
"weight": 0.4,
12+
"direction": "max"
13+
},
14+
{
15+
"F": "t3",
16+
"P": 1.3456,
17+
"Q": 0,
18+
"S": 0,
19+
"name": "Improve Public Transport",
20+
"weight": 0.3,
21+
"direction": "max"
22+
},
23+
{
24+
"F": "t3",
25+
"P": 1.59045,
26+
"Q": 0,
27+
"S": 0,
28+
"name": "Improve Accessibility",
29+
"weight": 0.3,
30+
"direction": "max"
31+
}
32+
],
33+
"timestamp": "2026-02-02T13:19:08.649529",
34+
"perspective": "regulatory",
35+
"alternatives": [
36+
{
37+
"name": "Parking charges",
38+
"values": {
39+
"Improve Safety": -0.26524,
40+
"Improve Accessibility": -0.42696,
41+
"Improve Public Transport": 0.86165
42+
}
43+
},
44+
{
45+
"name": "Restricted parking",
46+
"values": {
47+
"Improve Safety": -0.46519,
48+
"Improve Accessibility": -0.23349,
49+
"Improve Public Transport": -0.2094
50+
}
51+
},
52+
{
53+
"name": "Mobility hubs",
54+
"values": {
55+
"Improve Safety": -1.22899,
56+
"Improve Accessibility": 1.16349,
57+
"Improve Public Transport": -0.05481
58+
}
59+
},
60+
{
61+
"name": "Ticketing integration in MaaS services",
62+
"values": {
63+
"Improve Safety": -0.04675,
64+
"Improve Accessibility": -0.00214,
65+
"Improve Public Transport": 0.54883
66+
}
67+
},
68+
{
69+
"name": "Improved NSM infrastructure, e.g. bike lanes & \"park & ride\"",
70+
"values": {
71+
"Improve Safety": -1.442,
72+
"Improve Accessibility": -0.24492,
73+
"Improve Public Transport": 1.1362
74+
}
75+
}
76+
],
77+
"kpi_group_filter": "MCDA_GOALS"
78+
},
79+
"output": {
80+
"timestamp": "2026-02-02T13:19:08.741903",
81+
"mcda_results": {
82+
"ranking": ["a4", "a1", "a3", "a5", "a2"],
83+
"net_flows": {
84+
"a1": 0.15225589628594025,
85+
"a2": -0.17226785717139623,
86+
"a3": -0.07351696949561737,
87+
"a4": 0.24354015796267575,
88+
"a5": -0.15001122758160243
89+
},
90+
"gaia_method": "pca",
91+
"gaia_quality": 91.22275094199895,
92+
"gaia_criteria": [
93+
{
94+
"x": -0.4103694883679741,
95+
"y": 0.775112155436248,
96+
"key": "c1"
97+
},
98+
{
99+
"x": -0.5416263702345643,
100+
"y": -0.6309984690924619,
101+
"key": "c2"
102+
},
103+
{
104+
"x": 0.7336468892342817,
105+
"y": -0.03228124065061394,
106+
"key": "c3"
107+
}
108+
],
109+
"negative_flows": {
110+
"a1": 0.14370294606493342,
111+
"a2": 0.3066827701867716,
112+
"a3": 0.3596594502743724,
113+
"a4": 0.10514107638402542,
114+
"a5": 0.34802019662142053
115+
},
116+
"positive_flows": {
117+
"a1": 0.29595884235087366,
118+
"a2": 0.13441491301537534,
119+
"a3": 0.28614248077875504,
120+
"a4": 0.3486812343467012,
121+
"a5": 0.1980089690398181
122+
},
123+
"criteria_labels": {
124+
"c1": "Improve Safety",
125+
"c2": "Improve Public Transport",
126+
"c3": "Improve Accessibility"
127+
},
128+
"gaia_alternatives": [
129+
{
130+
"x": -1.3548601949878896,
131+
"y": 0.13348276791159155,
132+
"key": "a1"
133+
},
134+
{
135+
"x": 0.16371992296610227,
136+
"y": 1.145392280660463,
137+
"key": "a2"
138+
},
139+
{
140+
"x": 2.3650236854113023,
141+
"y": -0.2024985681483886,
142+
"key": "a3"
143+
},
144+
{
145+
"x": -0.6465483321122003,
146+
"y": 0.7999967720363604,
147+
"key": "a4"
148+
},
149+
{
150+
"x": -0.527335081277315,
151+
"y": -1.876373252460026,
152+
"key": "a5"
153+
}
154+
],
155+
"alternative_labels": {
156+
"a1": "Parking charges",
157+
"a2": "Restricted parking",
158+
"a3": "Mobility hubs",
159+
"a4": "Ticketing integration in MaaS services",
160+
"a5": "Improved NSM infrastructure, e.g. bike lanes & \"park & ride\""
161+
},
162+
"gaia_decision_stick": [-0.1065416396472744, 0.11106094925157646]
163+
}
164+
}
165+
}

0 commit comments

Comments
 (0)