跳转至

v0.5.4

Patch release for the Pipeline GUI schema support layer. This release keeps the GUI implementation outside SMF, while making SMF itself the source of truth for Pipeline cards, Config fields, YAML-safe serialization and lightweight form validation.

What Changed

  • Added the public Modeling_Tool.Pipeline.field_meta schema module.
  • Exported GUI schema helpers from both Modeling_Tool and Modeling_Tool.Pipeline:
  • FieldMeta
  • PipelineRegistryEntry
  • PIPELINE_REGISTRY
  • get_pipeline_registry()
  • get_pipeline_registry_schema()
  • get_config_field_meta()
  • extract_config_schema()
  • extract_pipeline_schema()
  • extract_schema()
  • config_to_dict() / config_from_dict()
  • config_to_yaml() / config_from_yaml()
  • validate_pipeline_config()
  • generate_pipeline_code()
  • Registered all 7 high-level public Pipelines for GUI discovery: CreditModelPipeline, FeatureValidationPipeline, RejectInferencePipeline, ScoreComparisonPipeline, ScoreConsistencyUATPipeline, SampleAnalysisPipeline, and MockSamplePipeline.
  • Added field-level metadata for every Config dataclass field, including labels, descriptions, widgets, options, numeric ranges, groups, dependencies, advanced/expert flags and YAML serialization hints.
  • Marked code-only / non-serializable fields as skipped by default during YAML export, such as external DataFrames, callback functions, SQL runners and prebuilt artifact objects.
  • Added code generation metadata so GUI clients know whether to render pipeline.run() or pipeline.run(data=your_dataframe).

Migration Notes

No existing Pipeline behavior changes. The new schema layer is additive and optional. config_to_yaml() / config_from_yaml() require PyYAML only when those functions are called; SMF does not add a frontend dependency.

Validation

  • Added pytest coverage for registry completeness, Config field metadata, nested dict metadata, YAML roundtrip, skipped non-serializable fields, lightweight validation and generated run signatures.
  • Full local pytest suite passed before release.
  • Source package verification confirms the new schema module is included in wheel and sdist builds.