🚧 This instance is under construction; expect occasional downtime. Runners available in /repos. Questions? Ask in #wikimedia-gitlab on libera.chat, or under GitLab on Phabricator.

  1. 23 Nov, 2021 2 commits
  2. 21 Sep, 2021 1 commit
  3. 26 Feb, 2021 1 commit
  4. 09 Feb, 2021 5 commits
  5. 11 Jan, 2021 1 commit
    • tjones's avatar
      Create new extra plugin for Khmer syllable reordering · 40273d02
      tjones authored
      * Create a new plugin, extra-analysis-khmer, that has a character
        filter, khmer_syll_reorder, that replaces deprecated Khmer
        characters and attempts to canonically reorder Khmer orthographic
        syllables in running text.
        * Include tests for general plugin behavior.
        * The Khmer syllable reordering is adapted from my prototype.
        * The char filter itself is adapted from the Lucene pattern replace
          filter (Apache License 2.0).
      * Update the project pom.xml with extra-analysis-khmer info.
      * Add Trey and Maryum to the <developers> list in the project pom.xml,
        and correct Nik's timezone formatting.
      * Incidentally fix pom dependencies for other plugins
      * Update README.md and add doc for khmer_syll_reorder.
      * Incidental README.md updates:
        * Fixed Build Status link.
        * Wrap long lines when possible.
        * Add entry for homoglyph_norm, but not full documentation.
      Bug: T185721
      Change-Id: I205f03ef9f044a5e16ea9468ed0207f625f01b2d
  6. 16 Jul, 2020 4 commits
  7. 30 Jun, 2020 1 commit
    • Erik Bernhardson's avatar
      Explicitly track nullability in ChangeHandler.handle · 7b394b47
      Erik Bernhardson authored
      Implementations of the interface varied in if they handled nullability
      themselves or if they required the NullSafe decorator to function as
      a full implementation of the interface. Create a new interface for the
      implementations that are not correct when passed nulls, making the
      only correct way to use them to wrap them with the null safe handler.
      Change-Id: Ic660dbf1c991f4207cd6c911f24a37f678aa9e59
  8. 24 Jun, 2020 1 commit
  9. 18 Jun, 2020 3 commits
  10. 17 Jun, 2020 5 commits
    • Erik Bernhardson's avatar
      super-detect-noop: Recognize and update subsets within an array · 120dfdee
      Erik Bernhardson authored
      We want to store class predictions from multiple ML models in the
      same elasticsearch field. When updating the predictions we need to
      replace the stored predictions only for the provided models, leaving
      predictions from un-updated models as they were. Accomplish that
      with a ChangeHandler that treats the content and updates as a
      multilist encoded within a single list.
      Bug: T250237
      Change-Id: I65432cdacfe5da459178ecb536104b89898dd2cb
    • Erik Bernhardson's avatar
      superdetectnoop: reduce complexity of applying change handlers · d796b45d
      Erik Bernhardson authored
      A followup patch wanted to add more conditions to this method, but it
      pushes over the cyclomatic complexity limits. This function was
      generally hard to read, so extracting a few helper functions and
      reducing the complexity seems useful.
      Change-Id: Id0cf5d1039c10990ba68a9770ce22903a13c6dca
    • jenkins-bot's avatar
    • Erik Bernhardson's avatar
      Clarify variables in SuperDetectNoopScript::update · 612fbf16
      Erik Bernhardson authored
      This update function is complex and hard to read. Part of that
      complexity is the uncertainty of naming. Is `sourceValue` from the
      source, or the updateSource?
      This is separated from the followup patch that refactors this method
      as these old names made even reviewing the following refactor
      difficult as it wasn't clear if the correct variables were being
      * prefix variables as either old or new, depending on their source. This
        mimics how ChangeHandler names these variables as we pass them down.
      * Pull newEntry.getKey() into a variable named simply `key`, as it is
        shared between new and old.
      * always suffix Object variables with Raw and remove the Raw suffix
        when casting to a more concrete type.
      Change-Id: Ia2b4bd3ad8af0b9af09a11802f020324e651183c
    • Erik Bernhardson's avatar
      super_detect_noop: update doc examples to be runnable · 5873a33b
      Erik Bernhardson authored
      These examples fell out of state with updates to elasticsearch.
      Specifically the shape of a script update request had changed and the
      curl requests now require the correct Content-Type. Update examples
      and ensure they all run correctly with the current plugin.
      Change-Id: I5ac3d87aa9374fba2ef697b329c5697171e0ac8a
  11. 22 May, 2020 1 commit
  12. 04 May, 2020 1 commit
  13. 01 May, 2020 8 commits
  14. 30 Apr, 2020 6 commits