uc3-dmp-id 0.1.28 → 0.1.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f984b52821821510b5be7f91887b366b67f2dfd9e85f29bfaa2a988b34dff2f3
4
- data.tar.gz: 5e6d1ced0429757d65c61b5007e325e6ebe9ad8cd94b5fe67d4366289ed12c11
3
+ metadata.gz: 85a549f1ef60c797402d9eb0a165c5eb60617de1c1357a0e1e707547b97cb994
4
+ data.tar.gz: da68f8bfd1f439f7748c32410b20fbfc4889c50658fa3c133e8b055c0be5fbd6
5
5
  SHA512:
6
- metadata.gz: d23256d8ef17d0644351ddb1087ce918f6e6868fbcb0a81e13e8322d9fe39451854f19924040cb9f43fcc2163d7dc1efad53d538b0fdbbf871f1a728e625043b
7
- data.tar.gz: c054f89e7c9347a61e5ea6a8d7246c6739410995a10f4d433fd0837c0d64097b9b70e51710d275fb4f0c0ef051e9cb60e579c40ee258bfdd45235c3889e5410e
6
+ metadata.gz: 527aa60acc2c5e74b8c986355d77d7cc77b023ae825c7b7355926f313619604adbb9138b5c5fed3621e32e6b5597bb5e08a8f966c550fa726fa422f838fb0484
7
+ data.tar.gz: a35a16f0d8586cf959510afa92f2aba4f220d54bc4b43bb0d51d5b2f41b0f782a0a135be153ea1a56a74dfb02de94b373ef4858a61fb5646e6ee41c5d099c98e
@@ -85,6 +85,7 @@ module Uc3DmpId
85
85
  else
86
86
  (response[:score] > 5 ? 'Medium' : 'Low')
87
87
  end
88
+ @logger&.debug(message: "Found a match!", details: { dmp: dmp, analysis: response })
88
89
  scoring << response
89
90
  end
90
91
 
@@ -222,7 +223,7 @@ module Uc3DmpId
222
223
  "incoming_#{type}": cleansed,
223
224
  nlp_score: nlp_processor.similarity(dmp_val, cleansed)
224
225
  }
225
- @logger&.debug(message: 'Text::WhiteSimilarity score', details:)
226
+ # @logger&.debug(message: 'Text::WhiteSimilarity score', details:)
226
227
  return response if details[:nlp_score] < 0.5
227
228
 
228
229
  response[:score] += details[:nlp_score] >= 0.75 ? 5 : 2
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.1.28'
4
+ VERSION = '0.1.30'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.28
4
+ version: 0.1.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley