Chapter 3/4/8 DATA-step scripts run unmodified on Jenner - #1
Open
jenner-analytics wants to merge 1 commit into
Open
Chapter 3/4/8 DATA-step scripts run unmodified on Jenner#1jenner-analytics wants to merge 1 commit into
jenner-analytics wants to merge 1 commit into
Conversation
Adds jenner-check/, a self-contained set of compatibility test bundles built from seven of this repo's own chapter scripts (parking-fine summary stats, instruction-scores MEANS breakdown, the fish/gradebook DATA step tour, tornado INFILE variety, right-to-work FREQ tables, a LIBNAME permanent-library round trip, and the probability-function chapter), each captured against the hosted Jenner API with a pinned expected.json and a bash runner to reproduce it. Nothing outside jenner-check/ is touched and nothing runs on merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 Chapter 3 MEANS.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 package, shared in case it's useful, and was assembled with AI assistance as is most code in modern businesses today.
One thing that stood out reading through the chapters:
Chapter 4 DATA.saschains its grouping logic asIF 2.0 < age < 3.0 THEN Group = 2;— SAS's own reading of that as two comparisons against the result of the first, rather than a Python-style range check, is one of the more common gotchas for people coming from other languages, and you use it correctly right next to aLOWCASE/UPCASE/PROPCASEcleanup pass and a unit conversion. That's a nice compact demonstration of DATA step fundamentals in one file.jenner-check/is a small, self-contained set of compatibility bundles built from seven of your own chapters — parking-fine summary stats, the instruction-scores MEANS breakdown, the fish/gradebook DATA step tour, the tornado INFILE variety (list, fixed-column, and delimited input), the right-to-work FREQ tables, a LIBNAME permanent-library round trip, and the probability-function chapter — each with its captured log/output and a runner to reproduce it:Check out this PR's branch and, from the repo root, you can run one of the bundles directly:
# Check out this PR (puts you on its branch); then run from the repo root: gh pr checkout 1 curl -sS --data-binary @jenner-check/t002_instruction_means/script.sas https://api.jenneranalytics.com/v1/quickOr
cd jenner-check && ./run_jenner.sh --allto re-run every bundle and verify it against the pinned results. The hosted API is free to try, no signup required — full API reference: the docs.Only the SAS source text that a bundle runs (its
autoexec.sas+script.sas) is ever sent toapi.jenneranalytics.com; the runner doesn't read or upload any data files, so anything sitting next to a script stays on your machine, and nothing is transmitted unless you run a command yourself — the same as pasting a snippet into any hosted tool.Merge it, close it, or ignore it — no response expected, and we won't open further PRs in this repo. If you'd rather not see any of these, a comment with
no-more-prs, or an issue titledjenner-check: opt out, does it for good.Lawrence W. Sinclair
CEO / Jenner Analytics Ltd
linkedin.com/in/lwsinclair/