Joseph Spada commited on
Commit
ef45508
·
1 Parent(s): 8408e1a

updated numbers from mar 25 CBO release

Browse files
Files changed (2) hide show
  1. app.py +5 -5
  2. graph_data.xlsx +0 -0
app.py CHANGED
@@ -35,15 +35,15 @@ print(data)
35
 
36
 
37
  # %%
38
- baseline_interest_rate = 3.67
39
  #baseline_revenues = 15928.73
40
- baseline_cagr_revenues = 4.02
41
  total_revenues_2024 = data.loc[2024, "Total Revenues"]
42
 
43
  def plot_interest_coverage(interest_rate, cagr_revenues):
44
 
45
  # calculate the yearly increase in the interest rate based on the projected interest rate in 2054
46
- interest_rate_yearly_increase = (interest_rate - baseline_interest_rate) / (2054 - 2025) / 100
47
  # calculate the yearly increase in revenues based on the projected interest rate in 2054
48
  # revenues_yearly_increase = (revenues - baseline_revenues) / (2054 - 2025)
49
 
@@ -202,7 +202,7 @@ with gr.Blocks() as interface:
202
  interest_rate_upperbound,
203
  step = .1,
204
  value = baseline_interest_rate,
205
- label = "2054 Projected Average Interest Rate on Federal Debt"
206
  )
207
 
208
  # Create the slider input below the image for projected revenues
@@ -211,7 +211,7 @@ with gr.Blocks() as interface:
211
  cagr_revenues_upper_bound,
212
  step = 0.01,
213
  value = baseline_cagr_revenues,
214
- label = "Compound Annual Growth Rate of Revenues through 2054"
215
  )
216
 
217
  gr.Markdown('<p style="font-size:11px;">Source: CBO June 2024 An Update to the Budget and Economic Outlook: 2024 to 2034, '
 
35
 
36
 
37
  # %%
38
+ baseline_interest_rate = 3.64
39
  #baseline_revenues = 15928.73
40
+ baseline_cagr_revenues = 4.1
41
  total_revenues_2024 = data.loc[2024, "Total Revenues"]
42
 
43
  def plot_interest_coverage(interest_rate, cagr_revenues):
44
 
45
  # calculate the yearly increase in the interest rate based on the projected interest rate in 2054
46
+ interest_rate_yearly_increase = (interest_rate - baseline_interest_rate) / (2055 - 2025) / 100
47
  # calculate the yearly increase in revenues based on the projected interest rate in 2054
48
  # revenues_yearly_increase = (revenues - baseline_revenues) / (2054 - 2025)
49
 
 
202
  interest_rate_upperbound,
203
  step = .1,
204
  value = baseline_interest_rate,
205
+ label = "2055 Projected Average Interest Rate on Federal Debt"
206
  )
207
 
208
  # Create the slider input below the image for projected revenues
 
211
  cagr_revenues_upper_bound,
212
  step = 0.01,
213
  value = baseline_cagr_revenues,
214
+ label = "Compound Annual Growth Rate of Revenues through 2055"
215
  )
216
 
217
  gr.Markdown('<p style="font-size:11px;">Source: CBO June 2024 An Update to the Budget and Economic Outlook: 2024 to 2034, '
graph_data.xlsx CHANGED
Binary files a/graph_data.xlsx and b/graph_data.xlsx differ