# Project export: Health Insurance 4 Dummies

This document was generated by HackStack to give an AI agent context about a hackathon project. Sections are labeled with their provenance; content marked as truncated was cut to keep this document small.

## Project metadata

- Hackathon: Cal Hacks 10.0
- Tagline: Predicts and Explain health insurance costs on personal info.
- Devpost: https://devpost.com/software/health-insurance-for-dummys
- GitHub: https://github.com/jjin43/CalHack2023
- Video: https://www.youtube.com/embed/ie89gtE65rY?enablejsapi=1&hl=en_US&rel=0&start=&version=3&wmode=transparent
- Result: winner (Best Use of InterSystems IntegratedML)
- Team: 1 GitHub contributor(s) — Justin Jin (20 commits)

## Devpost submission (written by the team)

### Inspiration

💪🏼 Health insurance, everyone needs it, no one wants to pay for it. As soon-will-be adults, health insurance has been a growing concern. Since a simple ambulance ride easily costs up to thousands of dollars, not having health insurance is a terrible decision in the US. But how much are you supposed to pay for it? Insurance companies publish their rates, but just having formulas doesn't tell me anything about if they are ripping me off, especially for young adults having never paid for health insurance.

### What it does

? 🔍 Thus, to prevent being ripped off on health insurance after leaving our parents' household. We have developed Health Insurance 4 Dummies. A website utilizing a machine learning model that determines a fair estimate for the annual costs of health insurance, based on user inputs of their personal information. It also uses a LMM to provide detailed information on the composition of the cost.

### How we built it

👷🏼‍♀️ The front-end is built using convex-react, creating an UI that takes inputs from the user. The backend is built using python-flask, which communicates with remote services, InterSystems and Together.AI. The ML model is a feed-forward neural network (MLP) for predicting the cost is built on InterSystems using the H2O ML workflow library, trained on a dataset consist of individual's information and their annual rate for health insurance. The explanation of costs is created using Together.AI's Llama-2 model.

### Challenges we ran into

🔨 Full-stack development is tedious, especially when the functions require remote resources. Finding good datasets to train the model. Authentication in connecting and accessing the trained model on InterSystem using their IRIS connection driver. Choosing the right model to use from Together.AI.

### Accomplishments we're proud of

⭐ Trained and accessed ML model on a remote database open possibility for massive datasets, integrating LMMs to provide automated information.

### What we learned

📖 Full-Stack Development skills, ML model training and utilizing. Accessing remote services using APIs, TLS authentication.

### What's next

for Health Insurance 4 Dummys 🔮 Gather larger datasets to make more parameters available and give more accurate predictions.

## README (from the GitHub repository)

No README available.

## Detected evidence (automated analysis)

Indexed codebase: 12 recognized source files, 13 KB.
- CSS (language) — detected in the code
- Flask (technology) — detected in the code
- HTML (language) — detected in the code
- JavaScript (language) — detected in the code
- Python (language) — detected in the code
- React (technology) — detected in the code
- SQL (language) — claimed on Devpost, not found in the code

## Codebase structure (from repository index)

### Files (19 of 19)

```
flaskback/data/CSV_ENUM_KEYS.txt
flaskback/data/health_insurance_DataSample.csv
flaskback/data/intersystems_irispython-3.2.0-py3-none-any.whl
flaskback/flaskapp.py
flaskback/interSys.py
flaskback/requirements.txt
flaskback/static/results.css
flaskback/templates/results.html
flaskback/togetherAI.py
reactapp/.eslintrc.cjs
reactapp/.gitignore
reactapp/index.html
reactapp/package.json
reactapp/src/App.css
reactapp/src/App.jsx
reactapp/src/index.css
reactapp/src/main.jsx
reactapp/vite.config.js
README.md
```

### Dependencies

- flaskback/requirements.txt: .@/data/intersystems_irispython-3.2.0-py3-none-any.whl, Flask, json, ssl, subprocess, together
- reactapp/package.json: @types/react@^18.2.15, @types/react-dom@^18.2.7, @vitejs/plugin-react-swc@^3.3.2, eslint@^8.45.0, eslint-plugin-react@^7.32.2, eslint-plugin-react-hooks@^4.6.0, eslint-plugin-react-refresh@^0.4.3, react@^18.2.0, react-dom@^18.2.0, vite@^4.4.5

### Recent commits (newest first)

- Update README.md
- Update README.md
- Update README.md
- Update README.md
- Update README.md
- Update README.md
- Removed Sensitive Data
- Merge branch 'main' of https://github.com/jjin43/CalHack2023
- Removed all sensitive data
- Update README.md
- Update README.md
- Update README.md
- Last update
- front end css
- Kaly/Paviet added front end codes
- AI minor param bug fix
- ALL functionalities finalized, combined Kaly's commit.
- minor bugs, html scrpit tag in react/index.html
- fixed css directory
- readme

## Key source files (fetched from GitHub, selected and truncated for size)

Source contents could not be fetched from GitHub right now.

[13 more indexed source files omitted to keep this export small. The full file list is in the Codebase structure section above.]