Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 31 additions & 37 deletions annotated_outputs/nie/nie_scenarios_10_choice_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<script type='text/javascript'src='https://unpkg.com/vis-network/standalone/umd/vis-network.min.js'></script>
<style type='text/css'>
#mynetwork {
width: 1440px;
height: 1440px;
width: 1320px;
height: 1320px;
border: 1px solid lightgray;
}
</style>
Expand Down Expand Up @@ -60,57 +60,51 @@
}
function return_vis_dataset() {
var nodes = new vis.DataSet([
{id: 1, label: "I", color: {background: '#279aba'}},
{id: 2, label: "my baby", color: {background: '#279aba'}},
{id: 3, label: "10 neighbors", color: {background: '#279aba'}},
{id: 4, label: "put a hand over the\n baby's mouth to absorb the\n crying and leave the baby\n without air", color: {background: '#ba2769'}},
{id: 1, label: "i", color: {background: '#279aba'}},
{id: 2, label: "three railroad workers maintaining the\n tracks", color: {background: '#279aba'}},
{id: 3, label: "one heavy worker standing on\n the bridge", color: {background: '#279aba'}},
{id: 4, label: "push the worker from the\n bridge", color: {background: '#ba2769'}},
{id: 5, label: "value", color: {background: '#8e7db5'}},
{id: 6, label: "I suppress the baby's crying", color: {background: '#e6c440'}},
{id: 7, label: "The soldiers do not hear\n the baby crying", color: {background: '#e6c440'}},
{id: 8, label: "The soldiers do not find\n the refugees hiding in the\n cellar", color: {background: '#e6c440'}},
{id: 9, label: "I and the other refugees\n are not killed by the\n soldiers", color: {background: '#e6c440'}},
{id: 10, label: "The baby suffers from lack\n of air", color: {background: '#e6c440'}},
{id: 11, label: "The baby experiences distress or\n harm due to suffocation", color: {background: '#e6c440'}},
{id: 12, label: "I experience emotional distress from\n harming the baby", color: {background: '#e6c440'}}
{id: 6, label: "The heavy worker falls from\n the bridge onto the tracks.", color: {background: '#e6c440'}},
{id: 7, label: "The heavy worker dies from\n the collision with the speed-train.", color: {background: '#e6c440'}},
{id: 8, label: "The speed-train stops before reaching\n the three railroad workers.", color: {background: '#e6c440'}},
{id: 9, label: "The three railroad workers survive\n and avoid being run over\n by the speed-train.", color: {background: '#e6c440'}},
{id: 10, label: "I cause the death of\n the heavy worker by pushing\n them.", color: {background: '#e6c440'}},
{id: 11, label: "I prevent the death of\n the three railroad workers.", color: {background: '#e6c440'}}
]);
var edges = new vis.DataSet([
{from: 1, to: 4, label: "C+I+K+", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 1, to: 6, label: "C+I+K+", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 1, to: 7, label: "C+I+K-", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 1, to: 8, label: "C+I+K-", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 1, to: 7, label: "C+I+K+", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 1, to: 8, label: "C+I+K+", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 1, to: 9, label: "C+I+K+", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 1, to: 10, label: "C+I+K+", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 1, to: 11, label: "C+I+K+", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 1, to: 12, label: "C+I-K-", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 4, to: 5, label: "-100", color: {color: '#b518a8', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 4, to: 6, label: "", color: {color: '#b518a8', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 4, to: 7, label: "", color: {color: '#b518a8', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 4, to: 8, label: "", color: {color: '#b518a8', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 4, to: 9, label: "", color: {color: '#b518a8', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 4, to: 10, label: "", color: {color: '#b518a8', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 4, to: 11, label: "", color: {color: '#b518a8', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 4, to: 12, label: "", color: {color: '#b518a8', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 6, to: 1, label: "-50", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 6, to: 2, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 6, to: 3, label: "50", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 7, to: 1, label: "50", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 7, to: 2, label: "0", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 7, to: 3, label: "50", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 8, to: 1, label: "100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 6, to: 1, label: "-10", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 6, to: 2, label: "0", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 6, to: 3, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 7, to: 1, label: "-50", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 7, to: 2, label: "100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 7, to: 3, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 8, to: 1, label: "0", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 8, to: 2, label: "100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 8, to: 3, label: "100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 9, to: 1, label: "80", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 9, to: 2, label: "-90", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 9, to: 3, label: "80", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 10, to: 1, label: "-80", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 10, to: 2, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 10, to: 3, label: "0", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 11, to: 1, label: "-80", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 11, to: 2, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 11, to: 3, label: "0", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 12, to: 1, label: "-80", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 12, to: 2, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 12, to: 3, label: "0", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 8, to: 3, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 9, to: 1, label: "0", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 9, to: 2, label: "100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 9, to: 3, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 10, to: 1, label: "-50", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 10, to: 2, label: "0", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 10, to: 3, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 11, to: 1, label: "0", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 11, to: 2, label: "100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
{from: 11, to: 3, label: "-100", color: {color: '#62a3a2', highlight: '#f540e6'}, font: { size: 18 }, arrows: { to: { enabled: true, type: 'arrow'}}},
]);

return ([edges,nodes])
Expand Down
21 changes: 10 additions & 11 deletions annotated_outputs/nie/nie_scenarios_10_choice_1.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{"node": {"kind": "being", "label": "I"}, "links": [{"link": {"kind": "b-link", "value": "C+I+K+"}, "to_node": "put a hand over the baby's mouth to absorb the crying and leave the baby without air"}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "I suppress the baby's crying"}, {"link": {"kind": "b_link", "value": "C+I+K-"}, "to_node": "The soldiers do not hear the baby crying"}, {"link": {"kind": "b_link", "value": "C+I+K-"}, "to_node": "The soldiers do not find the refugees hiding in the cellar"}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "I and the other refugees are not killed by the soldiers"}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "The baby suffers from lack of air"}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "The baby experiences distress or harm due to suffocation"}, {"link": {"kind": "b_link", "value": "C+I-K-"}, "to_node": "I experience emotional distress from harming the baby"}]}
{"node": {"kind": "being", "label": "my baby"}, "links": []}
{"node": {"kind": "being", "label": "10 neighbors"}, "links": []}
{"node": {"kind": "action_choice", "label": "put a hand over the baby's mouth to absorb the crying and leave the baby without air"}, "links": [{"link": {"kind": "v-link", "value": "-100"}, "to_node": "value"}, {"link": {"kind": "e_link", "value": ""}, "to_node": "I suppress the baby's crying"}, {"link": {"kind": "e_link", "value": ""}, "to_node": "The soldiers do not hear the baby crying"}, {"link": {"kind": "e_link", "value": ""}, "to_node": "The soldiers do not find the refugees hiding in the cellar"}, {"link": {"kind": "e_link", "value": ""}, "to_node": "I and the other refugees are not killed by the soldiers"}, {"link": {"kind": "e_link", "value": ""}, "to_node": "The baby suffers from lack of air"}, {"link": {"kind": "e_link", "value": ""}, "to_node": "The baby experiences distress or harm due to suffocation"}, {"link": {"kind": "e_link", "value": ""}, "to_node": "I experience emotional distress from harming the baby"}]}
{"node": {"kind": "being", "label": "i"}, "links": [{"link": {"kind": "b-link", "value": "C+I+K+"}, "to_node": "push the worker from the bridge"}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "The heavy worker falls from the bridge onto the tracks."}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "The heavy worker dies from the collision with the speed-train."}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "The speed-train stops before reaching the three railroad workers."}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "The three railroad workers survive and avoid being run over by the speed-train."}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "I cause the death of the heavy worker by pushing them."}, {"link": {"kind": "b_link", "value": "C+I+K+"}, "to_node": "I prevent the death of the three railroad workers."}]}
{"node": {"kind": "being", "label": "three railroad workers maintaining the tracks"}, "links": []}
{"node": {"kind": "being", "label": "one heavy worker standing on the bridge"}, "links": []}
{"node": {"kind": "action_choice", "label": "push the worker from the bridge"}, "links": [{"link": {"kind": "v-link", "value": "-100"}, "to_node": "value"}, {"link": {"kind": "e_link", "value": ""}, "to_node": "The heavy worker falls from the bridge onto the tracks."}, {"link": {"kind": "e_link", "value": ""}, "to_node": "The heavy worker dies from the collision with the speed-train."}, {"link": {"kind": "e_link", "value": ""}, "to_node": "The speed-train stops before reaching the three railroad workers."}, {"link": {"kind": "e_link", "value": ""}, "to_node": "The three railroad workers survive and avoid being run over by the speed-train."}, {"link": {"kind": "e_link", "value": ""}, "to_node": "I cause the death of the heavy worker by pushing them."}, {"link": {"kind": "e_link", "value": ""}, "to_node": "I prevent the death of the three railroad workers."}]}
{"node": {"kind": "value", "label": "value"}, "links": []}
{"node": {"kind": "event", "label": "I suppress the baby's crying"}, "links": [{"link": {"kind": "utility", "value": "-50"}, "to_node": "I"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "my baby"}, {"link": {"kind": "utility", "value": "50"}, "to_node": "10 neighbors"}]}
{"node": {"kind": "event", "label": "The soldiers do not hear the baby crying"}, "links": [{"link": {"kind": "utility", "value": "50"}, "to_node": "I"}, {"link": {"kind": "utility", "value": "0"}, "to_node": "my baby"}, {"link": {"kind": "utility", "value": "50"}, "to_node": "10 neighbors"}]}
{"node": {"kind": "event", "label": "The soldiers do not find the refugees hiding in the cellar"}, "links": [{"link": {"kind": "utility", "value": "100"}, "to_node": "I"}, {"link": {"kind": "utility", "value": "100"}, "to_node": "my baby"}, {"link": {"kind": "utility", "value": "100"}, "to_node": "10 neighbors"}]}
{"node": {"kind": "event", "label": "I and the other refugees are not killed by the soldiers"}, "links": [{"link": {"kind": "utility", "value": "80"}, "to_node": "I"}, {"link": {"kind": "utility", "value": "-90"}, "to_node": "my baby"}, {"link": {"kind": "utility", "value": "80"}, "to_node": "10 neighbors"}]}
{"node": {"kind": "event", "label": "The baby suffers from lack of air"}, "links": [{"link": {"kind": "utility", "value": "-80"}, "to_node": "I"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "my baby"}, {"link": {"kind": "utility", "value": "0"}, "to_node": "10 neighbors"}]}
{"node": {"kind": "event", "label": "The baby experiences distress or harm due to suffocation"}, "links": [{"link": {"kind": "utility", "value": "-80"}, "to_node": "I"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "my baby"}, {"link": {"kind": "utility", "value": "0"}, "to_node": "10 neighbors"}]}
{"node": {"kind": "event", "label": "I experience emotional distress from harming the baby"}, "links": [{"link": {"kind": "utility", "value": "-80"}, "to_node": "I"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "my baby"}, {"link": {"kind": "utility", "value": "0"}, "to_node": "10 neighbors"}]}
{"node": {"kind": "event", "label": "The heavy worker falls from the bridge onto the tracks."}, "links": [{"link": {"kind": "utility", "value": "-10"}, "to_node": "i"}, {"link": {"kind": "utility", "value": "0"}, "to_node": "three railroad workers maintaining the tracks"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "one heavy worker standing on the bridge"}]}
{"node": {"kind": "event", "label": "The heavy worker dies from the collision with the speed-train."}, "links": [{"link": {"kind": "utility", "value": "-50"}, "to_node": "i"}, {"link": {"kind": "utility", "value": "100"}, "to_node": "three railroad workers maintaining the tracks"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "one heavy worker standing on the bridge"}]}
{"node": {"kind": "event", "label": "The speed-train stops before reaching the three railroad workers."}, "links": [{"link": {"kind": "utility", "value": "0"}, "to_node": "i"}, {"link": {"kind": "utility", "value": "100"}, "to_node": "three railroad workers maintaining the tracks"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "one heavy worker standing on the bridge"}]}
{"node": {"kind": "event", "label": "The three railroad workers survive and avoid being run over by the speed-train."}, "links": [{"link": {"kind": "utility", "value": "0"}, "to_node": "i"}, {"link": {"kind": "utility", "value": "100"}, "to_node": "three railroad workers maintaining the tracks"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "one heavy worker standing on the bridge"}]}
{"node": {"kind": "event", "label": "I cause the death of the heavy worker by pushing them."}, "links": [{"link": {"kind": "utility", "value": "-50"}, "to_node": "i"}, {"link": {"kind": "utility", "value": "0"}, "to_node": "three railroad workers maintaining the tracks"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "one heavy worker standing on the bridge"}]}
{"node": {"kind": "event", "label": "I prevent the death of the three railroad workers."}, "links": [{"link": {"kind": "utility", "value": "0"}, "to_node": "i"}, {"link": {"kind": "utility", "value": "100"}, "to_node": "three railroad workers maintaining the tracks"}, {"link": {"kind": "utility", "value": "-100"}, "to_node": "one heavy worker standing on the bridge"}]}
{"version": "5b20e2c520f3117263972c2aedade17c4b7e0174"}
Loading
Loading