fix: Autolog Mechanics#99
Merged
Merged
Conversation
…or task inputs when autologging. Don't autolog None outputs. Make execution metric logging explicit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal is to avoid useless noise being created in the UI as much as possible.
Added:
seems_useful_to_serializemechanic we can use for autologging task inputs and outputsChanged:
Removed:
Generated Summary:
log_paramandlog_paramsfunctions by removing thetoparameter, making them focus solely on logging parameters as key-value pairs.seems_useful_to_serialize, that checks if an object is likely useful for serialization based on its schema.log_execution_metrics, to various functions and classes to allow optional tracking of execution metrics, including success rates and run counts.log_paramsparameter from theTaskclass to streamline the logging process and improve clarity.runmethods to ensure that input serialization checks are applied based on thelog_inputsoption.This summary was generated with ❤️ by rigging