Skip to content

simulation.sas runs unmodified on Jenner — test bundle - #1

Open
jenner-analytics wants to merge 1 commit into
mariaob1201:mainfrom
jenner-analytics:jenner-check/initial-bundles
Open

simulation.sas runs unmodified on Jenner — test bundle#1
jenner-analytics wants to merge 1 commit into
mariaob1201:mainfrom
jenner-analytics:jenner-check/initial-bundles

Conversation

@jenner-analytics

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 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 simulation.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 project, shared in case it's useful, and was assembled with AI assistance as is most code in modern businesses today.

The IntersectSegsSimple function is a clean, self-contained piece of linear algebra — solving Ax=b for the two segment parameters and checking both land in [0,1] is exactly the right way to test chord intersection, and framing the "singular matrix" case (parallel chords) as a deliberate simplifying assumption rather than an edge case you missed shows you'd thought the geometry through before writing code.

jenner-check/ contains:

jenner-check/
├── run_jenner.sh
├── README.md
└── t001_chord_intersection_iml/
    ├── script.sas       # simulation.sas, N reduced from 1e5 to 2000 for a quick run
    ├── autoexec.sas
    ├── expected.json
    ├── expected/
    │   ├── log.txt
    │   └── output.txt
    └── meta.json

Check out this PR's branch and run from the repo root to try it yourself:

gh pr checkout 1
curl -sS --data-binary @jenner-check/t001_chord_intersection_iml/script.sas https://api.jenneranalytics.com/v1/quick

cd jenner-check && ./run_jenner.sh --all re-runs the bundle and checks it against the pinned fields in expected.json. The hosted API is free to try, no signup — full API reference: the docs.

Only the SAS source text of the script you run (plus a two-line autoexec) is uploaded to api.jenneranalytics.com, which runs it and returns the log and listing — no data files are read or uploaded, so anything sitting next to a script stays on your machine, and nothing is sent unless you run a command yourself.

Merge it, close it, or ignore it — all fine, no response expected. We won't open further PRs in this repo; to opt out for good, leave a comment containing no-more-prs or open an issue titled jenner-check: opt out.


Lawrence W. Sinclair
CEO / Jenner Analytics Ltd
linkedin.com/in/lwsinclair/

Adds jenner-check/t001_chord_intersection_iml, derived from
simulation.sas (the repo's Monte Carlo two-random-chords-intersection
simulation in PROC IML), plus the run_jenner.sh runner and its README.
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