Skip to content

Java/C# : Enhance provenance. #12595

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

Merged
merged 16 commits into from
Apr 13, 2023
Merged

Conversation

michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Mar 20, 2023

In this PR we update the provenance related information in a non-backwards compatible way.
The new possible values for the provenance is

  • manual, which means that a model has been created by a human.
  • {origin}-{verification} which means that the model has origin origin and verification, where origin is either df (data flow model generator), tp (type based model generator), hq (heuristic query) or ai (AI generated) and verification is either manual or generated.

Examples of provenances are

  • manual: The model has been created by a human.
  • df-generated: The model has been generated by the data flow model generator.
  • ai-manual: The model has been generated by AI, but has been manually verified by a human.

This means that by manual inspection of a model one can change the verification from “generated” -> “manual”).

@lcartey : This change is not backwards compatible. All generated models needs to be have their provenance changed from "generated" -> "df-generated".

@michaelnebel michaelnebel force-pushed the enhanceprovenance branch 6 times, most recently from dbc15a5 to dbfc711 Compare March 23, 2023 12:15
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

Some minor comments

@michaelnebel michaelnebel force-pushed the enhanceprovenance branch 2 times, most recently from 803d53a to 0971e69 Compare March 24, 2023 12:41
@michaelnebel michaelnebel marked this pull request as ready for review March 27, 2023 07:35
@michaelnebel michaelnebel requested review from a team as code owners March 27, 2023 07:35
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Mar 27, 2023
@atorralba
Copy link
Contributor

All Java ai-generated models that have been merged until now have been manually inspected. Should we change those to ai-manual as part of this PR as well?

@michaelnebel
Copy link
Contributor Author

All Java ai-generated models that have been merged until now have been manually inspected. Should we change those to ai-manual as part of this PR as well?

Yes, that is a good idea! I will do that!

@michaelnebel michaelnebel requested a review from hvitved March 27, 2023 07:52
hvitved
hvitved previously approved these changes Apr 13, 2023
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

LGTM

@michaelnebel
Copy link
Contributor Author

DCA looks good.
A couple of failing projects here and there, but not anything that looks related to these changes.

@michaelnebel michaelnebel merged commit 52bc43b into github:main Apr 13, 2023
@michaelnebel michaelnebel deleted the enhanceprovenance branch April 13, 2023 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants