Jenner compatibility tests for 7 script(s)#6
Open
lwsinclair wants to merge 1 commit into
Open
Conversation
Adds a jenner-check/ directory with one bundle per distinct RTRA script technique, each runnable in isolation against the Jenner API: t001_emp_naics_agegrp employment by NAICS and age group t002_ftpt_region full-/part-time by economic region t003_empcow_naics employment by class of worker t004_empsize_naics employment by establishment size t005_emp_permtemp_naics permanent vs temporary employment t006_hrlywages_mean mean hourly wages by NAICS and gender t007_emp_region_stat labour-force status by economic region Each bundle ships a small mock LFS extract for the RTRAdata library and an RTRA-compatible %RTRAFreq / %RTRAMean shim so the DATA step and the macro call run end to end. Includes a pure-SAS runner (run_jenner.sh/.bat/.sas) plus frozen expected results and readable run snapshots per bundle. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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 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. Your SAS code here runs on it unmodified — this PR adds a few compatibility bundles 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
jenner-check/, one folder per script with the SAS, a small autoexec, a frozen expected result, and a readable snapshot of the run:Each bundle stands in a small mock LFS extract for the
RTRAdatalibrary and an RTRA-compatible%RTRAFreq/%RTRAMeanshim, so the DATA step and the macro call run end to end in isolation. Run them all with./jenner-check/run_jenner.sh --all, or POST anyscript.sasstraight to the API or the hosted workspace.I enjoyed reading these — the recoding is clean and self-documenting: the ERTAB-to-economic-region mapping reads like a legend, the age and firm-size bands are easy to follow, and routing every estimate through a single weighted-tally macro keeps the whole script family consistent. It made the bundles easy to build.
Merge it, cherry-pick a folder, or close it — no response expected either way. To opt out of any future PRs, just leave a comment with
no-more-prsor open an issue titledjenner-check: opt out.Lawrence W. Sinclair
CEO / Jenner Analytics Ltd
jenneranalytics.com
linkedin.com/in/lwsinclair/