Final Project for COMP90041 Semester 1, 2020.
Lecturer: Dr. Tilman Dingler
The idea of a Moral Machine stems from the Trolley Dilemma, a fictional scenario where a decision maker must decide between the lesser of two evils (Thomson, J. J. (1986) and Foot, P. (1967)). The adapted scenario involves an autonomous car that is approaching a pedestrian crossing. Its brakes suddenly fail and at that point, it is too late for the car's passengers to regain control of the car. As a result, the car must make a decision based on the situation:
- Whether the pedestrian crosses legally (at the green light)
- Characters (human and/or animal) involved in the situation as both pedestrians and passengers
- Characteristics of these characters (available characteristics include - but not limited to - gender, bodytype, age, profession)
The aim of this project is to build a program that can simulate this decision-making experience. It can be played interactively using either pre-configured or randomly-generated scenarios that will be displayed to the console. Otherwise, the program has an algorithm that lets the computer decide on whom to be saved.
The program has an Audit feature that allows users to see the statistics of projected survival based on past decisions. The Audit details the decision maker (User or Algorithm), survival ratio of each characteristics, and the average age of survivors.
Either of the following program calls will invoke the help:
__________________________________
$java EthicalEngine --help
$java EthicalEngine -h
__________________________________
The following help window will be displayed:
=============================================
EthicalEngine - COMP90041 - Final Project
Usage: java EthicalEngine [arguments]
Arguments:
-c or --config Optional: path to config file
-h or --help Print Help (this message) and exit
-r or --results Optional: path to results log file
-i or --interactive Optional: launches interactive mode
=============================================
An example of command call, this will launch the program in the interactive mode with randomly-generated scenarios:
__________________________________
$java EthicalEngine -i
__________________________________
Completed in June 2020