Jenner compatibility tests for prepare-chat-for-nsrr.sas#338
Open
lwsinclair wants to merge 1 commit into
Open
Conversation
Adds a jenner-check/ directory with four self-contained bundles lifted from distinct parts of scripts/prepare-chat-for-nsrr.sas, each paired with a small inline datalines input so it runs in isolation against the Jenner SAS API: t003_ahi_computation AHI + sleep-maintenance-efficiency formulas t004_harmonized_checks PROC MEANS / PROC FREQ of the harmonized vars t005_psg_decimal_hours PSG lights/onset restore + decimal-hour conversion t006_missing_value_recode sentinel-code-to-missing recodes Original statements are kept verbatim; only the external libname/Excel sources are swapped for inline datalines. Includes run_jenner.sh/.bat/.sas and a captured expected.json + expected/ snapshot per bundle. Co-Authored-By: Claude Fable 5 <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.
The data-prep logic in
scripts/prepare-chat-for-nsrr.sasruns on it directly. This PR adds a smalljenner-check/directory with four self-contained bundles, each lifted from a distinct part of that script and paired with a tiny synthetic input so it runs in isolation:Each bundle keeps the original statements verbatim; only the external libname/Excel sources are swapped for small inline
datalines. Run them with./run_jenner.sh --all, or open anyscript.sasin the hosted workspace.What stood out reading the script: the provenance is unusually disciplined — every dropped variable carries a one-line reason, and the harmonization block names the exact CHAT source variable behind each
nsrr_*output.Merge, close, or ignore as you see fit — no response expected. To opt out of future PRs like this, comment
no-more-prsor open an issue titledjenner-check: opt out.