Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Commit 2748bd8

Browse files
Fix Cyrillic character in aco_benchmark, docstring typo, and CI permissions
Agent-Logs-Url: https://github.com/timothyhartzog/healthcare-finance-julia/sessions/574ebd63-153c-4708-b462-0dd21755706f Co-authored-by: timothyhartzog <38704724+timothyhartzog@users.noreply.github.com>
1 parent 66bf48b commit 2748bd8

7 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: ["main", "master"]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test:
1114
name: Julia ${{ matrix.julia-version }} — ${{ matrix.os }}

book/chapters/08_value_based_care.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ CMS tracks include:
3333
using HealthcareFinance
3434

3535
# Set prospective benchmark
36-
benchmark = acо_benchmark(11_500.0, 0.035, 1.08)
36+
benchmark = aco_benchmark(11_500.0, 0.035, 1.08)
3737
println("ACO benchmark PBPY: \$", round(benchmark, digits=0))
3838

3939
# Compute shared savings

examples/hospital_financial_demo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ println(" Medical loss ratio: $(round(mlr_val*100, digits=1))%")
6262

6363
# ─── 5. ACO / MSSP Performance ────────────────────────────────────────────────
6464
println("\n[5] ACO SHARED SAVINGS CALCULATION")
65-
bench = acо_benchmark(12_200.0, 0.035, 1.06)
65+
bench = aco_benchmark(12_200.0, 0.035, 1.06)
6666
savings = mssp_shared_savings(bench, 11_400.0, 15_000, 0.50;
6767
minimum_savings_rate=0.02)
6868
println(" ACO benchmark PBPY: \$$(round(bench, digits=0))")

src/HealthcareFinance.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export monte_carlo_mean, simulate_growth,
6464

6565
# ValueBasedCareEngine
6666
export value_score, qalys,
67-
mssp_shared_savings, mssp_shared_losses, acо_benchmark,
67+
mssp_shared_savings, mssp_shared_losses, aco_benchmark,
6868
total_cost_of_care, tcoc_pmpm,
6969
hedis_composite_score, care_gap_closure_roi,
7070
star_rating_score, readmission_reduction_savings,

src/budgeting/budgeting_engine.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ end
143143
# ─── Capital Budget Ranking ───────────────────────────────────────────────────
144144

145145
"""
146-
capital_budget_rank(projects; npv_weights=1.0, strategic_weights=0.0)
146+
capital_budget_rank(projects; npv_weight=0.7, strategic_weight=0.3)
147147
148148
Rank capital projects by weighted score.
149149

src/value_based_care_engine.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module ValueBasedCareEngine
22

33
export value_score, qalys,
4-
mssp_shared_savings, mssp_shared_losses, acо_benchmark,
4+
mssp_shared_savings, mssp_shared_losses, aco_benchmark,
55
total_cost_of_care, tcoc_pmpm,
66
hedis_composite_score, care_gap_closure_roi,
77
star_rating_score, readmission_reduction_savings,
@@ -19,7 +19,7 @@ end
1919
# ─── MSSP / ACO ───────────────────────────────────────────────────────────────
2020

2121
"""
22-
acо_benchmark(historical_expenditures, trend_rate, risk_adjustment_factor=1.0)
22+
aco_benchmark(historical_expenditures, trend_rate, risk_adjustment_factor=1.0)
2323
2424
Set an ACO expenditure benchmark from historical per-capita spending.
2525
@@ -29,7 +29,7 @@ Set an ACO expenditure benchmark from historical per-capita spending.
2929
3030
Returns the prospective benchmark PBPY.
3131
"""
32-
function acо_benchmark(historical_expenditures::Real, trend_rate::Real,
32+
function aco_benchmark(historical_expenditures::Real, trend_rate::Real,
3333
risk_adjustment_factor::Real=1.0)
3434
historical_expenditures > 0 ||
3535
throw(ArgumentError("historical_expenditures must be positive"))

test/value_based_care_extended_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using Test
22

33
@testset "Value-Based Care Engine — extended" begin
44
# ACO benchmark
5-
bench = acо_benchmark(12_000.0, 0.03, 1.05)
5+
bench = aco_benchmark(12_000.0, 0.03, 1.05)
66
@test bench 12_000.0 * 1.03 * 1.05 atol=1e-6
77

88
# MSSP shared savings

0 commit comments

Comments
 (0)