http://moralmachine.mit.edu/
Have fun, you get to decide......... had this talk with the coworkers the other day, one whose Masters program is working on a human factors study.
Dumbest test, ever. Is the machine going to be able to assess and process; "ok, brakes failed, person, don't hit! Wait! He's a bank robber! Hit them, save non bank robber passenger! No! It's a pregnant woman! Kill non pregnant woman passenger to save pregnant woman pedestrian! No! It's a bank robber dressed up as a pregnant woman!!! Save passengers. NO!!! It's a pregnant woman who just robbed a bank!! No, wait! It's a pregnant woman bank robber that called for a ride!!! Pedestrian to be Passenger bank robber pregnant woman!"
I think the car will be able to process MUCH better than people and that means it's NOT zero sum or binary, either kill the boys OR the girls. It means, hit barrier because occupants will have some chance. It means slide into building to reduce speed, noise will warn pedestrians! Or perhaps some emergency features, like an emergency brake or engine kill? Ejector seats? Air bags? External air bags? An anchor?
The VAST majority of humans claim "I didn't see them!" when they ran over a motorcycle that they DID see but weren't really focusing on because the truck beyond was bigger. We say 'it was unavoidable' when it was avoidable given a little training. We kill ourselves to avoid hitting a little turtle that was far harder to see than the motorcycle but is something, the turtle, we see as vulnerable and not an annoying noise maker with some jack off in a pirate costume, like the bike.
Yes, it's better, probably, to hit 4 people instead of 5 but it is FAR better to avoid that or mitigate it because it's not moral to say 4 is less than 5 and for the reasons stated; it's math. Moral says those 4 could be nicer people or smarter or friendlier or just generally better than 5 douche bags. What if it's the President of the United States OR Hitler? Well, if it's Trump and you're of a certain mindset, that could go either way. Same if it's Obama. What if it's POTUS or a lump of crap? Same thing; it depends. We've reached a point in time where our morality is totally subjective. All of us.