@model-match/api 3.80.0 → 3.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RELEASE_NOTES.md +25 -0
- package/dist/{index-uHovaz1c.d.mts → index-lozh1XVx.d.mts} +456 -20
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +17 -5
- package/dist/slim/index.mjs +41 -5
- package/dist/{src-c-fp5gD8.mjs → src-M8s5qk6q.mjs} +43 -3
- package/openapi.json +1188 -249
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
Changes to `@model-match/api` that affect how you use it. Each version is generated from the ModelMatch API's OpenAPI spec, so new endpoints and fields appear in the [API reference](https://docs.modelmatch.com/developers) as they ship.
|
|
4
4
|
|
|
5
|
+
## 3.81.0
|
|
6
|
+
|
|
7
|
+
- **Studio: a job's alerts can email its creator.** When an alert rule on a saved job matches on a scheduled run, the person who created the job gets one email, and an entry in their notifications, listing every job of theirs that fired. All response changes are additive.
|
|
8
|
+
- `createStudioJob` accepts `notify: { email: boolean }`. Emails are on by default for a job with alerts; the job returns `notify` when it is set.
|
|
9
|
+
- New `updateStudioJob` (`PATCH /v1/studio/jobs/{name}`, free): send `{ notify: { email } }` to stop or restart a job's alert emails.
|
|
10
|
+
- A scheduled run where an alert matched returns `delivery`: `status` (`pending`, `sent`, `inbox`, `off`, `skipped`, `expired` or `failed`), with `reason` and `at`.
|
|
11
|
+
|
|
12
|
+
- **Studio models: train a few at once, and watch a retrain.** All response changes are additive.
|
|
13
|
+
- Your organization can now have up to 3 models running at the same time (one run per model). When all 3 are busy, `createStudioModel` and `refreshStudioModel` answer `409 model_training_in_progress` with a message that names the running models and the limit, and `details.running` / `details.limit` / `details.retryAfterSeconds`.
|
|
14
|
+
- Retraining a model (`refreshStudioModel` with `retrain: true`) now shows its progress: while it runs, `getStudioModel` and `listStudioModels` return `progress` — the numbered step, the time left and the live `progress.trace` — just as for a new model, and the model stays `ready` with its current report card and scores until the new version is published. The new card keeps the final trace as `card.trace`.
|
|
15
|
+
- A plain refresh of the scores reports `progress` too (three steps, no trace). New field `progress.kind`: `train` or `score`.
|
|
16
|
+
|
|
17
|
+
- **New: live training progress for Studio models.** While a model trains, `getStudioModel` returns `progress.trace`, a small summary a progress screen can draw and animate:
|
|
18
|
+
- `backtest.periods`: for each test period the model had not seen, its cases ranked by the model's score and cut into columns (best-scored first), with how many cases and how many had the outcome in each column, the same for the best simple rule, and, once the checks are done, whether the model beat the rule in that period. `backtest.frames` replays the columns as the model learned. Every column holds at least 25 cases.
|
|
19
|
+
- `rounds.points`: the model's score by training round, for a line chart.
|
|
20
|
+
- `fields`: how much the model leans on each data point you chose, by its label, as training goes on (`fieldFrames`); `rejected`: data points turned away before training, with the reason.
|
|
21
|
+
- `result`: passed or not, and whether it was published with a caution.
|
|
22
|
+
- When training has finished the final trace stays on the report card as `card.trace` (from `getStudioModel`).
|
|
23
|
+
|
|
24
|
+
- **New: `getStudioPublishedModel`.** The report card of a prediction model ModelMatch publishes for every organization (its scores are a published `mm_model_…` table in `getStudioCatalog`): what it predicts, how it was tested, the lift, three checks, the data points that mattered and the ones it barely used, the caveats, and `hasCaution` / `caution`. Free.
|
|
25
|
+
|
|
26
|
+
## 3.80.1
|
|
27
|
+
|
|
28
|
+
- Regenerated from the latest API spec. No changes to the client itself.
|
|
29
|
+
|
|
5
30
|
## 3.80.0
|
|
6
31
|
|
|
7
32
|
- **New: published Studio tables.** `getStudioCatalog` can list tables of `kind: "published"` — named `mm_…`, computed and kept up to date by ModelMatch for every organization, with `published: { maintainedBy, refreshedAt }`. They are read-only and queried with `runStudioQuery` like any other table, at the same price. `mm_retention` (borrower retention of every mortgage company) is the first; a table appears once ModelMatch publishes it.
|