rearrange_bayesian_symbolic 0.1.0 → 0.1.1

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: dca064c91267c4fa67f6e1da21aea2ba342caa03ee6171bde03346326df813f7
4
- data.tar.gz: 72021c019e107839f86844345197161b1fcab79b1674b351253e4cdbfda91aa0
3
+ metadata.gz: 5f2e9528b3b826c7a797db8c1fdfef33ffa4591b556cb2550a45acee40156222
4
+ data.tar.gz: 8edabb1f580dfc6b99b42ff00fdfa2697f23420f075c6b878444e01c53598a6d
5
5
  SHA512:
6
- metadata.gz: 56bb0cb2405aca32777cd11c19d4675bcc9a2f490c6efb5722f9f8da954431e91a89d9a23c3e90c031a0f1cf5a06643ad1aa3ee27f20b4567e05739b19f69603
7
- data.tar.gz: 97b3449c213f5c9f1b6fc0195a7623a20bd380e4174ba99f781f4793e9685d36f01fbd145d23828b2904bfceb281af066f4eb211a0ca5cd441e3c4d1477d9286
6
+ metadata.gz: 0edc334c2cd0ddb1eedeafa38a6d628d3fe45b8bee201f811899f914f7e5b39d2940ec6da5933e39f4058c16c42245be7dda7b8bcb631ca9fa4e2fe2c0ebb09e
7
+ data.tar.gz: 2ff652fde8090c4475aae337d9d17f2995ce763b52b44947b5c4a15ffae09a9c5fbf8af49e0e0c38f4ab83fad6a2269f4d7825fff36f29efbe0dcec960fb2ea5
@@ -45,19 +45,31 @@ module RearrangeBayesianSymbolic
45
45
  if decision == "customer"
46
46
  puts "This is a likely customer relationship: #{create_relationship}"
47
47
 
48
+ old_data = File.read("output/result.txt")
49
+
48
50
  open("output/result.txt", "w") { |f|
51
+ f.puts old_data
52
+
49
53
  f.puts "This is a likely customer relationship: #{create_relationship}"
50
54
  }
51
55
  elsif decision == "notcustomer"
52
56
  puts "This is not a likely customer relationship: #{create_relationship}"
57
+
58
+ old_data = File.read("output/result.txt")
53
59
 
54
60
  open("output/result.txt", "w") { |f|
61
+ f.puts old_data
62
+
55
63
  f.puts "This is not a likely customer relationship: #{create_relationship}"
56
64
  }
57
65
  else
58
66
  puts "Could not reliably determine relationship likelihood: #{create_relationship}"
59
67
 
60
68
  open("output/result.txt", "w") { |f|
69
+ f.puts old_data
70
+
71
+ old_data = File.read("output/result.txt")
72
+
61
73
  f.puts "Could not reliably determine relationship likelihood: #{create_relationship}"
62
74
  }
63
75
  end
@@ -1,3 +1,3 @@
1
1
  module RearrangeBayesianSymbolic
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rearrange_bayesian_symbolic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gitea