uc3-dmp-id 0.1.29 → 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: 898c616289067a9107a371e4d7450bb0c573c6c42a0f1d92c328bd7a3897d2ce
4
- data.tar.gz: d4e8eab05067b151e13e22dc1820cd714bf94c2ee659c094894c4161671e2160
3
+ metadata.gz: 85a549f1ef60c797402d9eb0a165c5eb60617de1c1357a0e1e707547b97cb994
4
+ data.tar.gz: da68f8bfd1f439f7748c32410b20fbfc4889c50658fa3c133e8b055c0be5fbd6
5
5
  SHA512:
6
- metadata.gz: 378ddf3989c741fef2bfebe6229b9b1c0d1cec2d3d4fc8a1a93ecc1e4a323a2ce272d57818c8c20eb43d6c3f0956c8f316dedbd882c7a28234e3069e16750ace
7
- data.tar.gz: 4bafcc99e72fcf8844c176171705197380ab43409f4998c240dbff0225b528730d4e11ed5356b592876847d2e0ad5524f7af5d1dc39817fcb4a68f6d8f0cc799
6
+ metadata.gz: 527aa60acc2c5e74b8c986355d77d7cc77b023ae825c7b7355926f313619604adbb9138b5c5fed3621e32e6b5597bb5e08a8f966c550fa726fa422f838fb0484
7
+ data.tar.gz: a35a16f0d8586cf959510afa92f2aba4f220d54bc4b43bb0d51d5b2f41b0f782a0a135be153ea1a56a74dfb02de94b373ef4858a61fb5646e6ee41c5d099c98e
@@ -85,7 +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
+ @logger&.debug(message: "Found a match!", details: { dmp: dmp, analysis: response })
89
89
  scoring << response
90
90
  end
91
91
 
@@ -223,7 +223,7 @@ module Uc3DmpId
223
223
  "incoming_#{type}": cleansed,
224
224
  nlp_score: nlp_processor.similarity(dmp_val, cleansed)
225
225
  }
226
- @logger&.debug(message: 'Text::WhiteSimilarity score', details:)
226
+ # @logger&.debug(message: 'Text::WhiteSimilarity score', details:)
227
227
  return response if details[:nlp_score] < 0.5
228
228
 
229
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.29'
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.29
4
+ version: 0.1.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley