← Back to Pull requests

fix(core): pin kubeflow to exact version 0.4.0 #107

Closed
unknown closed this pull request without merging on Jul 24, 2026 07:22 UTC
View on GitHub
unknown unknown commented on Jul 21, 2026 19:34 UTC
Author

Summary

Fixes #106

Pins kubeflow to the exact version 0.4.0 in pyproject.toml, replacing the >=0.4.0 range that let the resolver drift to 0.4.1 (as confirmed by uv.lock locking 0.4.1 instead of the intended 0.4.0).

Changes

  • dependencies: kubeflow>=0.4.0 → kubeflow==0.4.0

  • optional-dependencies.hub: kubeflow[hub]>=0.4.0 → kubeflow[hub]==0.4.0

  • optional-dependencies.spark: kubeflow[spark]>=0.4.0 → kubeflow[spark]==0.4.0

  • optional-dependencies.all: both extras pinned to ==0.4.0
  • Compatibility check

    Per the issue's checklist, verified fine_tune() behavior with a top-level HF dataset (hf://tatsu-lab/alpaca) against kubeflow==0.4.0 directly to confirm the dataset.data_dir bug (originally worked around in fix/remove-stale-hf-dataset-trainargs-workaround, commit e49d818) does not reintroduce itself at this pinned version.

    Testing

    uv lock
    uv run pytest
    uv run ruff check
    

    All passing against the pinned dependency set.

    Notes

    The remaining dependencies (fastmcp, pydantic, pyyaml, click, huggingface-hub, and the dev/docs/otel groups) were left as-is in this PR — happy to follow up with exact pins for those against uv.lock if maintainers want it scoped into this same PR instead.

    Diff: 165 lines (+123 / -42) across 2 files Reviewer: myselfkunal Review duration: 3588m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.58) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.58 · 165 lines diff across 2 files
    0.58
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.306
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.058
    Real PR Conversation Timeline
    1 comments
    "Review active on #107"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 58.2% (MEDIUM) · Higher = larger blast radius
    58.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 23% · Safe to merge
    23%