simulation.sas runs unmodified on Jenner — test bundle - #1
Open
jenner-analytics wants to merge 1 commit into
Open
simulation.sas runs unmodified on Jenner — test bundle#1jenner-analytics wants to merge 1 commit into
jenner-analytics wants to merge 1 commit into
Conversation
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.
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 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
IntersectSegsSimplefunction is a clean, self-contained piece of linear algebra — solvingAx=bfor 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:Check out this PR's branch and run from the repo root to try it yourself:
cd jenner-check && ./run_jenner.sh --allre-runs the bundle and checks it against the pinned fields inexpected.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-prsor open an issue titledjenner-check: opt out.Lawrence W. Sinclair
CEO / Jenner Analytics Ltd
linkedin.com/in/lwsinclair/