# Contagion Model

## Overview

Contagion Model is a interactive browser demo in the Risk Management track. It helps students explore the main decision, key inputs, and output interpretation in browser mode.

## Learning Objectives

- Explain the main risk decision that Contagion Model is designed to support.
- Change input assumptions and predict how the output should respond before running the demo.
- 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 in browser, but first load may take 10-30 seconds if heavier assets initialize.

## 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 `Run the main action`.
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

- Start with the default assumptions, then change one variable at a time so students can isolate cause and effect.
- Treat each input as a lever that changes the scenario, baseline, or business context behind the result.

## Buttons / Actions

- Use the main run or simulate action to compute the scenario after inputs are set.
- Use export or reset actions, when present, to compare runs or return to a classroom-safe baseline.

## Outputs

- Read the top-line result first, then look for supporting metrics, tables, or narratives that explain why it changed.
- Students should explain whether the output is descriptive, predictive, simulated, or recommended.

## What To Notice

- Look for institution links, shock source, loss propagation, and systemic risk indicator
- Observe how a small shock spreads through connected balance sheets
- Note that contagion modeling teaches why network structure matters in financial stability

## Related Demos or Course Context

- Course path: [Risk Management](../../../courses/risk-management.html)
- Related demo: [Counter Party Risk](../CounterPartyRisk/about.html)
- Related demo: [AI Risk Calculator](../../../TechUseCaseDemos/AIRiskCalculator/about.html)
- Related demo: [Counterparty Risk](../../../TechUseCaseDemos/CounterpartyRiskDemo/about.html)

## Attribution

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