Skip to content

v0.2.0

Choose a tag to compare

@rustyconover rustyconover released this 10 Nov 16:47

vgi-sklearn v0.2.0

VGI protocol 3.2 release. The worker now speaks vgi.v3 and needs the haybarn 2.0 vgi extension.

Protocol / SDK

  • vgi-python 0.30.0 → 0.50.0 (vgi-rpc 0.44.1 → 0.53.1), VGI protocol 3.2.
  • Schemas are declared by path, and table keys are canonical PRIMARY_KEY constraint records (ENFORCED, ALL_ROWS). Non-nullable dataset and registry columns are now also attested NOT NULL.
  • SQL-facing change: the 3.2 extension registers aggregate arguments as positional-only, so fit_model(features, label, estimator, hyperparams) takes the estimator and hyperparameter JSON positionally. The old estimator := … / hyperparams := … named form no longer binds.

Catalog metadata (vgi-lint-check 2.x)

  • Retired vgi.result_columns_md replaced by vgi.result_columns_schema (fixed schemas, generated from the output Arrow schema) or vgi.result_dynamic_columns_md, with one table per variant (e.g. classifier vs. regressor output).
  • Catalog title is now "scikit-learn", with a one-sentence vgi.subtitle. Each schema has a vgi.categories registry and each object a vgi.category.
  • 34 public vgi.agent_test_tasks cover every object. Their private reference SQL lives in vgi-agent-tests.yaml.
  • Enumerated and bounded arguments declare machine-readable choices / ranges. Estimator docs no longer restate their argument lists.
  • Examples now project, filter or aggregate real columns. The transform and typed-fit examples feed numeric features, which fixes ~25 examples that failed at scan time on the string species column.

CI

  • CI runs on the newest haybarn 2.0 release and Query-farm/vgi-lint-check@v2, with the same two passes and gates as before (static fail-on warning, execute fail-on error).
  • ruff format cleanup of two files that had failed the format check since August.

Verified

  • Static lint: no warnings or errors.
  • Execute lint: 0 errors in CI.
  • Unit tests and the sqllogictest suite (16/16, 358 assertions) pass on Linux/macOS/Windows.
  • vgi-lint simulate --verify-references: 34/34.