Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3969 - Review and improve visibility calculation code #3970

Merged

Conversation

reckart
Copy link
Member

@reckart reckart commented Apr 22, 2023

What's in the PR

  • Switch various variables to var
  • Move code hiding a suggestion based on a learning record status to a central place
  • Removed some redundant parameters from methods
  • Merge LearningRecordService into the RecommendationService
  • Add a write-through cache for the learning records to the recommender state

How to test manually

  • Check if recommenders work properly
  • Check if active learning works properly
  • Check both of the above as a normal annotator and also while using sidebar curation mode

Automatic testing

  • PR includes unit tests

Documentation

  • PR updates documentation

- Switch various variables to `var`
- Move code hiding a suggestion based on a learning record status to a central place
- Removed some redundant parameters from methods
@reckart reckart added this to 🏃‍♀️ In progress in Kanban via automation Apr 22, 2023
@reckart reckart self-assigned this Apr 22, 2023
@reckart reckart added this to the 28.0 milestone Apr 22, 2023
- Pull a rejectSuggestion call out into the RecommendationServiceImpl
- Consolidate code in the RecommendationEditorExtension
- Further clean up and consolidate code
- Further clean up and consolidate code
@reckart reckart force-pushed the refactoring/3969-Review-and-improve-visibility-calculation-code branch from 0301fb1 to 135da0d Compare April 23, 2023 18:54
- Further refactoring - in particular trying to properly centralize accept, correct and reject actions into the recommender service
…ty-calculation-code

* main:
  No issue: Add rootPath method to XmlNodeUtils
- Merge LearningRecordService into the RecommendationService
- Further centralize accepting/rejecting/skipping/etc. of suggestions in the recommender service
- Add a write-through cache for the learning records to the recommender state
…ty-calculation-code

* main:
  #3975 - Upgrade dependencies (27.7)

% Conflicts:
%	pom.xml
@reckart reckart marked this pull request as ready for review April 25, 2023 19:46
@reckart reckart merged commit c080d5a into main Apr 26, 2023
1 check passed
Kanban automation moved this from 🏃‍♀️ In progress to 🍹 Done Apr 26, 2023
@reckart reckart deleted the refactoring/3969-Review-and-improve-visibility-calculation-code branch April 26, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Kanban
  
🍹 Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant