Skip to content

Conversation

@s-heppner
Copy link
Owner

@s-heppner s-heppner commented Mar 6, 2025

Currently, we can only effectively use the SemanticMatch and
EquivalenceTable classes with the server. This structure was
not very effective for testing. We refactor away from using the
model and instead add a new algorithm module.

Semantic matches are now stored in a networkx.DiGraph, a
directed graph. The algorithm is performed on the graph with
effective graph operations, making the whole process more
efficient as well.

Furthermore, we clean up the service to use it in a more pythonic
way, eliminating the need for the service_model module.

Note, that this is a major refactor and solves multiple problems:

Fixes #1
Fixes #5

@s-heppner s-heppner force-pushed the Refactor/model branch 2 times, most recently from e1f0606 to dd6792a Compare March 7, 2025 15:56
Currently, we can only effectively use the `SemanticMatch` and
`EquivalenceTable` classes with the server. This structure was
not very effective for testing. We refactor away from using the
model and instead add a new `algorithm` module.

Semantic matches are now stored in a `networkx.DiGraph`, a
directed graph. The algorithm is performed on the graph with
effective graph operations, making the whole process more
efficient as well.

Furthermore, we clean up the service to use it in a more pythonic
way, eliminating the need for the `service_model` module.

Note, that this is a major refactor and solves multiple problems:

Fixes #1
Fixes #5
@s-heppner s-heppner marked this pull request as ready for review March 7, 2025 22:45
@s-heppner s-heppner changed the title Refactor the model to make it usable without the server Major refactor of the project Mar 7, 2025
@s-heppner s-heppner merged commit a2155cc into main Mar 7, 2025
6 checks passed
@s-heppner s-heppner deleted the Refactor/model branch March 7, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recursive searching is buggy Add endpoint "GetAllEquivalences"

2 participants