# AI Cost Benefit Analyzer

## Overview

Business-case demo where students estimate implementation cost, operational savings, and value uplift to judge whether an AI initiative has an acceptable payback profile and strategic rationale.

## Learning Objectives

- Explain the main ai/ml decision that AI Cost Benefit Analyzer is designed to support.
- Use Data acquisition cost, Compute and tooling cost to test how different assumptions change the scenario.
- Interpret the result in plain language, not just as a number, chart, or AI recommendation.
- State one limitation, risk, or governance consideration before using the result in a real decision.

## Run Modes

- Browser

## Expected Setup / Startup Time

- Starts immediately in browser with no installs, no API keys, and classroom-safe defaults.

## Demo Type

- Interactive browser demo

## Files in This Folder

- `app.js`
- `index.html`
- `README.md`
- `style.css`

## How To Run

- Browser: open `index.html`.

## How To Use The Demo

1. Choose the run mode that fits the class: Browser.
2. Review the default assumptions before changing anything.
3. Change one or two inputs, then use `Calculate Business Case`.
4. Read the output first, then compare any supporting metrics, charts, or AI text.
5. Capture one insight, one limitation, and one action recommendation.

## Inputs

- `Data acquisition cost` changes one part of the scenario; increase or decrease it deliberately and watch how the output shifts.
- `Compute and tooling cost` changes one part of the scenario; increase or decrease it deliberately and watch how the output shifts.
- `Implementation hours` changes one part of the scenario; increase or decrease it deliberately and watch how the output shifts.
- `Hourly personnel rate` changes one part of the scenario; increase or decrease it deliberately and watch how the output shifts.
- `Monthly transaction volume` changes one part of the scenario; increase or decrease it deliberately and watch how the output shifts.
- `Value per transaction` changes one part of the scenario; increase or decrease it deliberately and watch how the output shifts.
- `Efficiency gain (%)` changes one part of the scenario; increase or decrease it deliberately and watch how the output shifts.

## Buttons / Actions

- `Calculate Business Case` is the main action that computes, compares, or generates the next result from the current inputs.

## Outputs

- The important outputs are total cost, expected benefit, payback timing, and the overall business-case conclusion.
- Students should compare optimistic and conservative assumptions instead of treating one ROI number as final truth.

## What To Notice

- A positive ROI can still hide timing risk if benefits arrive much later than implementation cost
- Discuss which assumptions are operationally measurable and which are more speculative strategic upside
- Use the result to debate investment timing and governance, not just to approve or reject the idea automatically

## Related Demos or Course Context

- Course path: [AI/ML Workflows](../../courses/ai-ml-workflows.html)
- Related demo: [AB Testing Framework](../ABTestingFramework/about.html)
- Related demo: [AI Data Analyzer](../AIDataAnalyzer/about.html)
- Related demo: [AI Decision Tracker](../AIDecisionTracker/about.html)

## Attribution

Created by **Professor Vinaya Sathyanarayana** as part of [KateelLearningDemosToStudents](https://github.com/VinayaSharada/KateelLearningDemosToStudents).
Attribution email: `vinallcontact@gmail.com`
