Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
67f3de0
Add web app frontend, API improvements, and enhanced valuation features
pranay972 Jul 20, 2025
00e09c2
Your commit message
pranay972 Jul 20, 2025
91125e7
Cleanup (#2)
uday1201 Jul 20, 2025
e9e9f22
Updated with just the finance_core folder.
pranay972 Jul 29, 2025
6aeca91
updated financial-valuation-app
pranay972 Jul 30, 2025
513423f
updated financial-valuation-app
pranay972 Jul 30, 2025
8eedb5b
Add Swagger UI and comprehensive .gitignore
uday1201 Jul 30, 2025
35995b9
Remove Python cache files and requirements.txt from tracking
uday1201 Jul 30, 2025
9100ed5
Add comprehensive test suite and GitHub Actions workflow
uday1201 Jul 30, 2025
b5fdc8d
Improve test runner script with better error handling
uday1201 Jul 30, 2025
64962c4
Add comprehensive finance core logic tests
uday1201 Jul 30, 2025
4c33bb2
Fix import issues and successfully run tests locally
uday1201 Jul 30, 2025
011cb3b
Remove non-working tests and add comprehensive endpoint testing
uday1201 Jul 30, 2025
25353b3
Update GitHub Actions workflow to use new test files
uday1201 Jul 30, 2025
f859145
Fix frontend bug: Show only selected valuation results instead of all…
uday1201 Jul 30, 2025
4093e22
Add AWS EC2 deployment configuration with port conflict resolution
uday1201 Jul 30, 2025
996ddf0
worfklow edit
uday1201 Jul 30, 2025
b372feb
Fix GitHub Actions workflow paths for new repository structure
uday1201 Jul 30, 2025
dabce0c
cleanup frontend
uday1201 Jul 30, 2025
beadc69
update pacakge.json
uday1201 Jul 30, 2025
e815622
Fix GitHub Actions: Install all Poetry dependencies including dev dep…
uday1201 Jul 30, 2025
551b1cd
updated frontend docker
uday1201 Aug 2, 2025
70c4490
frontend dockerfile update
uday1201 Aug 2, 2025
c5dcce1
Update valuation project with enhanced features and documentation
pranay972 Aug 6, 2025
b8f18b2
pip to poetry
uday1201 Aug 7, 2025
a573148
Update with fixes for Monte Carlo runs and other issues
pranay972 Aug 14, 2025
f48c40a
Merge remote testvaluation branch: Convert from pip to Poetry, add ne…
pranay972 Aug 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
33 changes: 0 additions & 33 deletions .devcontainer/devcontainer.json

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/python-tests.yml

This file was deleted.

80 changes: 80 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: Run Tests

on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]

jobs:
test:
name: Run Tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: financial-valuation-app/frontend/package-lock.json

- name: Install Python dependencies
run: |
cd financial-valuation-app/backend
pip install poetry
poetry config virtualenvs.create false
poetry install --no-interaction --no-ansi

- name: Install Node.js dependencies
run: |
cd financial-valuation-app/frontend
npm install

- name: Run backend tests
run: |
cd financial-valuation-app/backend
if [ -d "tests" ]; then
echo "Running API tests..."
python -m pytest tests/test_app_simple.py -v --tb=short
echo "Running comprehensive endpoint tests..."
python -m pytest tests/test_endpoints_minimal.py -v --tb=short
echo "Running finance core tests..."
python -m pytest tests/test_finance_core.py -v --tb=short
else
echo "No backend tests directory found, skipping..."
fi

- name: Run frontend tests (if available)
run: |
cd financial-valuation-app/frontend
if [ -f "package.json" ] && grep -q '"test"' package.json; then
npm test -- --watchAll=false --passWithNoTests
else
echo "No frontend tests configured, skipping..."
fi

- name: Test API endpoints
run: |
cd financial-valuation-app/backend
# Start the Flask server in background
python app.py &
sleep 10

# Test basic endpoints
curl -f http://localhost:5000/health
curl -f http://localhost:5000/api/analysis/types
curl -f http://localhost:5000/static/swagger.json

# Test Swagger UI
curl -f http://localhost:5000/api/docs/

echo "✅ All API tests passed!"
65 changes: 57 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,60 @@
# ignore .venv
.venv/
# ignore python bytecode
# Python
__pycache__/
**/__pycache__/
*.pyc
*.pyo
*.pyd
*.py[cod]
*$py.class
*.so

# Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Testing
.pytest_cache/
# ignore Jupyter Notebook checkpoints
.ipynb_checkpoints/
# ignore coverage reports
.coverage
# vstudio code settings
.vscode/
.coverage.*
htmlcov/
.tox/
.nox/
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/

# OS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# IDEs
.vscode/
.idea/
*.swp
*.swo
*~

# Logs
*.log
logs/

# Temporary files
*.tmp
*.temp
*.bak
*.backup
*.old
tmp/
temp/
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading
Loading