Skip to content

Jenner compatibility tests for 5 script(s)#61

Open
lwsinclair wants to merge 1 commit into
NeighborhoodInfoDC:masterfrom
lwsinclair:jenner-check/initial-bundles
Open

Jenner compatibility tests for 5 script(s)#61
lwsinclair wants to merge 1 commit into
NeighborhoodInfoDC:masterfrom
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. 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 cover Make_formats.sas (the crime-event code formats), the %Offense_to_event autocall macro, the offense/method cross-tabulations in Offense_method.sas, the record counts in Crime_test_counts.sas, and the date/time recoding in Juvenile_arrests_2006.sas. To re-run them, from inside jenner-check/ run ./run_jenner.sh --all (or sas -sysin run_jenner_check.sas against your own SAS); both walk every bundle and report pass/fail.

The %Offense_to_event macro is a really clean piece of work — funneling MPD's free-text offense and method strings through propcase() 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 in Make_formats.sas carries 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-prs anywhere in a comment or open an issue titled jenner-check: opt out.

🤖 Generated with Claude Code

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>
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