Skip to content

Target Convenience: Store Details of Construction as Metadata #648

@Scienfitz

Description

@Scienfitz

Stemming from a recent discussion with @dasmy as well as a recent bug introduced that was aimed at utilizing target bounds.

After the target redesign, some info about the construction is lost, or at least is implicitly transferred into the transformation object. This can be extremely inconvenient.

Examples:

  • Obtain the interval in which a target variant has an influence (commonly referred to as bounds in the old target formalism)
  • Classify targets whether they do maximization, minimization, or matching

Proposal:
While maybe not entirely impossible, it is extremely inconvenient to do this purely based on the transformation. Instead, it would be very helpful to have the context of the target creation stored for later usage in situations where that context is otherwise lost. This could mean for instance to remember

  • what constructor has been used
  • what keywords were passed to the constructor

These data could be stored as part of the already existing metadata entry

Metadata

Metadata

Assignees

Labels

enhancementExpand / change existing functionality

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions