diff --git a/.github/workflows/flow.yml b/.github/workflows/flow.yml index 2feb869..450199d 100644 --- a/.github/workflows/flow.yml +++ b/.github/workflows/flow.yml @@ -45,6 +45,7 @@ jobs: python benchmarks/test_generate_headline_summary.py python benchmarks/test_disparity_regression_policy.py python benchmarks/test_config_equivalence.py + python benchmarks/test_rank_optimization_stages.py python benchmarks/publish_headline_v2.py --check python benchmarks/validate_execution_substrate.py python -m py_compile \ diff --git a/benchmarks/OPTIMIZATION_ROADMAP.md b/benchmarks/OPTIMIZATION_ROADMAP.md index 669521f..8a9cd9d 100644 --- a/benchmarks/OPTIMIZATION_ROADMAP.md +++ b/benchmarks/OPTIMIZATION_ROADMAP.md @@ -2,105 +2,107 @@ Generated from committed inventory/profile/benchmark evidence. -| Rank | Estimator | Operation | Substrate | Score | Disposition | Observed Flow speedup | Hypothesis | -|---:|---|---|---|---:|---|---:|---| -| 1 | `GaussianNB` | `fit` | python-bound | 75.6 | rewrite first | 29.67× | remove Python control/validation and specialize the complete operation | -| 2 | `PCA` | `fit` | python-bound | 74.2 | rewrite first | 25.57× | remove Python control/validation and specialize the complete operation | -| 3 | `LogisticRegression` | `predict` | python-bound | 73.9 | rewrite first | 10.37× | remove Python control/validation and specialize the complete operation | -| 4 | `PCA` | `transform` | python-bound | 73.7 | rewrite first | 25.57× | remove Python control/validation and specialize the complete operation | -| 5 | `LinearRegression` | `predict` | python-bound | 73.6 | rewrite first | 8.13× | remove Python control/validation and specialize the complete operation | -| 6 | `GaussianNB` | `predict` | python-bound | 73.6 | rewrite first | 29.67× | remove Python control/validation and specialize the complete operation | -| 7 | `KMeans` | `fit` | mixed | 72.1 | rewrite first | 10.66× | remove Python control/validation and specialize the complete operation | -| 8 | `LogisticRegression` | `fit` | mixed | 72.0 | rewrite first | 10.37× | remove Python control/validation and specialize the complete operation | -| 9 | `LinearRegression` | `fit` | mixed | 68.5 | rewrite first | 8.13× | remove Python control/validation and specialize the complete operation | -| 10 | `KMeans` | `predict` | numpy-bound | 60.3 | rewrite first | 10.66× | remove Python control/validation and specialize the complete operation | -| 11 | `SVC` | `predict` | numpy-bound | 60.3 | rewrite first | 2.30× | remove Python control/validation and specialize the complete operation | -| 12 | `GaussianNB` | `predict_proba` | python-bound | 54.0 | rewrite first | 29.67× | remove Python control/validation and specialize the complete operation | -| 13 | `KMeans` | `transform` | python-bound | 54.0 | rewrite first | 10.66× | remove Python control/validation and specialize the complete operation | -| 14 | `Lasso` | `predict` | python-bound | 54.0 | rewrite first | 8.11× | remove Python control/validation and specialize the complete operation | -| 15 | `LinearSVC` | `predict` | python-bound | 54.0 | rewrite first | 3.74× | remove Python control/validation and specialize the complete operation | -| 16 | `LinearSVC` | `decision_function` | python-bound | 54.0 | rewrite first | 3.74× | remove Python control/validation and specialize the complete operation | -| 17 | `LogisticRegression` | `predict_proba` | python-bound | 54.0 | rewrite first | 10.37× | remove Python control/validation and specialize the complete operation | -| 18 | `LogisticRegression` | `decision_function` | python-bound | 54.0 | rewrite first | 10.37× | remove Python control/validation and specialize the complete operation | -| 19 | `Ridge` | `fit` | python-bound | 54.0 | rewrite first | 7.84× | remove Python control/validation and specialize the complete operation | -| 20 | `Ridge` | `predict` | python-bound | 54.0 | rewrite first | 7.84× | remove Python control/validation and specialize the complete operation | -| 21 | `SVC` | `predict_proba` | python-bound | 50.5 | rewrite first | 2.30× | remove Python control/validation and specialize the complete operation | -| 22 | `SVC` | `decision_function` | python-bound | 50.5 | rewrite first | 2.30× | remove Python control/validation and specialize the complete operation | -| 23 | `DecisionTreeClassifier` | `fit` | mixed | 48.0 | compile whole estimator | 6.69× | retain useful numerical kernels while fusing validation, allocation and orchestration | -| 24 | `DecisionTreeClassifier` | `predict` | mixed | 48.0 | compile whole estimator | 6.69× | retain useful numerical kernels while fusing validation, allocation and orchestration | -| 25 | `KernelRidge` | `fit` | mixed | 48.0 | compile whole estimator | 6.15× | retain useful numerical kernels while fusing validation, allocation and orchestration | -| 26 | `Lasso` | `fit` | mixed | 48.0 | compile whole estimator | 8.11× | retain useful numerical kernels while fusing validation, allocation and orchestration | -| 27 | `RandomForestClassifier` | `fit` | mixed | 46.9 | compile whole estimator | 2.78× | retain useful numerical kernels while fusing validation, allocation and orchestration | -| 28 | `RandomForestClassifier` | `predict` | mixed | 46.9 | compile whole estimator | 2.78× | retain useful numerical kernels while fusing validation, allocation and orchestration | -| 29 | `RandomForestClassifier` | `predict_proba` | mixed | 46.9 | compile whole estimator | 2.78× | retain useful numerical kernels while fusing validation, allocation and orchestration | -| 30 | `AdaBoostRegressor` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 31 | `AdditiveChi2Sampler` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 32 | `AdditiveChi2Sampler` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 33 | `AgglomerativeClustering` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 34 | `BaggingClassifier` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 35 | `BaggingClassifier` | `predict_proba` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 36 | `BaggingClassifier` | `decision_function` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 37 | `BaggingRegressor` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 38 | `BaggingRegressor` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 39 | `BayesianGaussianMixture` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 40 | `BayesianGaussianMixture` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 41 | `BayesianGaussianMixture` | `predict_proba` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 42 | `BernoulliNB` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 43 | `BernoulliNB` | `predict_proba` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 44 | `Binarizer` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 45 | `Birch` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 46 | `Birch` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 47 | `Birch` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 48 | `BisectingKMeans` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 49 | `CCA` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 50 | `CategoricalNB` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 51 | `CategoricalNB` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 52 | `CategoricalNB` | `predict_proba` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 53 | `ClassifierChain` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 54 | `ClassifierChain` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 55 | `ClassifierChain` | `predict_proba` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 56 | `ClassifierChain` | `decision_function` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 57 | `ColumnTransformer` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 58 | `ComplementNB` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 59 | `ComplementNB` | `predict_proba` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 60 | `CountVectorizer` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 61 | `CountVectorizer` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 62 | `DictVectorizer` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 63 | `DictVectorizer` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 64 | `DictionaryLearning` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 65 | `DictionaryLearning` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 66 | `ElasticNet` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 67 | `ElasticNetCV` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 68 | `ElasticNetCV` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 69 | `EllipticEnvelope` | `decision_function` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 70 | `FastICA` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 71 | `FeatureAgglomeration` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 72 | `FeatureHasher` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 73 | `FeatureUnion` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 74 | `FeatureUnion` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 75 | `FunctionTransformer` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 76 | `FunctionTransformer` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 77 | `GaussianMixture` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 78 | `GaussianMixture` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 79 | `GaussianMixture` | `predict_proba` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 80 | `GaussianProcessClassifier` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 81 | `GaussianProcessClassifier` | `predict_proba` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 82 | `GenericUnivariateSelect` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 83 | `GridSearchCV` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 84 | `GridSearchCV` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 85 | `GridSearchCV` | `predict_proba` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 86 | `GridSearchCV` | `decision_function` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 87 | `GridSearchCV` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 88 | `HashingVectorizer` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 89 | `HashingVectorizer` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 90 | `HuberRegressor` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 91 | `Isomap` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 92 | `IsotonicRegression` | `predict` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 93 | `IsotonicRegression` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 94 | `KNeighborsClassifier` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 95 | `KNeighborsRegressor` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 96 | `KNeighborsTransformer` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 97 | `KNeighborsTransformer` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 98 | `LabelBinarizer` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 99 | `LabelBinarizer` | `transform` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | -| 100 | `LabelEncoder` | `fit` | python-bound | 46.5 | rewrite first | | remove Python control/validation and specialize the complete operation | +Observed Flow speedup is the mean over the estimator's canonical rows of the stage that times the operation: the fit stage for `fit`, the prediction stage for `predict`, `predict_proba`, `decision_function` and `transform`. The Basis column names the stage. End-to-end totals are kept in the JSON as `end_to_end_flow_speedup` and are not used for ranking. + +| Rank | Estimator | Operation | Substrate | Score | Disposition | Observed Flow speedup | Basis | Hypothesis | +|---:|---|---|---|---:|---|---:|---|---| +| 1 | `GaussianNB` | `fit` | python-bound | 75.6 | rewrite first | 36.92× | fit stage | remove Python control/validation and specialize the complete operation | +| 2 | `PCA` | `fit` | python-bound | 74.2 | rewrite first | 26.73× | fit stage | remove Python control/validation and specialize the complete operation | +| 3 | `LogisticRegression` | `predict` | python-bound | 73.9 | rewrite first | 11.62× | prediction stage | remove Python control/validation and specialize the complete operation | +| 4 | `PCA` | `transform` | python-bound | 73.7 | rewrite first | 45.17× | prediction stage | remove Python control/validation and specialize the complete operation | +| 5 | `LinearRegression` | `predict` | python-bound | 73.6 | rewrite first | 78.57× | prediction stage | remove Python control/validation and specialize the complete operation | +| 6 | `GaussianNB` | `predict` | python-bound | 73.6 | rewrite first | 67.42× | prediction stage | remove Python control/validation and specialize the complete operation | +| 7 | `KMeans` | `fit` | mixed | 72.1 | rewrite first | 12.05× | fit stage | remove Python control/validation and specialize the complete operation | +| 8 | `LogisticRegression` | `fit` | mixed | 72.0 | rewrite first | 11.61× | fit stage | remove Python control/validation and specialize the complete operation | +| 9 | `LinearRegression` | `fit` | mixed | 68.5 | rewrite first | 7.94× | fit stage | remove Python control/validation and specialize the complete operation | +| 10 | `SVC` | `predict` | numpy-bound | 63.8 | rewrite first | 3.92× | prediction stage | remove Python control/validation and specialize the complete operation | +| 11 | `KMeans` | `predict` | numpy-bound | 60.3 | rewrite first | 37.92× | prediction stage | remove Python control/validation and specialize the complete operation | +| 12 | `GaussianNB` | `predict_proba` | python-bound | 54.0 | rewrite first | 67.42× | prediction stage | remove Python control/validation and specialize the complete operation | +| 13 | `KMeans` | `transform` | python-bound | 54.0 | rewrite first | 37.92× | prediction stage | remove Python control/validation and specialize the complete operation | +| 14 | `Lasso` | `predict` | python-bound | 54.0 | rewrite first | 41.58× | prediction stage | remove Python control/validation and specialize the complete operation | +| 15 | `LinearSVC` | `predict` | python-bound | 54.0 | rewrite first | 45.25× | prediction stage | remove Python control/validation and specialize the complete operation | +| 16 | `LinearSVC` | `decision_function` | python-bound | 54.0 | rewrite first | 45.25× | prediction stage | remove Python control/validation and specialize the complete operation | +| 17 | `LogisticRegression` | `predict_proba` | python-bound | 54.0 | rewrite first | 11.62× | prediction stage | remove Python control/validation and specialize the complete operation | +| 18 | `LogisticRegression` | `decision_function` | python-bound | 54.0 | rewrite first | 11.62× | prediction stage | remove Python control/validation and specialize the complete operation | +| 19 | `Ridge` | `fit` | python-bound | 54.0 | rewrite first | 7.26× | fit stage | remove Python control/validation and specialize the complete operation | +| 20 | `Ridge` | `predict` | python-bound | 54.0 | rewrite first | 33.70× | prediction stage | remove Python control/validation and specialize the complete operation | +| 21 | `SVC` | `predict_proba` | python-bound | 54.0 | rewrite first | 3.92× | prediction stage | remove Python control/validation and specialize the complete operation | +| 22 | `SVC` | `decision_function` | python-bound | 54.0 | rewrite first | 3.92× | prediction stage | remove Python control/validation and specialize the complete operation | +| 23 | `DecisionTreeClassifier` | `fit` | mixed | 48.0 | compile whole estimator | 7.98× | fit stage | retain useful numerical kernels while fusing validation, allocation and orchestration | +| 24 | `DecisionTreeClassifier` | `predict` | mixed | 48.0 | compile whole estimator | 26.27× | prediction stage | retain useful numerical kernels while fusing validation, allocation and orchestration | +| 25 | `KernelRidge` | `fit` | mixed | 48.0 | compile whole estimator | 4.24× | fit stage | retain useful numerical kernels while fusing validation, allocation and orchestration | +| 26 | `Lasso` | `fit` | mixed | 48.0 | compile whole estimator | 8.68× | fit stage | retain useful numerical kernels while fusing validation, allocation and orchestration | +| 27 | `RandomForestClassifier` | `fit` | mixed | 48.0 | compile whole estimator | 3.15× | fit stage | retain useful numerical kernels while fusing validation, allocation and orchestration | +| 28 | `RandomForestClassifier` | `predict` | mixed | 48.0 | compile whole estimator | 34.18× | prediction stage | retain useful numerical kernels while fusing validation, allocation and orchestration | +| 29 | `RandomForestClassifier` | `predict_proba` | mixed | 48.0 | compile whole estimator | 34.18× | prediction stage | retain useful numerical kernels while fusing validation, allocation and orchestration | +| 30 | `AdaBoostRegressor` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 31 | `AdditiveChi2Sampler` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 32 | `AdditiveChi2Sampler` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 33 | `AgglomerativeClustering` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 34 | `BaggingClassifier` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 35 | `BaggingClassifier` | `predict_proba` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 36 | `BaggingClassifier` | `decision_function` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 37 | `BaggingRegressor` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 38 | `BaggingRegressor` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 39 | `BayesianGaussianMixture` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 40 | `BayesianGaussianMixture` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 41 | `BayesianGaussianMixture` | `predict_proba` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 42 | `BernoulliNB` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 43 | `BernoulliNB` | `predict_proba` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 44 | `Binarizer` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 45 | `Birch` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 46 | `Birch` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 47 | `Birch` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 48 | `BisectingKMeans` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 49 | `CCA` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 50 | `CategoricalNB` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 51 | `CategoricalNB` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 52 | `CategoricalNB` | `predict_proba` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 53 | `ClassifierChain` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 54 | `ClassifierChain` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 55 | `ClassifierChain` | `predict_proba` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 56 | `ClassifierChain` | `decision_function` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 57 | `ColumnTransformer` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 58 | `ComplementNB` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 59 | `ComplementNB` | `predict_proba` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 60 | `CountVectorizer` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 61 | `CountVectorizer` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 62 | `DictVectorizer` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 63 | `DictVectorizer` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 64 | `DictionaryLearning` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 65 | `DictionaryLearning` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 66 | `ElasticNet` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 67 | `ElasticNetCV` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 68 | `ElasticNetCV` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 69 | `EllipticEnvelope` | `decision_function` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 70 | `FastICA` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 71 | `FeatureAgglomeration` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 72 | `FeatureHasher` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 73 | `FeatureUnion` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 74 | `FeatureUnion` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 75 | `FunctionTransformer` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 76 | `FunctionTransformer` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 77 | `GaussianMixture` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 78 | `GaussianMixture` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 79 | `GaussianMixture` | `predict_proba` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 80 | `GaussianProcessClassifier` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 81 | `GaussianProcessClassifier` | `predict_proba` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 82 | `GenericUnivariateSelect` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 83 | `GridSearchCV` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 84 | `GridSearchCV` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 85 | `GridSearchCV` | `predict_proba` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 86 | `GridSearchCV` | `decision_function` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 87 | `GridSearchCV` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 88 | `HashingVectorizer` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 89 | `HashingVectorizer` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 90 | `HuberRegressor` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 91 | `Isomap` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 92 | `IsotonicRegression` | `predict` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 93 | `IsotonicRegression` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 94 | `KNeighborsClassifier` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 95 | `KNeighborsRegressor` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 96 | `KNeighborsTransformer` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 97 | `KNeighborsTransformer` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 98 | `LabelBinarizer` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 99 | `LabelBinarizer` | `transform` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | +| 100 | `LabelEncoder` | `fit` | python-bound | 46.5 | rewrite first | | | remove Python control/validation and specialize the complete operation | diff --git a/benchmarks/bench_predict_kernel_svc.flow b/benchmarks/bench_predict_kernel_svc.flow new file mode 100644 index 0000000..396d557 --- /dev/null +++ b/benchmarks/bench_predict_kernel_svc.flow @@ -0,0 +1,156 @@ +# Prediction-only scaling benchmark for the one-vs-one RBF KernelSVC +# (issue #481). +# +# Times kernel_svc_multi_predict alone, with fit outside the timing window, +# along three axes: query batch size, training-set size and feature count. The +# training-set size is what moves the support-vector count, and each row +# reports the count the fit ended with. Every case is generated from integers +# on a dyadic grid, so bench_predict_kernel_svc.py builds bit-identical +# float32 inputs and the two sides can be joined row for row. +# +# FLOW_OPT_LEVEL=3 flow run benchmarks/bench_predict_kernel_svc.flow > flow_predict_ksvc.txt +# python benchmarks/bench_predict_kernel_svc.py --flow flow_predict_ksvc.txt +# +# Each sample is an aggregate window of at least 10 ms, repeated 7 times after +# 2 warmups, and the reported latency is the per-call median, the same scheme +# as benchmarks/timing.py. + +import "lib/scikit/scikit.flow" + +extern { + function printf(fmt: string, ...) -> i32 + function flow_now_ns() -> i64 +} + +function pksvc_raw(i: i32, j: i32, cls: i32) -> i32 { + return ((i * 37 + j * 19 + cls * 7) % 128) + cls * (8 + ((j * 5) % 7) * 2) +} + +function pksvc_fill(X: Matrix, y: ptr, first_row: i32, n_classes: i32) -> void { + let p: i32 = X.cols + let mut i: i32 = 0 + while i < X.rows { + let src: i32 = first_row + i + let cls: i32 = src % n_classes + y[i] = cls as f32 + let row: ptr = X.data + i * p + let mut j: i32 = 0 + while j < p { + row[j] = ((pksvc_raw(src, j, cls)) as f32) / 64.0 + j = j + 1 + } + i = i + 1 + } +} + +function pksvc_sort(v: ptr, n: i32) -> void { + let mut i: i32 = 1 + while i < n { + let key: f64 = v[i] + let mut j: i32 = i - 1 + while j >= 0 && v[j] > key { + v[j + 1] = v[j] + j = j - 1 + } + v[j + 1] = key + i = i + 1 + } +} + +function pksvc_percentile(sorted: ptr, n: i32, q: f64) -> f64 { + let pos: f64 = ((n - 1) as f64) * q + let lo: i32 = pos as i32 + let mut hi: i32 = lo + 1 + if hi > n - 1 { hi = n - 1 } + let frac: f64 = pos - (lo as f64) + return sorted[lo] * (1.0 - frac) + sorted[hi] * frac +} + +function pksvc_window_ms(model: KernelSVCMulti, Q: Matrix, repeats: i32) -> f64 { + let t0: i64 = flow_now_ns() + let mut k: i32 = 0 + while k < repeats { + let pred: ptr = kernel_svc_multi_predict(model, Q) + array_free_f32(pred) + k = k + 1 + } + let t1: i64 = flow_now_ns() + return ((t1 - t0) as f64) / 1000000.0 +} + +function pksvc_case(axis: string, n_query: i32, n_train: i32, p: i32) -> void { + let n_classes: i32 = 3 + let samples: i32 = 7 + let X: Matrix = matrix_new(n_train, p) + let y: ptr = array_new_f32(n_train) + pksvc_fill(X, y, 0, n_classes) + let Q: Matrix = matrix_new(n_query, p) + let yq: ptr = array_new_f32(n_query) + pksvc_fill(Q, yq, n_train, n_classes) + + # gamma = 1 / n_features, exact in f32 for the power-of-two widths used. + let gamma: f32 = 1.0 / (p as f32) + let model: KernelSVCMulti = kernel_svc_multi_fit(X, y, n_classes, gamma, 1.0, 1000) + + let warm: f64 = pksvc_window_ms(model, Q, 2) + let mut repeats: i32 = 1 + let mut window: f64 = pksvc_window_ms(model, Q, repeats) + while window < 10.0 && repeats < 1048576 { + repeats = repeats * 2 + window = pksvc_window_ms(model, Q, repeats) + } + + let per_call: ptr = array_new_f64(samples) + let mut s: i32 = 0 + while s < samples { + per_call[s] = pksvc_window_ms(model, Q, repeats) / (repeats as f64) + s = s + 1 + } + pksvc_sort(per_call, samples) + let median: f64 = pksvc_percentile(per_call, samples, 0.5) + let iqr: f64 = pksvc_percentile(per_call, samples, 0.75) - pksvc_percentile(per_call, samples, 0.25) + + let pred: ptr = kernel_svc_multi_predict(model, Q) + let mut correct: i32 = 0 + let mut i: i32 = 0 + while i < n_query { + if pred[i] == yq[i] { correct = correct + 1 } + i = i + 1 + } + + printf("PREDICT|KernelSVC_RBF|%s|%d|%d|%d|%.9f|%.9f|%d|%d|%d\n", axis, n_query, n_train, p, median, iqr, repeats, model.n_sv, correct) + + if warm < 0.0 { printf("unreachable\n") } + array_free_f32(pred) + array_free_f64(per_call) + kernel_svc_multi_free(model) + matrix_free(Q) + array_free_f32(yq) + matrix_free(X) + array_free_f32(y) +} + +function main() -> i32 { + printf("TIMING_UNIT|ms\n") + printf("BENCHMARK_MODE|predict_only\n") + printf("COLUMNS|estimator|axis|n_query|n_train|features|median_ms|iqr_ms|repeats|n_support|correct\n") + + # Batch size at 300 training rows and 16 features. + pksvc_case("batch", 1, 300, 16) + pksvc_case("batch", 10, 300, 16) + pksvc_case("batch", 100, 300, 16) + pksvc_case("batch", 1000, 300, 16) + pksvc_case("batch", 10000, 300, 16) + + # Training-set size, which sets the support-vector count, at 1000 queries + # and 16 features. + pksvc_case("train", 1000, 60, 16) + pksvc_case("train", 1000, 120, 16) + pksvc_case("train", 1000, 1000, 16) + + # Feature count at 1000 queries and 300 training rows. + pksvc_case("features", 1000, 300, 4) + pksvc_case("features", 1000, 300, 64) + pksvc_case("features", 1000, 300, 256) + return 0 +} diff --git a/benchmarks/bench_predict_kernel_svc.py b/benchmarks/bench_predict_kernel_svc.py new file mode 100644 index 0000000..f0eb42a --- /dev/null +++ b/benchmarks/bench_predict_kernel_svc.py @@ -0,0 +1,142 @@ +#!/usr/bin/env python3 +"""Prediction-only scaling benchmark for the RBF SVC, scikit-learn side. + +Builds the same float32 inputs as bench_predict_kernel_svc.flow, times +``SVC.predict`` alone with the shared adaptive timer, and optionally joins the +Flow output into one table. + + python benchmarks/bench_predict_kernel_svc.py --flow flow_predict_ksvc.txt +""" +from __future__ import annotations + +import argparse +import json +from pathlib import Path + +import warnings + +import numpy as np +from sklearn.exceptions import ConvergenceWarning +from sklearn.svm import SVC + +from timing import measure + +N_CLASSES = 3 + +# The canonical KernelSVC rows are approximately equivalent under an accuracy +# tolerance of 0.03 (parity_contract.json). The same tolerance applies here. +ACCURACY_TOLERANCE = 0.03 + +# (axis, n_query, n_train, features), in the order the Flow benchmark emits. +CASES = ( + [("batch", n, 300, 16) for n in (1, 10, 100, 1000, 10000)] + + [("train", 1000, n, 16) for n in (60, 120, 1000)] + + [("features", 1000, 300, p) for p in (4, 64, 256)] +) + + +def make(first_row: int, n: int, p: int): + i = np.arange(first_row, first_row + n, dtype=np.int64)[:, None] + j = np.arange(p, dtype=np.int64)[None, :] + cls = i % N_CLASSES + raw = ((i * 37 + j * 19 + cls * 7) % 128) + cls * (8 + ((j * 5) % 7) * 2) + # Integers below 2**24 over a power of two: exact in float32. + X = (raw / 64.0).astype(np.float32) + return X, cls[:, 0].astype(np.float32) + + +def parse_flow(path: Path) -> dict: + rows = {} + unit = None + for line in path.read_text().splitlines(): + if line.startswith("TIMING_UNIT|"): + unit = line.split("|", 1)[1].strip() + elif line.startswith("PREDICT|KernelSVC_RBF|"): + p = line.strip().split("|") + rows[(p[2], int(p[3]), int(p[4]), int(p[5]))] = { + "median_ms": float(p[6]), + "iqr_ms": float(p[7]), + "repeats": int(p[8]), + "n_support": int(p[9]), + "correct": int(p[10]), + } + if unit != "ms": + raise SystemExit("Flow predict benchmark must declare TIMING_UNIT|ms") + return rows + + +def main() -> int: + parser = argparse.ArgumentParser() + parser.add_argument("--flow", type=Path, help="output of bench_predict_kernel_svc.flow to join") + parser.add_argument("--output", type=Path, help="write the joined rows as JSON") + args = parser.parse_args() + + flow = parse_flow(args.flow) if args.flow else {} + rows = [] + mismatches = 0 + for axis, n_query, n_train, p in CASES: + X, y = make(0, n_train, p) + Q, yq = make(n_train, n_query, p) + with warnings.catch_warnings(): + # Both sides cap the solver at max_iter=1000, as the canonical rows + # do. The cap binding on one case is expected and is not an error. + warnings.simplefilter("ignore", ConvergenceWarning) + model = SVC(C=1.0, kernel="rbf", gamma=1.0 / p, max_iter=1000).fit(X, y) + timing = measure(lambda: model.predict(Q), min_window_ms=10.0, samples=7) + pred = timing.value + row = { + "estimator": "KernelSVC_RBF", + "axis": axis, + "n_query": n_query, + "n_train": n_train, + "features": p, + "sklearn_ms": timing.median_ms, + "sklearn_iqr_ms": timing.iqr_ms, + "sklearn_n_support": int(model.support_.size), + "sklearn_accuracy": float((pred == yq).mean()), + "timing_unit": "ms", + } + f = flow.get((axis, n_query, n_train, p)) + if f: + flow_accuracy = f["correct"] / n_query + row.update({ + "flow_ms": f["median_ms"], + "flow_iqr_ms": f["iqr_ms"], + "flow_n_support": f["n_support"], + "flow_accuracy": flow_accuracy, + "speedup": timing.median_ms / f["median_ms"] if f["median_ms"] > 0 else None, + "accuracy_abs_diff": abs(flow_accuracy - row["sklearn_accuracy"]), + }) + # One query row cannot carry an accuracy tolerance of 0.03. + row["within_tolerance"] = n_query < 34 or row["accuracy_abs_diff"] <= ACCURACY_TOLERANCE + if not row["within_tolerance"]: + mismatches += 1 + rows.append(row) + + if flow: + print("| axis | queries | train rows | features | support (sklearn / Flow) | sklearn ms | Flow ms | speedup | accuracy (sklearn / Flow) |") + print("| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |") + for r in rows: + if "flow_ms" not in r: + continue + print( + f"| {r['axis']} | {r['n_query']} | {r['n_train']} | {r['features']} | " + f"{r['sklearn_n_support']} / {r['flow_n_support']} | " + f"{r['sklearn_ms']:.4f} | {r['flow_ms']:.4f} | {r['speedup']:.2f}x | " + f"{r['sklearn_accuracy']:.3f} / {r['flow_accuracy']:.3f} |" + ) + else: + for r in rows: + print(f"PREDICT|KernelSVC_RBF|{r['axis']}|{r['n_query']}|{r['n_train']}|{r['features']}|{r['sklearn_ms']:.9f}|{r['sklearn_iqr_ms']:.9f}|{r['sklearn_n_support']}") + + if args.output: + args.output.write_text(json.dumps({"timing_unit": "ms", "benchmark_mode": "predict_only", "rows": rows}, indent=2) + "\n") + + if mismatches: + print(f"{mismatches} case(s) where accuracy differs by more than {ACCURACY_TOLERANCE}") + return 1 + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/benchmarks/optimization_roadmap.json b/benchmarks/optimization_roadmap.json index 5aa44b1..88e0c23 100644 --- a/benchmarks/optimization_roadmap.json +++ b/benchmarks/optimization_roadmap.json @@ -10,7 +10,9 @@ "priority_score": 75.635, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 29.667927627091323, + "observed_flow_speedup": 36.92305912003644, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 39.32729832633237, "factors": { "substrate": 1.0, "python_share": 0.7901648572057567, @@ -31,7 +33,9 @@ "priority_score": 74.221, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 25.56633092629482, + "observed_flow_speedup": 26.729430370045982, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 29.01401055054671, "factors": { "substrate": 1.0, "python_share": 0.7679753746738693, @@ -52,7 +56,9 @@ "priority_score": 73.87, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 10.366113143110807, + "observed_flow_speedup": 11.623518585932295, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 11.613701463823029, "factors": { "substrate": 1.0, "python_share": 0.7732691251620227, @@ -73,7 +79,9 @@ "priority_score": 73.661, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 25.56633092629482, + "observed_flow_speedup": 45.16521439628483, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 29.01401055054671, "factors": { "substrate": 1.0, "python_share": 0.7715203626977925, @@ -94,7 +102,9 @@ "priority_score": 73.644, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 8.130785783525866, + "observed_flow_speedup": 78.56684196567862, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 8.810806376308534, "factors": { "substrate": 1.0, "python_share": 0.7730396180326347, @@ -115,7 +125,9 @@ "priority_score": 73.588, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 29.667927627091323, + "observed_flow_speedup": 67.42404894880767, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 39.32729832633237, "factors": { "substrate": 1.0, "python_share": 0.7667263414787759, @@ -136,7 +148,9 @@ "priority_score": 72.086, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 10.664910769809245, + "observed_flow_speedup": 12.047040386286522, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 12.159450270357834, "factors": { "substrate": 0.8, "python_share": 0.8380928625965952, @@ -157,7 +171,9 @@ "priority_score": 72.048, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 10.366113143110807, + "observed_flow_speedup": 11.612529870895028, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 11.613701463823029, "factors": { "substrate": 0.8, "python_share": 0.7727115127548522, @@ -178,7 +194,9 @@ "priority_score": 68.546, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 8.130785783525866, + "observed_flow_speedup": 7.940519133860424, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 8.810806376308534, "factors": { "substrate": 0.8, "python_share": 0.7570638346644221, @@ -191,20 +209,22 @@ } }, { - "module": "sklearn.cluster._kmeans", - "estimator": "KMeans", + "module": "sklearn.svm._classes", + "estimator": "SVC", "operation": "predict", "execution_class": "numpy-bound", "flow_scikit_status": "present", - "priority_score": 60.32, + "priority_score": 63.769, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 10.664910769809245, + "observed_flow_speedup": 3.9240646092788634, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 2.5908731714303626, "factors": { "substrate": 0.55, - "python_share": 0.7763614443072242, - "crossing_cost_proxy": 0.0364, - "allocation_proxy": 0.004703, + "python_share": 0.9040608487191828, + "crossing_cost_proxy": 0.0596, + "allocation_proxy": 0.007153875, "observed_flow_speed": 1.0, "implementation_readiness": 1.0, "native_reuse_penalty": 0.0, @@ -212,21 +232,23 @@ } }, { - "module": "sklearn.svm._classes", - "estimator": "SVC", + "module": "sklearn.cluster._kmeans", + "estimator": "KMeans", "operation": "predict", "execution_class": "numpy-bound", "flow_scikit_status": "present", - "priority_score": 60.259, + "priority_score": 60.32, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 2.298004533695563, + "observed_flow_speedup": 37.91835051479883, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 12.159450270357834, "factors": { "substrate": 0.55, - "python_share": 0.9040608487191828, - "crossing_cost_proxy": 0.0596, - "allocation_proxy": 0.007153875, - "observed_flow_speed": 0.7660015112318543, + "python_share": 0.7763614443072242, + "crossing_cost_proxy": 0.0364, + "allocation_proxy": 0.004703, + "observed_flow_speed": 1.0, "implementation_readiness": 1.0, "native_reuse_penalty": 0.0, "complexity_penalty": 0.1 @@ -241,7 +263,9 @@ "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 29.667927627091323, + "observed_flow_speedup": 67.42404894880767, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 39.32729832633237, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -262,7 +286,9 @@ "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 10.664910769809245, + "observed_flow_speedup": 37.91835051479883, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 12.159450270357834, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -283,7 +309,9 @@ "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 8.107814532506923, + "observed_flow_speedup": 41.57855967987805, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 9.379820419772697, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -304,7 +332,9 @@ "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 3.740809430741076, + "observed_flow_speedup": 45.247654460967894, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 4.09074830947249, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -325,7 +355,9 @@ "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 3.740809430741076, + "observed_flow_speedup": 45.247654460967894, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 4.09074830947249, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -346,7 +378,9 @@ "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 10.366113143110807, + "observed_flow_speedup": 11.623518585932295, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 11.613701463823029, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -367,7 +401,9 @@ "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 10.366113143110807, + "observed_flow_speedup": 11.623518585932295, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 11.613701463823029, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -388,7 +424,9 @@ "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 7.836673550680398, + "observed_flow_speedup": 7.255379668730581, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 7.892718509725372, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -409,7 +447,9 @@ "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 7.836673550680398, + "observed_flow_speedup": 33.70367658730159, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 7.892718509725372, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -427,16 +467,18 @@ "operation": "predict_proba", "execution_class": "python-bound", "flow_scikit_status": "present", - "priority_score": 50.49, + "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 2.298004533695563, + "observed_flow_speedup": 3.9240646092788634, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 2.5908731714303626, "factors": { "substrate": 1.0, "python_share": 0.0, "crossing_cost_proxy": 0.0, "allocation_proxy": 0.0, - "observed_flow_speed": 0.7660015112318543, + "observed_flow_speed": 1.0, "implementation_readiness": 1.0, "native_reuse_penalty": 0.0, "complexity_penalty": 0.1 @@ -448,16 +490,18 @@ "operation": "decision_function", "execution_class": "python-bound", "flow_scikit_status": "present", - "priority_score": 50.49, + "priority_score": 54.0, "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", - "observed_flow_speedup": 2.298004533695563, + "observed_flow_speedup": 3.9240646092788634, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 2.5908731714303626, "factors": { "substrate": 1.0, "python_share": 0.0, "crossing_cost_proxy": 0.0, "allocation_proxy": 0.0, - "observed_flow_speed": 0.7660015112318543, + "observed_flow_speed": 1.0, "implementation_readiness": 1.0, "native_reuse_penalty": 0.0, "complexity_penalty": 0.1 @@ -472,7 +516,9 @@ "priority_score": 48.0, "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", - "observed_flow_speedup": 6.693488592022738, + "observed_flow_speedup": 7.977987362909781, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 8.498070170390863, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -493,7 +539,9 @@ "priority_score": 48.0, "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", - "observed_flow_speedup": 6.693488592022738, + "observed_flow_speedup": 26.27175165350508, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 8.498070170390863, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -514,7 +562,9 @@ "priority_score": 48.0, "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", - "observed_flow_speedup": 6.151473271815433, + "observed_flow_speedup": 4.239864485931094, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 4.086517645676629, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -535,7 +585,9 @@ "priority_score": 48.0, "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", - "observed_flow_speedup": 8.107814532506923, + "observed_flow_speedup": 8.684113012020141, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 9.379820419772697, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -553,16 +605,18 @@ "operation": "fit", "execution_class": "mixed", "flow_scikit_status": "present", - "priority_score": 46.911, + "priority_score": 48.0, "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", - "observed_flow_speedup": 2.782131359732216, + "observed_flow_speedup": 3.1497298989110503, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 3.279298828078061, "factors": { "substrate": 0.8, "python_share": 0.0, "crossing_cost_proxy": 0.0, "allocation_proxy": 0.0, - "observed_flow_speed": 0.9273771199107387, + "observed_flow_speed": 1.0, "implementation_readiness": 1.0, "native_reuse_penalty": 0.0, "complexity_penalty": 0.1 @@ -574,16 +628,18 @@ "operation": "predict", "execution_class": "mixed", "flow_scikit_status": "present", - "priority_score": 46.911, + "priority_score": 48.0, "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", - "observed_flow_speedup": 2.782131359732216, + "observed_flow_speedup": 34.17660144912489, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 3.279298828078061, "factors": { "substrate": 0.8, "python_share": 0.0, "crossing_cost_proxy": 0.0, "allocation_proxy": 0.0, - "observed_flow_speed": 0.9273771199107387, + "observed_flow_speed": 1.0, "implementation_readiness": 1.0, "native_reuse_penalty": 0.0, "complexity_penalty": 0.1 @@ -595,16 +651,18 @@ "operation": "predict_proba", "execution_class": "mixed", "flow_scikit_status": "present", - "priority_score": 46.911, + "priority_score": 48.0, "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", - "observed_flow_speedup": 2.782131359732216, + "observed_flow_speedup": 34.17660144912489, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 3.279298828078061, "factors": { "substrate": 0.8, "python_share": 0.0, "crossing_cost_proxy": 0.0, "allocation_proxy": 0.0, - "observed_flow_speed": 0.9273771199107387, + "observed_flow_speed": 1.0, "implementation_readiness": 1.0, "native_reuse_penalty": 0.0, "complexity_penalty": 0.1 @@ -620,6 +678,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -641,6 +701,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -662,6 +724,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -683,6 +747,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -704,6 +770,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -725,6 +793,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -746,6 +816,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -767,6 +839,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -788,6 +862,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -809,6 +885,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -830,6 +908,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -851,6 +931,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -872,6 +954,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -893,6 +977,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -914,6 +1000,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -935,6 +1023,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -956,6 +1046,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -977,6 +1069,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -998,6 +1092,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1019,6 +1115,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1040,6 +1138,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1061,6 +1161,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1082,6 +1184,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1103,6 +1207,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1124,6 +1230,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1145,6 +1253,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1166,6 +1276,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1187,6 +1299,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1208,6 +1322,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1229,6 +1345,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1250,6 +1368,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1271,6 +1391,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1292,6 +1414,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1313,6 +1437,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1334,6 +1460,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1355,6 +1483,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1376,6 +1506,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1397,6 +1529,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1418,6 +1552,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1439,6 +1575,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1460,6 +1598,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1481,6 +1621,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1502,6 +1644,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1523,6 +1667,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1544,6 +1690,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1565,6 +1713,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1586,6 +1736,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1607,6 +1759,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1628,6 +1782,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1649,6 +1805,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1670,6 +1828,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1691,6 +1851,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1712,6 +1874,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1733,6 +1897,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1754,6 +1920,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1775,6 +1943,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1796,6 +1966,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1817,6 +1989,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1838,6 +2012,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1859,6 +2035,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1880,6 +2058,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1901,6 +2081,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1922,6 +2104,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1943,6 +2127,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1964,6 +2150,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -1985,6 +2173,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2006,6 +2196,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2027,6 +2219,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2048,6 +2242,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2069,6 +2265,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2090,6 +2288,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2111,6 +2311,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2132,6 +2334,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2153,6 +2357,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2174,6 +2380,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2195,6 +2403,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2216,6 +2426,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2237,6 +2449,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2258,6 +2472,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2279,6 +2495,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2300,6 +2518,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2321,6 +2541,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2342,6 +2564,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2363,6 +2587,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2384,6 +2610,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2405,6 +2633,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2426,6 +2656,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2447,6 +2679,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2468,6 +2702,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2489,6 +2725,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2510,6 +2748,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2531,6 +2771,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2552,6 +2794,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2573,6 +2817,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2594,6 +2840,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2615,6 +2863,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2636,6 +2886,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2657,6 +2909,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2678,6 +2932,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2699,6 +2955,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2720,6 +2978,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2741,6 +3001,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2762,6 +3024,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2783,6 +3047,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2804,6 +3070,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2825,6 +3093,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2846,6 +3116,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2867,6 +3139,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2888,6 +3162,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2909,6 +3185,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2930,6 +3208,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2951,6 +3231,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2972,6 +3254,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -2993,6 +3277,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3014,6 +3300,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3035,6 +3323,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3056,6 +3346,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3077,6 +3369,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3098,6 +3392,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3119,6 +3415,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3140,6 +3438,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3161,6 +3461,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3182,6 +3484,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3203,6 +3507,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3224,6 +3530,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3245,6 +3553,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3266,6 +3576,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3287,6 +3599,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3308,6 +3622,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3329,6 +3645,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3350,6 +3668,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3371,6 +3691,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3392,6 +3714,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3413,6 +3737,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3434,6 +3760,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3455,6 +3783,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3476,6 +3806,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3497,6 +3829,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3518,6 +3852,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3539,6 +3875,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3560,6 +3898,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3581,6 +3921,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3602,6 +3944,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3623,6 +3967,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3644,6 +3990,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3665,6 +4013,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3686,6 +4036,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3707,6 +4059,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3728,6 +4082,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3749,6 +4105,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3770,6 +4128,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3791,6 +4151,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3812,6 +4174,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3833,6 +4197,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3854,6 +4220,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3875,6 +4243,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3896,6 +4266,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3917,6 +4289,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3938,6 +4312,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3959,6 +4335,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -3980,6 +4358,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4001,6 +4381,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4022,6 +4404,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4043,6 +4427,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4064,6 +4450,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4085,6 +4473,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4106,6 +4496,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4127,6 +4519,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4148,6 +4542,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4169,6 +4565,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4190,6 +4588,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4211,6 +4611,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4232,6 +4634,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4253,6 +4657,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4274,6 +4680,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4295,6 +4703,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4316,6 +4726,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4337,6 +4749,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4358,6 +4772,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4379,6 +4795,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4400,6 +4818,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4421,6 +4841,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4442,6 +4864,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4463,6 +4887,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4484,6 +4910,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4505,6 +4933,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4526,6 +4956,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4547,6 +4979,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4568,6 +5002,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4589,6 +5025,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4610,6 +5048,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4631,6 +5071,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4652,6 +5094,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4673,6 +5117,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4694,6 +5140,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4715,6 +5163,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4736,6 +5186,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4757,6 +5209,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4778,6 +5232,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4799,6 +5255,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4820,6 +5278,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4841,6 +5301,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4862,6 +5324,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4883,6 +5347,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4904,6 +5370,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4925,6 +5393,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4946,6 +5416,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4967,6 +5439,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -4988,6 +5462,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5009,6 +5485,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5030,6 +5508,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5051,6 +5531,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5072,6 +5554,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5093,6 +5577,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5114,6 +5600,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5135,6 +5623,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5156,6 +5646,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5177,6 +5669,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5198,6 +5692,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5219,6 +5715,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5240,6 +5738,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5261,6 +5761,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5282,6 +5784,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5303,6 +5807,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5324,6 +5830,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -5341,16 +5849,18 @@ "operation": "fit", "execution_class": "external-native-bound", "flow_scikit_status": "present", - "priority_score": 41.083, + "priority_score": 41.474, "disposition": "reuse optimized native kernel", "hypothesis": "retain the mature backend and optimize boundary, layout and dispatch overhead around it", - "observed_flow_speedup": 2.298004533695563, + "observed_flow_speedup": 2.3763485516876193, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 2.5908731714303626, "factors": { "substrate": 0.15, "python_share": 0.8780225224902121, "crossing_cost_proxy": 0.2308, "allocation_proxy": 0.03340125, - "observed_flow_speed": 0.7660015112318543, + "observed_flow_speed": 0.7921161838958731, "implementation_readiness": 1.0, "native_reuse_penalty": 0.35, "complexity_penalty": 0.25 @@ -5366,6 +5876,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5387,6 +5899,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5408,6 +5922,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5429,6 +5945,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5450,6 +5968,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5471,6 +5991,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5492,6 +6014,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5513,6 +6037,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5534,6 +6060,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5555,6 +6083,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5575,7 +6105,9 @@ "priority_score": 40.5, "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", - "observed_flow_speedup": 6.693488592022738, + "observed_flow_speedup": 26.27175165350508, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 8.498070170390863, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -5597,6 +6129,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5618,6 +6152,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5639,6 +6175,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5660,6 +6198,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5681,6 +6221,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5702,6 +6244,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5723,6 +6267,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5744,6 +6290,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5765,6 +6313,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5786,6 +6336,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5807,6 +6359,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5828,6 +6382,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5849,6 +6405,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5870,6 +6428,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5891,6 +6451,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5912,6 +6474,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5933,6 +6497,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5954,6 +6520,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5975,6 +6543,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -5996,6 +6566,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6017,6 +6589,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6038,6 +6612,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6059,6 +6635,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6080,6 +6658,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6101,6 +6681,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6122,6 +6704,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6143,6 +6727,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6164,6 +6750,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6185,6 +6773,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6206,6 +6796,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6227,6 +6819,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6248,6 +6842,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6269,6 +6865,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6290,6 +6888,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6311,6 +6911,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6332,6 +6934,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6353,6 +6957,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6374,6 +6980,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6395,6 +7003,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6416,6 +7026,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6427,27 +7039,6 @@ "complexity_penalty": 0.1 } }, - { - "module": "sklearn.kernel_ridge", - "estimator": "KernelRidge", - "operation": "predict", - "execution_class": "numpy-bound", - "flow_scikit_status": "present", - "priority_score": 40.5, - "disposition": "compile whole estimator", - "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", - "observed_flow_speedup": 6.151473271815433, - "factors": { - "substrate": 0.55, - "python_share": 0.0, - "crossing_cost_proxy": 0.0, - "allocation_proxy": 0.0, - "observed_flow_speed": 1.0, - "implementation_readiness": 1.0, - "native_reuse_penalty": 0.0, - "complexity_penalty": 0.1 - } - }, { "module": "sklearn.semi_supervised._label_propagation", "estimator": "LabelPropagation", @@ -6458,6 +7049,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6479,6 +7072,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6500,6 +7095,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6521,6 +7118,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6542,6 +7141,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6563,6 +7164,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6584,6 +7187,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6605,6 +7210,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6626,6 +7233,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6647,6 +7256,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6668,6 +7279,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6689,6 +7302,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6710,6 +7325,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6731,6 +7348,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6752,6 +7371,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6773,6 +7394,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6794,6 +7417,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6815,6 +7440,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6836,6 +7463,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6857,6 +7486,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6878,6 +7509,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6899,6 +7532,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6920,6 +7555,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6941,6 +7578,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6962,6 +7601,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -6983,6 +7624,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7004,6 +7647,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7025,6 +7670,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7046,6 +7693,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7067,6 +7716,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7088,6 +7739,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7109,6 +7762,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7130,6 +7785,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7151,6 +7808,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7172,6 +7831,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7193,6 +7854,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7214,6 +7877,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7235,6 +7900,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7256,6 +7923,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7277,6 +7946,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7298,6 +7969,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7319,6 +7992,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7340,6 +8015,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7361,6 +8038,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7382,6 +8061,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7403,6 +8084,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7424,6 +8107,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7445,6 +8130,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7466,6 +8153,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7487,6 +8176,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7508,6 +8199,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7529,6 +8222,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7550,6 +8245,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7571,6 +8268,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7592,6 +8291,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7613,6 +8314,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7634,6 +8337,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7655,6 +8360,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7676,6 +8383,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7697,6 +8406,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7718,6 +8429,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7739,6 +8452,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7760,6 +8475,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7781,6 +8498,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7802,6 +8521,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -7823,6 +8544,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -7844,6 +8567,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -7865,6 +8590,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -7886,6 +8613,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -7907,6 +8636,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -7928,6 +8659,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -7949,6 +8682,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -7970,6 +8705,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -7991,6 +8728,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -8012,6 +8751,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -8033,6 +8774,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -8054,6 +8797,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -8075,6 +8820,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -8096,6 +8843,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -8117,6 +8866,8 @@ "disposition": "rewrite first", "hypothesis": "remove Python control/validation and specialize the complete operation", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 1.0, "python_share": 0.0, @@ -8128,6 +8879,29 @@ "complexity_penalty": 0.1 } }, + { + "module": "sklearn.kernel_ridge", + "estimator": "KernelRidge", + "operation": "predict", + "execution_class": "numpy-bound", + "flow_scikit_status": "present", + "priority_score": 39.901, + "disposition": "compile whole estimator", + "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", + "observed_flow_speedup": 2.8802705827523685, + "observed_flow_speedup_basis": "prediction stage", + "end_to_end_flow_speedup": 4.086517645676629, + "factors": { + "substrate": 0.55, + "python_share": 0.0, + "crossing_cost_proxy": 0.0, + "allocation_proxy": 0.0, + "observed_flow_speed": 0.9600901942507895, + "implementation_readiness": 1.0, + "native_reuse_penalty": 0.0, + "complexity_penalty": 0.1 + } + }, { "module": "sklearn.cluster._bisect_k_means", "estimator": "BisectingKMeans", @@ -8138,6 +8912,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8159,6 +8935,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8180,6 +8958,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8201,6 +8981,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8222,6 +9004,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8243,6 +9027,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8264,6 +9050,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8285,6 +9073,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8306,6 +9096,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8327,6 +9119,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8348,6 +9142,8 @@ "disposition": "replace Cython/native sklearn code", "hypothesis": "compare a Flow-native hot loop under identical algorithmic semantics", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.65, "python_share": 0.0, @@ -8369,6 +9165,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.8, "python_share": 0.0, @@ -8390,6 +9188,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8411,6 +9211,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8432,6 +9234,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8453,6 +9257,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8474,6 +9280,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8495,6 +9303,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8516,6 +9326,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8537,6 +9349,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8558,6 +9372,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8579,6 +9395,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8600,6 +9418,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8621,6 +9441,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8642,6 +9464,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8663,6 +9487,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8684,6 +9510,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8705,6 +9533,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8726,6 +9556,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8747,6 +9579,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8768,6 +9602,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8789,6 +9625,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8810,6 +9648,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8831,6 +9671,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8852,6 +9694,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8873,6 +9717,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8894,6 +9740,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8915,6 +9763,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8936,6 +9786,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8957,6 +9809,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8978,6 +9832,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -8999,6 +9855,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9020,6 +9878,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9041,6 +9901,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9062,6 +9924,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9083,6 +9947,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9104,6 +9970,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9125,6 +9993,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9146,6 +10016,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9167,6 +10039,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9188,6 +10062,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9209,6 +10085,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9230,6 +10108,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9251,6 +10131,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9272,6 +10154,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9293,6 +10177,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9314,6 +10200,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9335,6 +10223,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9356,6 +10246,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9377,6 +10269,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9398,6 +10292,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9419,6 +10315,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9440,6 +10338,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9461,6 +10361,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9482,6 +10384,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9503,6 +10407,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9524,6 +10430,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9545,6 +10453,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9566,6 +10476,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9587,6 +10499,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9608,6 +10522,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9629,6 +10545,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9650,6 +10568,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9671,6 +10591,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9692,6 +10614,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9713,6 +10637,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9734,6 +10660,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9755,6 +10683,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9776,6 +10706,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9797,6 +10729,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9818,6 +10752,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9839,6 +10775,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9860,6 +10798,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9881,6 +10821,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9902,6 +10844,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9923,6 +10867,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9944,6 +10890,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9965,6 +10913,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -9986,6 +10936,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -10007,6 +10959,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -10028,6 +10982,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -10049,6 +11005,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -10070,6 +11028,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -10091,6 +11051,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.45, "python_share": 0.0, @@ -10112,6 +11074,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.45, "python_share": 0.0, @@ -10133,6 +11097,8 @@ "disposition": "compile whole estimator", "hypothesis": "retain useful numerical kernels while fusing validation, allocation and orchestration", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.55, "python_share": 0.0, @@ -10153,7 +11119,9 @@ "priority_score": 20.0, "disposition": "reuse optimized native kernel", "hypothesis": "retain the mature backend and optimize boundary, layout and dispatch overhead around it", - "observed_flow_speedup": 3.740809430741076, + "observed_flow_speedup": 3.7923632527939537, + "observed_flow_speedup_basis": "fit stage", + "end_to_end_flow_speedup": 4.09074830947249, "factors": { "substrate": 0.15, "python_share": 0.0, @@ -10175,6 +11143,8 @@ "disposition": "reuse optimized native kernel", "hypothesis": "retain the mature backend and optimize boundary, layout and dispatch overhead around it", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.25, "python_share": 0.0, @@ -10196,6 +11166,8 @@ "disposition": "reuse optimized native kernel", "hypothesis": "retain the mature backend and optimize boundary, layout and dispatch overhead around it", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.25, "python_share": 0.0, @@ -10217,6 +11189,8 @@ "disposition": "reuse optimized native kernel", "hypothesis": "retain the mature backend and optimize boundary, layout and dispatch overhead around it", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.25, "python_share": 0.0, @@ -10238,6 +11212,8 @@ "disposition": "reuse optimized native kernel", "hypothesis": "retain the mature backend and optimize boundary, layout and dispatch overhead around it", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.15, "python_share": 0.0, @@ -10259,6 +11235,8 @@ "disposition": "reuse optimized native kernel", "hypothesis": "retain the mature backend and optimize boundary, layout and dispatch overhead around it", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.15, "python_share": 0.0, @@ -10280,6 +11258,8 @@ "disposition": "reuse optimized native kernel", "hypothesis": "retain the mature backend and optimize boundary, layout and dispatch overhead around it", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.15, "python_share": 0.0, @@ -10301,6 +11281,8 @@ "disposition": "reuse optimized native kernel", "hypothesis": "retain the mature backend and optimize boundary, layout and dispatch overhead around it", "observed_flow_speedup": null, + "observed_flow_speedup_basis": null, + "end_to_end_flow_speedup": null, "factors": { "substrate": 0.15, "python_share": 0.0, diff --git a/benchmarks/rank_optimization_opportunities.py b/benchmarks/rank_optimization_opportunities.py index f829f75..8873e52 100644 --- a/benchmarks/rank_optimization_opportunities.py +++ b/benchmarks/rank_optimization_opportunities.py @@ -40,7 +40,42 @@ def disposition(substrate, python_share, flow_status): return "low performance value" +# Which stage of a headline row is evidence for which estimator operation. +# +# A headline row times fit and prediction separately. Its end-to-end speedup is +# dominated by fit wherever fit is the slower stage, so reading that one number +# as evidence for `predict` reports the fit result under the wrong name. Issue +# #481 found `SVC.predict` listed at 2.20x from end-to-end totals while the +# prediction stage of the same rows ran at 6.87x and 3.33x. +# +# The prediction stage is `predict` for every canonical row except PCA, where +# it is `transform`. `predict_proba` and `decision_function` are not timed by +# the headline benchmark. They share the prediction stage's kernel, so they +# take its ratio, and the basis field says which stage a number came from. +FIT_OPERATIONS = frozenset({"fit"}) +PREDICT_OPERATIONS = frozenset({"predict", "predict_proba", "decision_function", "transform"}) + +BASIS_FIT = "fit stage" +BASIS_PREDICT = "prediction stage" + + +def operation_basis(operation): + """Return the headline stage that measures ``operation``, or None.""" + if operation in FIT_OPERATIONS: + return BASIS_FIT + if operation in PREDICT_OPERATIONS: + return BASIS_PREDICT + return None + + +def _ratio(sklearn_ms, flow_ms): + sk = float(sklearn_ms or 0) + fl = float(flow_ms or 0) + return sk / fl if sk > 0 and fl > 0 else None + + def row_speedup(row): + """End-to-end speedup of one headline row, fit plus prediction.""" if row.get("speedup") is not None: return float(row["speedup"]) sk = float(row.get("sklearn_fit_ms", 0) or 0) + float(row.get("sklearn_pred_ms", 0) or 0) @@ -48,6 +83,55 @@ def row_speedup(row): return sk / fl if sk > 0 and fl > 0 else None +def row_stage_speedup(row, basis): + """Speedup of one stage of a headline row. + + Returns None when the stage has no resolved timing on either side. A stage + faster than the clock resolution records 0 ms and is treated as unresolved + instead of as an infinite speedup. + """ + if basis == BASIS_FIT: + return _ratio(row.get("sklearn_fit_ms"), row.get("flow_fit_ms")) + if basis == BASIS_PREDICT: + return _ratio(row.get("sklearn_pred_ms"), row.get("flow_pred_ms")) + return None + + +def collect_speedups(headline_rows): + """Group parity-eligible headline speedups by sklearn estimator and stage. + + Returns ``{estimator: {basis: [speedup, ...]}}`` with the bases + ``"fit stage"``, ``"prediction stage"`` and ``"end to end"``. + """ + speed = {} + for r in headline_rows: + if r.get("parity_status") not in {"parity verified", "approximately equivalent"}: + continue + name = HEADLINE_TO_SKLEARN.get(r["algorithm"], r["algorithm"]) + by_basis = speed.setdefault(name, {}) + for basis, value in ( + (BASIS_FIT, row_stage_speedup(r, BASIS_FIT)), + (BASIS_PREDICT, row_stage_speedup(r, BASIS_PREDICT)), + ("end to end", row_speedup(r)), + ): + if value is not None: + by_basis.setdefault(basis, []).append(value) + return speed + + +def observed_speedup(speed, estimator, operation): + """Mean observed speedup for one estimator operation, with its basis. + + Returns ``(speedup, basis)``. Both are None when the headline benchmark + does not time the stage that the operation belongs to. + """ + basis = operation_basis(operation) + values = speed.get(estimator, {}).get(basis, []) if basis else [] + if not values: + return None, None + return sum(values) / len(values), basis + + def main(): p = argparse.ArgumentParser() p.add_argument("--inventory", type=Path, default=ROOT / "benchmarks" / "sklearn_execution_inventory.json") @@ -68,15 +152,7 @@ def main(): if key not in prof or r["rows"] > prof[key]["rows"]: prof[key] = r - speed = {} - for r in headline.get("rows", []): - if r.get("parity_status") not in {"parity verified", "approximately equivalent"}: - continue - value = row_speedup(r) - if value is None: - continue - name = HEADLINE_TO_SKLEARN.get(r["algorithm"], r["algorithm"]) - speed.setdefault(name, []).append(value) + speed = collect_speedups(headline.get("rows", [])) rows = [] for r in inv: @@ -87,12 +163,11 @@ def main(): alloc_factor = min(1.0, float(pr.get("python_peak_alloc_bytes", 0)) / 8_000_000.0) if pr else 0.0 substrate_factor = SUBSTRATE_OPPORTUNITY.get(r["execution_class"], 0.5) native_reuse_penalty = 0.35 if r["execution_class"] in {"external-native-bound", "blas-lapack-bound"} else 0.0 - flow_speedups = speed.get(r["estimator"], []) observed_factor = 0.5 - observed_speedup = None - if flow_speedups: - observed_speedup = sum(flow_speedups) / len(flow_speedups) - observed_factor = min(1.0, max(0.0, observed_speedup / 3.0)) + observed, basis = observed_speedup(speed, r["estimator"], r["operation"]) + if observed is not None: + observed_factor = min(1.0, max(0.0, observed / 3.0)) + end_to_end = speed.get(r["estimator"], {}).get("end to end", []) implementation_factor = 1.0 if r["flow_scikit_status"] == "present" else 0.35 complexity_penalty = 0.25 if r["execution_class"] in {"cython-bound", "external-native-bound"} else 0.1 @@ -113,7 +188,9 @@ def main(): "module": r["module"], "estimator": r["estimator"], "operation": r["operation"], "execution_class": r["execution_class"], "flow_scikit_status": r["flow_scikit_status"], "priority_score": round(score, 3), "disposition": disp, "hypothesis": hypothesis, - "observed_flow_speedup": observed_speedup, + "observed_flow_speedup": observed, + "observed_flow_speedup_basis": basis, + "end_to_end_flow_speedup": sum(end_to_end) / len(end_to_end) if end_to_end else None, "factors": { "substrate": substrate_factor, "python_share": python_share, "crossing_cost_proxy": crossing_factor, "allocation_proxy": alloc_factor, @@ -123,10 +200,11 @@ def main(): }) rows.sort(key=lambda x: x["priority_score"], reverse=True) args.json.write_text(json.dumps({"schema_version": 1, "rows": rows}, indent=2) + "\n") - md = ["# Flow optimization roadmap", "", "Generated from committed inventory/profile/benchmark evidence.", "", "| Rank | Estimator | Operation | Substrate | Score | Disposition | Observed Flow speedup | Hypothesis |", "|---:|---|---|---|---:|---|---:|---|"] + md = ["# Flow optimization roadmap", "", "Generated from committed inventory/profile/benchmark evidence.", "", "Observed Flow speedup is the mean over the estimator's canonical rows of the stage that times the operation: the fit stage for `fit`, the prediction stage for `predict`, `predict_proba`, `decision_function` and `transform`. The Basis column names the stage. End-to-end totals are kept in the JSON as `end_to_end_flow_speedup` and are not used for ranking.", "", "| Rank | Estimator | Operation | Substrate | Score | Disposition | Observed Flow speedup | Basis | Hypothesis |", "|---:|---|---|---|---:|---|---:|---|---|"] for i, r in enumerate(rows[:100], 1): observed = "" if r["observed_flow_speedup"] is None else f"{r['observed_flow_speedup']:.2f}×" - md.append(f"| {i} | `{r['estimator']}` | `{r['operation']}` | {r['execution_class']} | {r['priority_score']:.1f} | {r['disposition']} | {observed} | {r['hypothesis']} |") + basis = r["observed_flow_speedup_basis"] or "" + md.append(f"| {i} | `{r['estimator']}` | `{r['operation']}` | {r['execution_class']} | {r['priority_score']:.1f} | {r['disposition']} | {observed} | {basis} | {r['hypothesis']} |") args.markdown.write_text("\n".join(md) + "\n") print(f"ranked {len(rows)} estimator operations; top={rows[0]['estimator']}.{rows[0]['operation'] if rows else 'n/a'}") return 0 diff --git a/benchmarks/test_rank_optimization_stages.py b/benchmarks/test_rank_optimization_stages.py new file mode 100644 index 0000000..2f279c5 --- /dev/null +++ b/benchmarks/test_rank_optimization_stages.py @@ -0,0 +1,133 @@ +#!/usr/bin/env python3 +"""Pin which headline stage the optimization roadmap reads for each operation. + +Issue #481: the roadmap gave every operation of an estimator the same +end-to-end speedup, so a slow fit showed up as a slow ``predict``. These checks +hold three things: + +* ``fit`` reads the fit stage, and ``predict``, ``predict_proba``, + ``decision_function`` and ``transform`` read the prediction stage. +* A row that is not parity-eligible contributes to no stage. +* A stage with no resolved timing yields no evidence. A prediction too fast + for the clock records 0 ms and must never read as an infinite speedup. + +The last check runs the generator on the committed inputs and confirms the +``SVC.predict`` row carries the prediction-stage ratio of the two KernelSVC +headline rows. +""" +from __future__ import annotations + +import json +import subprocess +import sys +import tempfile +from pathlib import Path + +from rank_optimization_opportunities import ( + BASIS_FIT, + BASIS_PREDICT, + collect_speedups, + observed_speedup, + operation_basis, +) + +BENCH = Path(__file__).resolve().parent +FAILURES: list[str] = [] + + +def check(name: str, actual, expected) -> None: + if actual == expected: + print(f" ok {name}") + return + FAILURES.append(name) + print(f" FAIL {name}\n expected {expected!r}\n actual {actual!r}") + + +def close(name: str, actual, expected, tolerance: float = 1e-12) -> None: + if actual is not None and abs(actual - expected) <= tolerance * max(1.0, abs(expected)): + print(f" ok {name}") + return + FAILURES.append(name) + print(f" FAIL {name}\n expected {expected!r}\n actual {actual!r}") + + +def row(algorithm, sk_fit, fl_fit, sk_pred, fl_pred, parity="approximately equivalent"): + return { + "algorithm": algorithm, + "parity_status": parity, + "sklearn_fit_ms": sk_fit, + "flow_fit_ms": fl_fit, + "sklearn_pred_ms": sk_pred, + "flow_pred_ms": fl_pred, + } + + +def main() -> int: + print("operation to stage") + check("fit reads the fit stage", operation_basis("fit"), BASIS_FIT) + for operation in ("predict", "predict_proba", "decision_function", "transform"): + check(f"{operation} reads the prediction stage", operation_basis(operation), BASIS_PREDICT) + check("an unknown operation has no stage", operation_basis("score"), None) + + print("stage separation") + # Fit loses at 0.5x and prediction wins at 4x. End to end is 0.55x. + rows = [row("KernelSVC_RBF", 10.0, 20.0, 4.0, 1.0)] + speed = collect_speedups(rows) + value, basis = observed_speedup(speed, "SVC", "predict") + close("predict takes the prediction-stage ratio", value, 4.0) + check("predict names its basis", basis, BASIS_PREDICT) + value, basis = observed_speedup(speed, "SVC", "fit") + close("fit takes the fit-stage ratio", value, 0.5) + check("fit names its basis", basis, BASIS_FIT) + close("end to end is kept separately", speed["SVC"]["end to end"][0], 14.0 / 21.0) + value, _ = observed_speedup(speed, "SVC", "decision_function") + close("decision_function takes the prediction-stage ratio", value, 4.0) + + print("averaging across datasets") + rows = [ + row("KernelSVC_RBF", 10.0, 20.0, 4.0, 1.0), + row("KernelSVC_RBF", 30.0, 10.0, 6.0, 3.0), + ] + speed = collect_speedups(rows) + close("predict is the mean of the prediction-stage ratios", observed_speedup(speed, "SVC", "predict")[0], 3.0) + close("fit is the mean of the fit-stage ratios", observed_speedup(speed, "SVC", "fit")[0], 1.75) + + print("rows that carry no evidence") + speed = collect_speedups([row("KernelSVC_RBF", 10.0, 20.0, 4.0, 1.0, parity="parity unresolved")]) + check("a parity-unresolved row is ignored", observed_speedup(speed, "SVC", "predict"), (None, None)) + # A prediction faster than the clock resolution is recorded as 0 ms. + speed = collect_speedups([row("LinearRegression", 1.0, 0.5, 0.02, 0.0)]) + check("an unresolved prediction stage yields no predict evidence", observed_speedup(speed, "LinearRegression", "predict"), (None, None)) + close("its fit stage is still read", observed_speedup(speed, "LinearRegression", "fit")[0], 2.0) + check("an estimator outside the headline has no evidence", observed_speedup(speed, "Birch", "predict"), (None, None)) + + print("generator on the committed inputs") + headline = json.loads((BENCH / "headline_result_v2.json").read_text()) + ksvc = [r for r in headline["rows"] if r["algorithm"] == "KernelSVC_RBF"] + expected_predict = sum(r["sklearn_pred_ms"] / r["flow_pred_ms"] for r in ksvc) / len(ksvc) + expected_fit = sum(r["sklearn_fit_ms"] / r["flow_fit_ms"] for r in ksvc) / len(ksvc) + with tempfile.TemporaryDirectory() as tmp: + out_json = Path(tmp) / "roadmap.json" + out_md = Path(tmp) / "ROADMAP.md" + subprocess.run( + [sys.executable, str(BENCH / "rank_optimization_opportunities.py"), "--json", str(out_json), "--markdown", str(out_md)], + check=True, stdout=subprocess.DEVNULL, + ) + generated = {(r["estimator"], r["operation"]): r for r in json.loads(out_json.read_text())["rows"]} + markdown = out_md.read_text() + check("two KernelSVC headline rows feed the check", len(ksvc), 2) + close("SVC.predict carries the prediction-stage mean", generated[("SVC", "predict")]["observed_flow_speedup"], expected_predict, 1e-9) + check("SVC.predict names its basis", generated[("SVC", "predict")]["observed_flow_speedup_basis"], BASIS_PREDICT) + close("SVC.fit carries the fit-stage mean", generated[("SVC", "fit")]["observed_flow_speedup"], expected_fit, 1e-9) + check("the two stages are different numbers", generated[("SVC", "predict")]["observed_flow_speedup"] != generated[("SVC", "fit")]["observed_flow_speedup"], True) + check("the markdown table has a Basis column", "| Basis |" in markdown, True) + + if FAILURES: + print(f"\n{len(FAILURES)} check(s) failed") + return 1 + print("\nall roadmap stage checks passed") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main())