Skip to content

Jenner compatibility tests for 5 script(s)#1

Open
lwsinclair wants to merge 1 commit into
PharmaForest:mainfrom
lwsinclair:jenner-check/initial-bundles
Open

Jenner compatibility tests for 5 script(s)#1
lwsinclair wants to merge 1 commit into
PharmaForest:mainfrom
lwsinclair:jenner-check/initial-bundles

Conversation

@lwsinclair

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 Anthropic Claude Code AI in a collaborative workspace. It's available for Mac on the Apple App Store, and by license for Windows and Linux. The misc package's FCMP routines, expression macros, and reference-table macros run on it, and this PR adds a small set of compatibility bundles built from your own code so you can see for yourself.

Yes, AI was used to develop this PR as is most code in modern businesses today.

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.

This PR is our way of giving back to the developers whose code we use to validate the SAS-compatible Jenner system. We test against all SAS code in the world to validate our compatibility. These tests are the way we build our product. But we do not want to just keep them for ourselves: we share some of those tests with the repo owner so that they benefit from the automated test coverage as well.

Everything new lives under a single jenner-check/ directory and touches nothing else in the package:

jenner-check/
├── t001_swapn/          swapn() numeric-scalar swap (PROC FCMP)
├── t002_swapc/          swapc() character-scalar swap (PROC FCMP)
├── t003_roundsig/       %roundSig() significant-digits rounding
├── t004_symbol_swatch/  %symbol_swatch() marker reference (PROC SGPLOT)
├── t005_view_swatch/    %view_swatch() DICTIONARY/SASHELP reference
└── run_jenner.sh        one runner for every bundle

Each bundle holds the script, the sample call, and the captured log and output. To run them all: cd jenner-check && ./run_jenner.sh --all (a .bat and .sas runner are included too, or paste any script into the hosted workspace).

A couple of things stood out while reading the package. The FCMP swapn/swapc pair is a clean, genuinely reusable primitive, and giving each macro its own HELP START/HELP END block with per-author attribution makes the source pleasant to navigate. The %roundSig README examples also match its output exactly.

No action is needed. Merge it, close it, or leave it open — whatever suits the package. To opt out of PRs like this, comment no-more-prs or open an issue titled jenner-check: opt out.


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

Adds a self-contained jenner-check/ directory with five compatibility
bundles derived from the misc package's own code, each verified against
the public Jenner API (https://api.jenneranalytics.com):

  t001_swapn         swapn() numeric-scalar swap (PROC FCMP)
  t002_swapc         swapc() character-scalar swap (PROC FCMP)
  t003_roundsig      %roundSig() significant-digits rounding macro
  t004_symbol_swatch %symbol_swatch() marker-symbol reference (PROC SGPLOT)
  t005_view_swatch   %view_swatch() DICTIONARY/SASHELP cross-reference

Each bundle ships script.sas + autoexec.sas, a frozen expected.json, a
captured log/output snapshot, and meta.json provenance. A run_jenner
(.sh/.bat/.sas) runner submits and checks every bundle.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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