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

Fix race condition bug deleting categories #40

Merged
merged 8 commits into from
Jul 31, 2024

Commits on Jul 31, 2024

  1. Fix word count calculation when removing category in Bayes classifier

    - Move total word count reduction before category deletion
    - Ensure accurate word count maintenance during category removal
    cardmagic committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    3dac781 View commit details
    Browse the repository at this point in the history
  2. add remove_category tests

    cardmagic committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    6b53130 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bf5f1c View commit details
    Browse the repository at this point in the history
  4. Update Ruby CI workflow

    - Reduce tested Ruby versions to 2.7 and head
    cardmagic committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    1e5b24e View commit details
    Browse the repository at this point in the history
  5. Bump classifier gem version to 1.4.2

    - Update classifier gem from version 1.4.1 to 1.4.2 in Gemfile.lock
    cardmagic committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    aa67f7e View commit details
    Browse the repository at this point in the history
  6. Refactor Bayesian classifier tests

    - Remove test for nonexistent category removal
    - Rename and update test for category removal
    - Add mutex_m requirement in test helper
    cardmagic committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    ed07d6c View commit details
    Browse the repository at this point in the history
  7. Add mutex_m dependency and update fast-stemmer version

    - Add mutex_m gem to Gemfile and gemspec
    - Update fast-stemmer dependency version in gemspec
    - Remove explicit require of mutex_m in test_helper.rb
    cardmagic committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    daeb29d View commit details
    Browse the repository at this point in the history
  8. Update classifier gem dependencies

    - Loosen fast-stemmer version constraint to ~> 1.0
    - Add mutex_m dependency with version ~> 0.2
    cardmagic committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    9b559f2 View commit details
    Browse the repository at this point in the history