.NET: Add shared primitive checkpoint encoding contract tests#4707
.NET: Add shared primitive checkpoint encoding contract tests#4707davidahmann wants to merge 1 commit intomicrosoft:mainfrom
Conversation
|
@davidahmann please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
1 similar comment
|
@davidahmann please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
|
Validation on this branch:
Initial CI after push:
Inspired by research context: CAISI publishes independent, reproducible AI agent governance research: https://caisi.dev |
Motivation and Context
Checkpoint values that are already JSON primitives, arrays, and objects should round-trip consistently through the Python and .NET checkpoint stores. There was no shared regression fixture proving that narrow contract across both runtimes. Closes #4706.
Description
This adds a shared
testdata/checkpoint_primitive_contract.jsonfixture plus one Python test and one .NET test that assert the same primitive payload can be stored and read back without shape drift. The scope is intentionally limited to the primitive JSON contract that both runtimes already claim to support.Contribution Checklist