Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deserialization tests for 4.3 protobufs in Classification #345

Merged
merged 4 commits into from
Aug 4, 2023

Conversation

Craigacp
Copy link
Member

Description

Following #318 adds deserialization tests to Classification.

Motivation

We will support 4.3 protobufs in v5 and need tests to ensure that the upcoming refactors don't break serialization compatibility.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 13, 2023
@Craigacp Craigacp added the Oracle employee This PR is from an Oracle employee label Jul 20, 2023
Copy link
Member

@pogren pogren left a comment

Choose a reason for hiding this comment

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

looks like straightforward protobuf serialization testing to me. Create the model, train it with some test data, write it out to a test resource. Test is by deserializing the model and by recreating it and make sure both the deserialized and recreated models look the same and give the same results. Repeat. I didn't scrutinize every line of code - but it looks quite regular and straightforward to me.

@Craigacp Craigacp merged commit 5570106 into main Aug 4, 2023
8 checks passed
@Craigacp Craigacp deleted the classification-serialization branch August 4, 2023 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement. Oracle employee This PR is from an Oracle employee
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants