Skip to content

Modular architecture refactoring and feedback cell adjustments - #39

Merged
Joao-Paulo-Silva merged 26 commits into
AIS-Package:mainfrom
Joao-Paulo-Silva:refactor/architecture-refactoring
Nov 8, 2025
Merged

Joao-Paulo-Silva merged 26 commits into
AIS-Package:mainfrom
Joao-Paulo-Silva:refactor/architecture-refactoring

Conversation

@Joao-Paulo-Silva

@Joao-Paulo-Silva Joao-Paulo-Silva commented Oct 5, 2025

Copy link
Copy Markdown
Member

This PR enhances the project’s modular architecture and updates the algorithms’ outputs to operate with cell populations.
The refactoring reorganizes internal modules to improve separation of concerns and cohesion, while also introducing compatibility with NumPy operations in the entities of the immune submodule.


Changes:

  • Internal module restructuring for greater clarity and better separation of responsibilities.
  • Implementation and adjustments of the Cell, Antibody, and Detector classes in a dedicated (immune) module.
  • Removal of redundant and duplicate code.

Motivation:

Although the previous structure was already modular, there was overlap of responsibilities, unclear imports, and redundancies that made code maintenance and evolution difficult.


Refactoring:

  • Facilitate the discovery and extension of functionalities.
  • Ensure that immune system entities (cells, antibodies, and detectors) exhibit robust, consistent behavior and are compatible with NumPy vectorized operations.

@Joao-Paulo-Silva Joao-Paulo-Silva linked an issue Oct 13, 2025 that may be closed by this pull request
@Joao-Paulo-Silva
Joao-Paulo-Silva force-pushed the refactor/architecture-refactoring branch from dbd02ad to 0304351 Compare October 14, 2025 23:04
@Joao-Paulo-Silva Joao-Paulo-Silva self-assigned this Oct 14, 2025
@Joao-Paulo-Silva
Joao-Paulo-Silva marked this pull request as ready for review October 14, 2025 23:37
@Joao-Paulo-Silva Joao-Paulo-Silva added documentation Improvements or additions to documentation architecture refactor Refactoring architecture: reduce coupling, improve cohesion. labels Oct 25, 2025
@Joao-Paulo-Silva
Joao-Paulo-Silva force-pushed the refactor/architecture-refactoring branch from 5ebba36 to 25dcd34 Compare November 1, 2025 17:17
@Joao-Paulo-Silva
Joao-Paulo-Silva merged commit 451eb1a into AIS-Package:main Nov 8, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture refactor Refactoring architecture: reduce coupling, improve cohesion. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modular architecture refactoring and feedback cell adjustments

1 participant