Skip to content

A modern version of the Trolley Problem through the eyes of AI

Notifications You must be signed in to change notification settings

switty42/Trolley_Problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trolley Problem

Docs 09-21-25 V1 (For questions or comments: Stephen Witty switty@level500.com)

Project Overview:

This project adapts the classic Trolley Problem example into a modern version of the problem. The new problem involves an electric car driven by an AI. The AI finds itself in an unavoidable accident and must pick between individuals or groups to impact. Data is collected to study the choices the AI makes. The AI model used is Grok. The AI prompts used are contained in this repository along with a presentation that covers the results. The source code that interacts with the AI model is also included.

Reports / Documentation:

Usage:

  • The software is a Python3 script and runs in the usual manner
  • The script has been tested on Ubuntu
  • Place your own Grok API key toward the top of the Python script
  • Edit the program constants as needed at the top of the Python script

About

A modern version of the Trolley Problem through the eyes of AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages