Skip to content

Fix flatten inconsistency between src and sample gen#3657

Merged
kazrael2119 merged 1 commit intoAzure:mainfrom
kazrael2119:ut-for-flatten-transform
Dec 23, 2025
Merged

Fix flatten inconsistency between src and sample gen#3657
kazrael2119 merged 1 commit intoAzure:mainfrom
kazrael2119:ut-for-flatten-transform

Conversation

@kazrael2119
Copy link
Copy Markdown
Member

fixes #3653

@MaryGao MaryGao changed the title fix inconsistency between src and sample gen Fix flatten inconsistency between src and sample gen Dec 23, 2025
@MaryGao MaryGao marked this pull request as ready for review December 23, 2025 08:07
bazPropertiesBaz: [{ x: "bbb" }],
bar: [{ x: "xx" }],
bazPropertiesBaz: 222,
properties: { baz: 222 },
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls double confirm this is aligned with model gen.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be expected,
we should flatten the properties from the line 65, but not flatten the line 76
image

@kazrael2119
Copy link
Copy Markdown
Member Author

kazrael2119 commented Dec 23, 2025

has tested the case from the issue, it could be expected by this fix
image

@kazrael2119 kazrael2119 merged commit fb81879 into Azure:main Dec 23, 2025
16 checks passed
@kazrael2119 kazrael2119 deleted the ut-for-flatten-transform branch December 23, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sample Generation] Model property flatten information inconsistancy among models and samples

2 participants