UI_instrument / BookType recodes run unmodified on Jenner#9
Open
jenner-analytics wants to merge 1 commit into
Open
UI_instrument / BookType recodes run unmodified on Jenner#9jenner-analytics wants to merge 1 commit into
jenner-analytics wants to merge 1 commit into
Conversation
Bundles built from code already in this repo: - t001_make_formats: PROC FORMAT value lists from Macros/Make_formats.sas - t002_ui_instrument: %UI_instrument SELECT/WHEN recode (Macros/UI_instrument.sas) - t003_booktype_freq: %BookType recode tabulated with PROC FREQ (Macros/BookType.sas) Each bundle ships the SAS under test, a small bash+curl runner, the pinned log/listing from a passing run, and provenance. Self-contained under jenner-check/; nothing else in the repo is referenced or 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 Make_formats.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 ROD library, shared in case it's useful, and was assembled with AI assistance as is most code in modern businesses today.
What stood out is how much of the ROD read path rests on a couple of small, well-factored recode macros.
%UI_instrumentmaps the raw Recorder-of-Deeds instrument text ("TRUSTEES DEED", "LIS PENDENS", "FORECLOSURE MEDIATION CERTIFICATE") onto a compact two-character document-type code through a singleSELECT/WHENblock, and%BookTypedoes the same for the GEN/LAN/OPR book codes — with theotherwisebranch routing anything unexpected to a diagnostic instead of silently mislabeling it. Pairing those with the$uinstr,$booktyp,outcomeand$OwnCatvalue lists inMake_formats.saskeeps the whole vocabulary of a foreclosure notice in one readable place. It's a clean way to hold a decade of scraped county records to one consistent shape.The
jenner-check/directory is self-contained: three bundles built from code already in this repo, nothing outside it touched, and nothing runs on merge or checkout. Each keeps the source construct verbatim — theMake_formats.sasvalue lists, the%UI_instrumentrecode, the%BookTyperecode — and supplies a few inline sample notice records so it stands alone off the ROD library.Each bundle carries the SAS under test, the pinned log and listing from a passing run, and provenance (source path, blob sha, commit). To try one against the hosted API, check out this PR and run from the repo root:
# Check out this PR (puts you on its branch); then run from the repo root: gh pr checkout 9 curl -sS --data-binary @jenner-check/t002_ui_instrument/script.sas https://api.jenneranalytics.com/v1/quickThat returns the recoded document-type listing. From
jenner-check/,./run_jenner.sh --allre-runs all three bundles and verifies the pinned fields in eachexpected.json. It's free to try, no signup — full API reference: the docs.A note on what leaves your machine:
run_jenner.shuploads only the SAS source text of the script it runs (plus a two-line autoexec) to api.jenneranalytics.com, which runs it and returns the log and listing. It doesn't read or upload any data files, so anything sitting next to a script stays put, and nothing is sent unless you run a command yourself — only the code you run is transmitted, as when pasting a snippet into any hosted tool. Each bundle ships its own inline sample records, so no ROD data is involved and you can review exactly what a run sends before sending it.Merge it, close it, or ignore it — all fine, and no response is expected. We won't open further PRs in this repo. To opt out of any future ones for good, put
no-more-prsin a comment here or open an issue titledjenner-check: opt out.Lawrence W. Sinclair
CEO / Jenner Analytics Ltd
linkedin.com/in/lwsinclair/