#1026 Fix merge_sort.py code bug
Pull request opened by
Future-Outlier
Hello, reviewers
When the input list is of size *run_local_at_count * 2 + 1*, it should ideally be divided into
two sublists:
Sublist 1:
length = run_local_at_count, should be processed by
sort_locally.
Sublist 2:
length = run_local_at_count + 1, should be processed by
merge_sort_remotely.
However, due to an
error in the splitting function,
both sublists are processed with sort_locally, which deviates from the intended behavior of the algorithm.
While the final sorted output is still correct, the process is not.
PS: I forget to use master branch to commit this file so I create this pull request again.
flyteorg/flytesnacks
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/whylogs_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/type_system)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/sql_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/sagemaker_training_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/sagemaker_pytorch_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/ray_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/pima_diabetes)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/papermill_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/pandera_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/onnx_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/nlp_processing)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/modin_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/mnist_classifier)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/mlflow_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/kftensorflow_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/kfpytorch_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/kfmpi_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/k8s_spark_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/k8s_pod_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/k8s_dask_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/image_spec)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/house_price_prediction)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/greatexpectations_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/forecasting_sales)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/feast_integration)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/exploratory_data_analysis)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/duckdb_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/dolt_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/dbt_plugin)
GitHub Actions: Serialize & Register Flytesnacks workflow / Serialize Example (examples/databricks_plugin)
✅ No checks have passed
0/30 successful checks