Skip to content
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
b6553ae
fix(databricks): keep targets in targets.yml and fix deploy blockers
flyingriverhorse Oct 23, 2026
b8e61e1
feat(databricks): one job_cluster variable for every policy-cluster job
flyingriverhorse Oct 23, 2026
41a2b49
feat(databricks): separate output and metadata schema init answers
flyingriverhorse Oct 23, 2026
84ffa20
feat(databricks): include_examples answer drops example code at init
flyingriverhorse Oct 23, 2026
b51b336
fix(serving): repair failed first deploys and split UC function grants
flyingriverhorse Oct 23, 2026
d8329fd
fix(shap): show encoded width when SHAP skips and warn in preview
flyingriverhorse Oct 23, 2026
6ff5066
refactor(databricks): rename allow_tested_custom_steps to probe_pipel…
flyingriverhorse Oct 23, 2026
9601d05
feat(mlflow): tag experiments as custom_model_development
flyingriverhorse Oct 23, 2026
bde6764
fix(serving): stop ai_query on NULL in non-nullable integer inputs
flyingriverhorse Oct 23, 2026
1b2056e
feat(mlflow): opt-in private index or bundled wheels for model packages
flyingriverhorse Oct 23, 2026
434424e
fix(serving): replace existing SQL functions to add the NULL guard
flyingriverhorse Oct 23, 2026
6b561ec
docs(databricks): ready-table route and actionable date key errors
flyingriverhorse Oct 23, 2026
75e9392
fix(training): count only labeled rows toward max_rows
flyingriverhorse Oct 23, 2026
da95bb2
fix(preprocessing): cast integral floats to string without .0
flyingriverhorse Oct 23, 2026
1c5355c
feat(features): base_transform derives labels and keys from a raw base
flyingriverhorse Oct 23, 2026
7ec851c
fix(preview): grammar of the SHAP width warning
flyingriverhorse Oct 23, 2026
51e6e29
docs: correct which unlabeled rows max_rows skips; base_transform sch…
flyingriverhorse Oct 23, 2026
37a01a8
update verison
flyingriverhorse Oct 23, 2026
ca70467
docs(template): explain filter_unavailable_results next to the setting
flyingriverhorse Oct 23, 2026
98132a6
docs(training): explain rows without a target per layout
flyingriverhorse Oct 23, 2026
d1b3da9
feat(training): skip_missing_targets for single-model projects
flyingriverhorse Oct 23, 2026
fa10023
chore(release): align templates, examples and frontend to 0.9.6
flyingriverhorse Oct 24, 2026
16e0a04
fix(preprocessing): integral string cast on one-row frames
flyingriverhorse Oct 24, 2026
fe6d89d
feat(features): snapshot streaming tables and views as feature sources
flyingriverhorse Oct 24, 2026
168f91b
docs(examples): lakeflow example trains from a streaming table
flyingriverhorse Oct 24, 2026
731c14e
feat(scoring): drop old full-rebuild prediction generations automatic…
flyingriverhorse Oct 24, 2026
f47beff
fix(examples): regenerate lakeflow example after hook rewrite
flyingriverhorse Oct 24, 2026
908647a
refactor(scoring): share one bounded Spark-to-pandas reader
flyingriverhorse Oct 24, 2026
3ab36ca
refactor(monitoring): one missingness decision for local and Spark
flyingriverhorse Oct 24, 2026
e7e9eb8
refactor(mlflow): resolve_model reuses the registered metadata helper
flyingriverhorse Oct 24, 2026
f4c0598
refactor(promotion): build the fresh holdout comparison in one place
flyingriverhorse Oct 24, 2026
09fb425
feat(template): pinned first score skips approval; fewer quick prompts
flyingriverhorse Oct 24, 2026
2f95b30
fix(template): preview summary only for one model; keep follow-champi…
flyingriverhorse Oct 24, 2026
04d13bb
docs(upgrade): ordered upgrade checklist and next action per failed step
flyingriverhorse Oct 24, 2026
4eb2103
docs(upgrade): monitoring failure is repaired by replaying the score …
flyingriverhorse Oct 24, 2026
1c2c5d9
docs(template): generated projects ship README and GUIDE instead of 1…
flyingriverhorse Oct 24, 2026
3ff59c5
Revert plan B upgrade docs (04d13bbc, 4eb21038)
flyingriverhorse Oct 24, 2026
e794d37
feat(template): serving steps show which version is live and how to c…
flyingriverhorse Oct 24, 2026
7216911
feat(features): features.yml table names bind per target
flyingriverhorse Oct 24, 2026
80967de
docs(template): GUIDE names the upgrade-safe customization points
flyingriverhorse Oct 24, 2026
4b034a5
feat(features): optional single entry point features -> train
flyingriverhorse Oct 24, 2026
7210b8f
feat(mlflow): registered versions appear in the experiment Models tab
flyingriverhorse Oct 24, 2026
e3b31a5
docs(databricks): explain experiment training artifacts
flyingriverhorse Oct 24, 2026
e5451ad
docs(template): concrete learning exercise and grants row in README
flyingriverhorse Oct 24, 2026
1a2a5ed
fix(monitoring): Spark drift uses exact KS for 1k-10k rows
flyingriverhorse Oct 24, 2026
cb8d28b
fix(ci): patched dependencies, Playwright runner and Spark example test
flyingriverhorse Oct 24, 2026
4e244ad
fix(deps): patch setuptools and opentelemetry-api in the lock
flyingriverhorse Oct 24, 2026
758c8f6
docs(template): make GUIDE usable for a first-time reader
flyingriverhorse Oct 24, 2026
be08b12
docs(template): GUIDE covers custom steps, serving add-on and recover…
flyingriverhorse Oct 24, 2026
7255415
docs(template): close gaps found by fresh readers of README and GUIDE
flyingriverhorse Oct 24, 2026
58eb887
docs(template): last newcomer gaps from the Haiku retest
flyingriverhorse Oct 24, 2026
e29737e
docs(template): wrap the GUIDE Python example for ruff format
flyingriverhorse Oct 24, 2026
92db17d
docs(template): third-round newcomer gaps (Sonnet and Haiku, 14 tasks)
flyingriverhorse Oct 24, 2026
bd304ee
logo updated
flyingriverhorse Oct 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ exclude: |
.*\.min\.(js|css)|
.*__snapshots__/.*\.ambr|
skyulf-core/templates/databricks/examples/nyctaxi/.*|
skyulf-core/templates/databricks/examples/real_data/(diagnostic_single|bike_demand_set|air_quality_no2)/.*
skyulf-core/templates/databricks/examples/real_data/(diagnostic_single|bike_demand_set|air_quality_no2)/.*|
skyulf-core/templates/databricks/examples/lakeflow/bronze_observations/.*
)$

repos:
Expand Down
13 changes: 0 additions & 13 deletions CLAUDE.md

This file was deleted.

137 changes: 137 additions & 0 deletions changelog/0.9.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,143 @@

For the version index, see root [CHANGELOG.md](../CHANGELOG.md).

## v0.9.6 (unreleased)

- Generated Databricks projects now ship two guides instead of 14: `README.md` for
the first run (former `START_HERE.md`, plus a short learning exercise) and
`GUIDE.md` for settings and operations (former `SOURCES.md`, `TRAINING.md`,
`PREPROCESSING*.md`, `SCORING.md`, `SERVING.md`, `FEATURE_TABLES.md` and the
`deployment/`, `src/features/`, `src/monitoring/` and `src/tools/` READMEs).
Existing projects keep their files; when upgrading, the old guides can be
replaced by the two new ones. Config comments point to `GUIDE.md` sections.
- Databricks template: define every Bundle target in `deployment/targets.yml`
only, so CI rules that allow `targets:` in one file pass. Per-target monitoring,
development monitoring and dashboard create/connect settings moved there from
the removed `deployment/monitoring.yml`. `refresh_feature_graph` no longer writes
`targets:` into `resources/features.job.yml`; it prints the feature job's
per-target `run_as`/`permissions`, and smoke fails until they are merged (or until
leftover entries are removed after feature groups are turned off).
- Personal development targets keep the project in job names
(`[dev <user>] <project>_train`) instead of short `dev_<user>_train` names that
collided across projects deployed by one identity.
- Jobs no longer render an empty `health` block, which failed `bundle deploy` with
the Terraform engine. The `*_health_rules` variables are removed; add duration
warnings as `health.rules` on a job under a target in `targets.yml`.
- Policy-cluster projects define the job cluster once, in the complex `job_cluster`
variable used by the train, score, serving and feature jobs. Add fields a cluster
policy requires (`data_security_mode`, `runtime_engine`, `use_ml_runtime`, ...)
there instead of editing each job file.
- Init answer files accept `output_schema` and `metadata_schema` next to `schema`
(now the input schema), so test variables, `preview.py` and `smoke.py` resolve
outputs and models in the right schema. Blank values keep using `schema`. The
project setup guide shows how to run `bundle init` without valid credentials.
- New init-file answer `include_examples` (default `true`). `false` generates the
project without example recipes, example callback files and feature-group
examples, so they no longer have to be deleted by hand.
- First run for a single model with batch scoring: `START_HERE.md` no longer sends a
pinned project through approval. Step 5 scores the registered version for one run
(`--params score_model_version=N`); approval is an optional later step for champion
scoring; with `score_follow_champion` it notes that approval starts a score run.
Monitoring steps appear only when monitoring is on. The monitoring
question now comes before the outcome-table questions, which a `single_table`
project without monitoring no longer asks (quick setup: 12 questions instead of 14).
- Spark drift for 1,000-10,000 rows per side now uses SciPy's exact two-sample KS
count, the same one local `ks_2samp` uses. The conservative DKW bound used before
could never reject without drift, so healthy data showed every feature's
statistical evidence as unavailable and the model as `degraded`. The bound
remains the fallback if SciPy's helper is unavailable.
- README's learning exercise is concrete: pin `training_table_version` to the first
report's Delta version, change one setting (before/after `n_trials` YAML), retrain,
then compare both reports and score the new version for one run. A
"Unity Catalog grants" row links the required access table.
- Registered model versions now appear in the experiment's **Models** tab: after
registration, Skyulf adds a metadata-only MLflow 3 LoggedModel linked to the fitting
run, tagged with the registered name, version and run URI and carrying the run's
metrics. The run artifact stays the only model copy and the registry source; a
backend without LoggedModels logs a warning and registration continues.
- Single entry point: with the new `features_start_training: "true"` Bundle variable,
the features job starts the train job after `merge_features`, so one scheduled job
runs features, training and the training's score handoff (and scoring's monitoring).
Default `"false"`; run `refresh_feature_graph.py` to add the tasks to an existing job.
- `GUIDE.md` names the upgrade-safe places to customize a project (`src/features/`,
`deployment/`, the `SKYULF_MODEL_PIP_*` packaging variables) and says not to
edit `src/jobs/*.py`, which a template upgrade replaces.
- `config/features.yml` table names accept the `training.yml` placeholders
(`{catalog}`, `{input_schema}`, `{output_schema}`, `{metadata_schema}`,
`{resource_suffix}`). The feature job receives each target's values, so one file
serves every target and personal outputs no longer collide. Existing feature
projects run `refresh_feature_graph.py` and redeploy before using placeholders;
the refresh now writes LF line endings on every OS.
- Serving projects: the README's serving steps name the version for one run
(`serving_endpoint --params model_version=N`), show where the run output proves
what is live (`model_uri`, REST/SQL `verification`) and where the call examples are;
the preview summary adds the same serving line for endpoint and both delivery.
- `src/tools/preview.py` starts with a short summary for a single model or competition:
training settings, holdout, activation (including a missing `quality_threshold`),
the scored version, and what it did not check (Core: `preview_summary`).
- Serving: an owned endpoint whose first deployment failed (no served entity) is
repaired on the next run instead of failing with "exactly one served entity",
so it no longer has to be deleted by hand.
- Serving: new optional `function_permissions` in `config/serving.yml` lists the
Unity Catalog grantees for the SQL function's `EXECUTE` separately from the
endpoint's `CAN_QUERY` callers. Unity Catalog rejects workspace-local groups
such as `users`. Omitted, both grants keep using `permissions`.
- SHAP: when the encoded feature width exceeds `max_features`, the explanation
result now records `feature_count` and `max_features`, and `preview.py` warns
when the recipe contains a column-expanding step such as `OneHotEncoder`.
- `config/training.yml`: `allow_tested_custom_steps` is renamed
`probe_pipeline_for_serving`, because it checks the whole pipeline for Spark and
endpoint serving, not only custom steps. The old name is still accepted; setting
both fails.
- MLflow: experiments are created with `mlflow.experimentKind=custom_model_development`
(added to an existing experiment that has no kind), so Databricks lists them
under "Machine learning".
- Serving SQL function: a NULL in an integer or boolean input that had no missing
values in training now raises an error naming the column. `ai_query` used to
send it as `0`/`false`, which bypassed the fitted imputers. Existing functions
with such inputs are replaced once on the next serving run.
- Model packages: new opt-in environment variables `SKYULF_MODEL_PIP_INDEX_URL`,
`SKYULF_MODEL_PIP_EXTRA_INDEX_URLS` and `SKYULF_MODEL_PIP_BUNDLE_WHEELS` let
Model Serving install from a private index, or from dependency wheels saved in
the model with `--no-index`, when public PyPI is blocked. Unset, logged models
are unchanged.
- Record keys: DATE/TIMESTAMP key errors now name the column and say how to store
it (`yyyy-MM-dd` STRING or `yyyyMMdd` BIGINT). The features guide documents the
ready-training-table route with a natural composite key.
- Training: without `training_sample_rows`, rows removed by
`filter_unavailable_results` (and, in `multi_target`, rows whose branch target is
missing) are now dropped on Spark before the `max_rows` limit, so full-snapshot
sources with many unlabeled rows no longer fail. Saved evidence is unchanged; existing models
replay as before.
- Casting to `string` writes integral floats without `.0` in newly fitted models
(`"81"`, not `"81.0"`), so nullable integer codes match fixed one-hot
categories. Saved models keep their text. `OneHotEncoder` warns when a column
matches none of its fixed categories.
- Features: optional `base_transform: src/features/<module>.py:<function>` in
`config/features.yml` runs on the pinned base before group joins, so the target
and record keys can be derived from a raw table without a separate job. It works
with no groups; the job then has only initialize and merge tasks.
- `config/training.yml`: new `skip_missing_targets` skips rows whose target is
empty instead of failing (they do not count toward `max_rows`). New single-model
and competition projects write `true`; omitted, behavior is unchanged.
`multi_target` keeps skipping empty branch targets.
- Features: sources without Delta history (streaming tables, materialized views,
views) are copied each run into an owned `skyulf_src_<hash>` Delta table that is
pinned instead and dropped after a successful merge; `source_snapshot: fail`
turns the copy off and stops with a clear message. `base_transform` lives under
`src/features/groups/`, outside model packages. Training from such a
table stops with a clear message too. Feature plan digests ignore optional fields
left at their defaults, so deployed feature jobs stay current after upgrading.
- New prepared example `examples/lakeflow/bronze_observations`: train from a
Lakeflow streaming table with `base_transform` deriving the target and a text
date key, with a `setup.sql` for the demo data.
- Scoring with `on_model_change: rescore_all`: after the view switches to a new
`_v<n>` generation, older generations are dropped automatically, keeping the
newest two (`keep_prediction_generations`, `null` keeps all). Only tables tagged
as the same model's full-rebuild output are dropped; the active one never is.
- The weekly monitoring cleanup finishes with `store_not_initialized` instead of
failing when it runs before any model has created the monitoring store.

## v0.9.5

- Require aiohttp 3.14.4 or later and refresh the dependency lock to include
Expand Down
Loading
Loading