-
Couldn't load subscription status.
- Fork 5
Labels
enhancementNew feature or requestNew feature or request
Description
Since the number of things that can be converted into r objects and back is limited, I think it would be better if we just get the original python object from the other end using id.instance. As for the instances given to irace, I see three options:
- Replaced them with integers. The downside is that it will be more opaque what the instances are when someone is examining the log.
- Replace them with the json string for the object with
json.dumps(obj, skipkeys=True, default=lambda x: '<not serializable>'), which would skip all the non-serializable objects. - Convert it to equivalent r objects with best-effort. A hacky way to do it is to just convert it to json string and back. Or we can write our own recursive converter.
I would prefer the second option because it's the easiest to implement and human-readable in a log. For any missing data, we'll just ask the user to find the data somewhere else. For the third option, it seems like a lot of effort for not many benefits.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request