HyukjinKwon opened a new pull request, #729:
URL: https://github.com/apache/spark-connect-rust/pull/729

   ### What changes were proposed in this pull request?
   
   Fixes from a post-merge cross-review:
   - `ALSModel::rank()` converts the server's rank with a check instead of `as 
i32`, which would truncate silently.
   - The evaluators' public `set_uid` is documented and tested.
   - The live `e2e_feature_models` and `e2e_fpm_recommendation_evaluation` now 
compare the params of each loaded object with official PySpark's loaded object 
(`params_after`). Before, they compared it only with this client's own save, 
plus two golden-only constants. A new `assert_golden_params` helper does the 
comparison.
   - The evaluators section of `docs/compatibility.md` now says that its three 
evaluators were upstream's deprecated module's; this module's classes are 
native.
   
   ### Why are the changes needed?
   
   They close the gaps that the review found.
   
   ### Does this PR introduce _any_ user-facing change?
   
   `ALSModel::rank()` returns an error for a rank out of the range of an `i32` 
instead of truncating it. The rest is tests and docs.
   
   ### How was this patch tested?
   
   The changed tests pass, live against Spark 4.3.0. A mutation of the golden's 
`rank` in both `params_before` and `params_after` fails the new check: "param 
rank: 2 != 3".
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.5
   
   This pull request and its description were written by Isaac.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to