Skip to content

cost_summary.sas runs unmodified on Jenner — test bundle#1

Open
jenner-analytics wants to merge 1 commit into
Yanan-Hu:mainfrom
jenner-analytics:jenner-check/initial-bundles
Open

cost_summary.sas runs unmodified on Jenner — test bundle#1
jenner-analytics wants to merge 1 commit into
Yanan-Hu:mainfrom
jenner-analytics:jenner-check/initial-bundles

Conversation

@jenner-analytics

@jenner-analytics jenner-analytics commented Jul 11, 2026

Copy link
Copy Markdown

Jenneranalytics.com provides an API that runs SAS code, with support for more than 200 SAS procedures. You can also use it with AI assistants in a collaborative workspace. It's available for Mac on the Apple App Store, and by license for Windows and Linux.

We support the larger community by
(1) increasing access to SAS-compatible systems,
(2) by providing test coverage and a test coverage framework to public SAS repos in order to encourage the use of best practices in software engineering.

Your cost_summary.sas runs on Jenner unmodified — this PR adds a small compatibility bundle so you can see for yourself. It's the test we wrote for your project, shared in case it's useful, and was assembled with AI assistance as is most code in modern businesses today.

The DRG cost logic in npdc cost.sas stood out — the loading adjustments (spa, ind, a, rt, dia) change year over year (2016-2020) and carve out a separate rate for the specialised paediatric hospital via area_identifier='X630'. That fidelity to the real funding formula is easy to skip in research code, and it shows the cost figures behind the risk-decile analysis were built carefully.

jenner-check/ has four bundles from your DATA-step and PROC logic (RANK/TABULATE/SGPLOT decile summaries, the SEIFA disadvantage merge, DRG cost imputation + obstetric-admission flagging, and the BMI/age-group derivation). Nothing outside jenner-check/ is touched, nothing runs on merge.

jenner-check/
├── README.md
├── run_jenner.sh
├── t001_cost_summary_decile/
├── t002_seifa_grouping/
├── t003_drg_cost_load/
└── t004_bmi_age_grouping/

Check out this PR's branch and run one bundle from the repo root:

gh pr checkout 1
curl -sS --data-binary @jenner-check/t004_bmi_age_grouping/script.sas https://api.jenneranalytics.com/v1/quick

cd jenner-check && ./run_jenner.sh --all re-runs all four against their pinned results. Free to try, no signup — full reference: the docs.

The runner uploads only the SAS source text it runs (plus a two-line autoexec) to api.jenneranalytics.com. It doesn't read or upload data files, so anything next to a script — your cost or SEIFA CSVs — stays on your machine; nothing is sent unless you run a command yourself.

Merge, close, or ignore this — no response expected, and we won't open further PRs here. Opt out for good with no-more-prs in any comment, or an issue titled jenner-check: opt out.


Lawrence W. Sinclair
CEO / Jenner Analytics Ltd
linkedin.com/in/lwsinclair/

Adds jenner-check/, a self-contained directory with four test bundles
built from this repo's SAS (Code/SAS/Cost assignment/cost_summary.sas,
Code/SAS/Cost assignment/npdc cost.sas, and Code/SAS/Data pre-processing/
npdc clean.sas), plus the run_jenner.sh runner and its README. Each
bundle pins a captured passing run from https://api.jenneranalytics.com
so the same script can be re-run and compared against that snapshot.
Nothing outside jenner-check/ is touched and nothing runs on merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant