Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Map list of old API elements to list of new API elements #1118

@lars-reimann

Description

@lars-reimann

Is your feature request related to a problem?

Given the similarity between to API elements we now need to find out which API elements of the old API correspond to which API elements of the new API. Multiple functions can be combined to one function (n-to-1 relation), or one function can be split into multiple (1-to-n relation).

Desired solution

Create some function that outputs a mapping of a list of old API elements to a list of new API elements. Each API element should occur at most once. The lists should be sorted by similarity.

The primitive solution would be a list of tuples of lists:

[
  (["a", "b"], ["ab"]),
  (["c"], ["c"])
]

It might be worth introducing custom classes for the different relations (1-to-1, n-to-1, 1-to-n). This would also allow us to store the similarity measure.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

Labels

enhancement 💡New feature or requestmigrationMigration of annotation to a new API versionreleasedIncluded in a release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions