Repository navigation
Commit 3f87292
rsareddy0329
test(train): assert override flows into resolved recipe, not serverless HP
The scoped CodeBuild run surfaced that asserting override flow through the
serverless-filtered hyperparameters is wrong for renamed-leaf keys (e.g.
dataset_max_len -> training_config.data.max_length): the serverless path
in _apply_recipe_to_hyperparameters filters flattened recipe leaf names
against user-provided spec names, so renamed-leaf overrides are dropped.
Assert override application against the resolved recipe (the resolver's
contract) instead, keeping the test recipe-proof and leaf-name-agnostic.
The serverless drop of renamed-leaf overrides is a separate SDK issue to
be raised with the recipe owners.1 parent b784036 commit 3f87292
1 file changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
866 | | - | |
867 | | - | |
868 | | - | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
869 | 873 | | |
870 | 874 | | |
871 | | - | |
872 | | - | |
| 875 | + | |
| 876 | + | |
873 | 877 | | |
874 | 878 | | |
875 | 879 | | |
876 | 880 | | |
877 | 881 | | |
878 | 882 | | |
879 | | - | |
880 | | - | |
881 | | - | |
| 883 | + | |
882 | 884 | | |
883 | 885 | | |
884 | 886 | | |
| |||
0 commit comments