stepolan commited on
Commit ·
c32db91
1
Parent(s): 84c5f94
Remove equity display field — no impact on calculations
Browse files
app.py
CHANGED
|
@@ -184,8 +184,6 @@ st.sidebar.header("Plan Parameters")
|
|
| 184 |
with st.sidebar.expander("Compensation Structure", expanded=True):
|
| 185 |
base_salary = st.number_input("Base Salary ($)", value=150_000, step=5_000, key="base")
|
| 186 |
annual_quota = st.number_input("Annual Quota ($)", value=1_250_000, step=50_000, key="quota")
|
| 187 |
-
equity_pct = st.number_input("Equity (%)", value=0.5, step=0.1, format="%.2f", key="equity",
|
| 188 |
-
help="Stock option grant as % of company")
|
| 189 |
|
| 190 |
with st.sidebar.expander("Draw", expanded=False):
|
| 191 |
draw_amount = st.number_input("Draw total ($)", value=50_000, step=5_000, key="draw")
|
|
@@ -335,11 +333,10 @@ with tab_scenario:
|
|
| 335 |
m2.metric("Commission", f"${commission:,.0f}")
|
| 336 |
m3.metric("Total Comp", f"${total_comp:,.0f}")
|
| 337 |
|
| 338 |
-
r1, r2, r3
|
| 339 |
r1.metric("Base (prorated)", f"${prorated_base:,.0f}")
|
| 340 |
r2.metric("Draw Paid", f"${draw_paid:,.0f}")
|
| 341 |
r3.metric("Total Variable", f"${total_variable:,.0f}")
|
| 342 |
-
r4.metric("Equity", f"{equity_pct}%")
|
| 343 |
|
| 344 |
st.markdown("**Company Economics**")
|
| 345 |
c1, c2, c3, c4 = st.columns(4)
|
|
@@ -391,7 +388,7 @@ with tab_scenario:
|
|
| 391 |
"commission_mode": commission_mode,
|
| 392 |
"params": {
|
| 393 |
"base_salary": base_salary, "annual_quota": annual_quota,
|
| 394 |
-
"
|
| 395 |
"draw_months": int(draw_months), "draw_recoverable": draw_recoverable,
|
| 396 |
"ramp_pcts": ramp_pcts, "cogs_pct": cogs_pct,
|
| 397 |
"other_cost_per_rep": other_cost_per_rep,
|
|
|
|
| 184 |
with st.sidebar.expander("Compensation Structure", expanded=True):
|
| 185 |
base_salary = st.number_input("Base Salary ($)", value=150_000, step=5_000, key="base")
|
| 186 |
annual_quota = st.number_input("Annual Quota ($)", value=1_250_000, step=50_000, key="quota")
|
|
|
|
|
|
|
| 187 |
|
| 188 |
with st.sidebar.expander("Draw", expanded=False):
|
| 189 |
draw_amount = st.number_input("Draw total ($)", value=50_000, step=5_000, key="draw")
|
|
|
|
| 333 |
m2.metric("Commission", f"${commission:,.0f}")
|
| 334 |
m3.metric("Total Comp", f"${total_comp:,.0f}")
|
| 335 |
|
| 336 |
+
r1, r2, r3 = st.columns(3)
|
| 337 |
r1.metric("Base (prorated)", f"${prorated_base:,.0f}")
|
| 338 |
r2.metric("Draw Paid", f"${draw_paid:,.0f}")
|
| 339 |
r3.metric("Total Variable", f"${total_variable:,.0f}")
|
|
|
|
| 340 |
|
| 341 |
st.markdown("**Company Economics**")
|
| 342 |
c1, c2, c3, c4 = st.columns(4)
|
|
|
|
| 388 |
"commission_mode": commission_mode,
|
| 389 |
"params": {
|
| 390 |
"base_salary": base_salary, "annual_quota": annual_quota,
|
| 391 |
+
"draw_amount": draw_amount,
|
| 392 |
"draw_months": int(draw_months), "draw_recoverable": draw_recoverable,
|
| 393 |
"ramp_pcts": ramp_pcts, "cogs_pct": cogs_pct,
|
| 394 |
"other_cost_per_rep": other_cost_per_rep,
|