Replies: 1 comment
|
Rewritten to open this up for input rather than to settle it. It now sketches one option — a suite artifact with input-based routing and a hash per branch — as something concrete to react to, adds the evidence from #12 for why a single shared model can struggle with segments, and lists the questions that need practitioner experience to answer. Nothing here is scheduled or specified; option 3 (out of scope) is still on the table. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Real portfolios run segmented scorecards: thin file vs thick file, new vs existing customer, by product. One CompileML artifact governs one population. There is currently no answer to:
The obvious answer — "just make N artifacts" — loses the property that makes CompileML worth using: a single hashed object that is the decision. If routing lives in someone's Python glue, the glue is now an unaudited part of the decision, which is precisely the failure mode this project exists to prevent.
Why this has become more pressing
retention_by_segment(#12) can now show that one segment paid for compression — lower retention, more decisions that differ from the teacher across its cutoff range. The levers inside a single artifact have limits, measured on synthetic data built for each case (a 10% segment, depth 2):Weighting a shared model makes segments compete for one budget: helping one costs the others. And an interaction that exists only in one segment is a three-way effect (segment × A × B), which no number of depth-2 trees expresses. A separate model per segment is the standard answer in scorecard practice. The question is how to have it without losing the single hashed decision.
Options
A sketch of option 1, to react to
Shape. One artifact containing:
What it would preserve. Routing is integer comparison and each branch is an ordinary depth-2 model, so the inference side stays standard library and simple arithmetic. SQL and COBOL exports become a
CASE/EVALUATEon the route followed by the branch. Attribution stays exact per branch; reason codes come from the branch that decided, relative to that branch's baseline — as they do from whichever scorecard applied in a segmented suite today.What it would add. Per-branch hashes would make change control provable: retrain the thin-file branch and the thick-file branch's hash is unchanged, so those decisions can be certified untouched without re-validating them.
What it would cost. A new artifact schema version. It would be sensible to bundle it with other spec changes (#39, #11) rather than bump the schema repeatedly.
Open questions
These are the ones we cannot answer well ourselves.
Ask
Discussion first, no PR. If you have governed segmented scorecards, the most valuable contribution here is what actually happened: what was required, what broke, and what you would not do again.
All reactions