diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 5d2fb1a..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Python package - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.7, 3.8, 3.9] - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - name: Run tests - run: | - python -m unittest discover tests \ No newline at end of file diff --git a/parameters.py b/parameters.py deleted file mode 100644 index d01bda6..0000000 --- a/parameters.py +++ /dev/null @@ -1,32 +0,0 @@ -from squigglepy import K, M - -input_params = { - "m": 200, # The number of paths - "years": 70, - "cash_start": 10 * K, - "market_start": 10 * K, - "life_cycle_income": [ - (40 * K) + (year * 2 * K) for year in range(70) - ], # Baseline income lifecycle - "min_income": 15 * K, - "min_cash": 0, - "min_market": 0, - - "income_fraction_consumed": 0.65, - "wealth_fraction_consumed_before_retirement": 0.1, - "wealth_fraction_consumed_after_retirement": 0.4, - - "max_cash_threshold": 10 * K, - "min_cash_threshold": 5 * K, - - "inflation_rate": 0.02, - "ar_income_coefficients": [0.4, 0.2, 0.1], - "ar_income_sd": 15 * K, - "ar_inflation_coefficients": [0.4, 0.2], - "ar_inflation_sd": 0.01, - "r": 0.02, # Discount rate - - "years_until_retirement": 45, - "years_until_death": 70, - "retirement_income": 10 * K, -}