Skip to content

Jenner compatibility tests for 5 script(s)#428

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

Jenner compatibility tests for 5 script(s)#428
lwsinclair wants to merge 1 commit into
sasjs: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. Several of the Macro Core base macros run on it directly, and this PR adds a small jenner-check/ folder so you can see them run for yourself.

The folder holds five self-contained bundles, each built around one of your base/ macros — mf_dedup, mf_islibds, mf_mval, mf_fmtdttm, and mf_getplatform — using the usage examples from your own macro headers. Each bundle has a script.sas, the captured expected/ output, and a meta.json noting the source file. Run them all with the bundled runner:

cd jenner-check
./run_jenner.sh --all        # or run_jenner.bat / run_jenner.sas

Reading through base/ it's clear how much care went into the conventions here — the mf_/mp_ prefixing, the @brief/@param/usage doc header on every macro, and a tests/ tree that mirrors the library file-for-file. mf_islibds validating a two-level reference with a single Perl regex, and mf_dedup's tidy token loop, were especially nice to read.

No response is expected — merge, close, or ignore as you see fit. If you'd prefer not to receive PRs like this, reply with no-more-prs or open an issue titled jenner-check: opt out and we won't send more.

Adds a jenner-check/ folder with five self-contained bundles, each built
around one of the base/ macros and exercised with the usage examples from
its own macro header:

  t001_mf_dedup       - string token de-duplication
  t002_mf_islibds     - libref.dataset regex validation
  t003_mf_mval        - safe macro-variable resolution
  t004_mf_fmtdttm     - version-aware datetime format selection
  t005_mf_getplatform - SAS platform detection

Each bundle ships script.sas, autoexec.sas, a captured expected/ snapshot,
expected.json, and meta.json. A pure-SAS runner (run_jenner.sas/.bat/.sh)
submits each bundle to the Jenner API. All five run with status=ok,
exit_code=0.

Co-Authored-By: Claude Fable 5 <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