Skip to content

Improves the component and solves bugs

Latest
Compare
Choose a tag to compare
@FerranAgulloLopez FerranAgulloLopez released this 23 Dec 07:54

Version 3.3 of similarity-detection includes the following changes:

  • Bugs solved:

    • The temporary multipart file was not being deleted when a parser exception was thrown.
    • The AddRequirements method was not correctly working when the smoothing was active.
  • Method improvements:

    • Adds a new optional parameter called useComponent in the Build methods. When it is activated the similarity algorithm decreases the score between two requirements if they have different components.
    • Adds a default response JSON in sync and void methods like ClearDatabase or TreatDependencies.
    • The BuildClusters methods now process the input rejected and deleted dependencies.
    • The cluster methods now take into account the created_at and modified_at attributes of the input requirements and dependencies to check their correctness. For example, a dependency with a creation or modification date older than one of his requirements will be considered not updated and will not be taken into account.
    • The BatchProcess method now has the option of deleting requirements and dependencies.
  • General improvements

    • A lot of code comments have been added to increase the readability of the code.
    • The requirement deserializer has been simplified.