Jenner compatibility tests for 5 script(s)#61
Open
lwsinclair wants to merge 1 commit into
Open
Conversation
Adds a jenner-check/ directory with five SAS bundles derived from this repository's Police code, each verified to run on the Jenner SAS-compatible engine: t001_make_formats PROC FORMAT crime-event code catalog (Make_formats.sas) t002_macro_offense_to_event %Offense_to_event autocall macro (Macros/Offense_to_event.sas) t003_offense_method_freq SET concat + PROC FREQ crosstabs (Offense_method.sas) t004_crime_test_counts PROC MEANS + PROC FREQ counts (Crime_test_counts.sas) t005_juvenile_arrests_recode INPUT/PUT informat date recoding (Juvenile_arrests_2006.sas) Includes run_jenner.sh / run_jenner_check.sas runners and a README. 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. Your Police data-processing code here runs on it unmodified — this PR adds a small
jenner-check/directory with five compatibility bundles built from your own programs so you can see for yourself.Each
tNNN_*bundle pairs a script drawn from this repo with a tiny in-line data sample and the output Jenner produced. The bundles coverMake_formats.sas(the crime-event code formats), the%Offense_to_eventautocall macro, the offense/method cross-tabulations inOffense_method.sas, the record counts inCrime_test_counts.sas, and the date/time recoding inJuvenile_arrests_2006.sas. To re-run them, from insidejenner-check/run./run_jenner.sh --all(orsas -sysin run_jenner_check.sasagainst your own SAS); both walk every bundle and report pass/fail.The
%Offense_to_eventmacro is a really clean piece of work — funneling MPD's free-text offense and method strings throughpropcase()into a single canonical event code is exactly the kind of normalization that keeps a multi-year crime series comparable, and it reproduced byte-for-byte. The way the format catalog inMake_formats.sascarries both the detailed UI event codes and the rolled-up summary categories is a nice touch too.Merge it, close it, or ignore it — no response expected. If you'd rather not get PRs like this, reply with
no-more-prsanywhere in a comment or open an issue titledjenner-check: opt out.🤖 Generated with Claude Code