trueskill 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. data/lib/saulabs/gauss.rb +1 -0
  2. data/lib/saulabs/gauss/distribution.rb +1 -0
  3. data/lib/saulabs/gauss/truncated_correction.rb +2 -1
  4. data/lib/saulabs/trueskill.rb +1 -0
  5. data/lib/saulabs/trueskill/factor_graph.rb +1 -0
  6. data/lib/saulabs/trueskill/factors/base.rb +1 -0
  7. data/lib/saulabs/trueskill/factors/greater_than.rb +1 -0
  8. data/lib/saulabs/trueskill/factors/likelihood.rb +2 -1
  9. data/lib/saulabs/trueskill/factors/prior.rb +2 -1
  10. data/lib/saulabs/trueskill/factors/weighted_sum.rb +2 -1
  11. data/lib/saulabs/trueskill/factors/within.rb +1 -0
  12. data/lib/saulabs/trueskill/layers/base.rb +1 -0
  13. data/lib/saulabs/trueskill/layers/iterated_team_performances.rb +2 -1
  14. data/lib/saulabs/trueskill/layers/performances_to_team_performances.rb +1 -0
  15. data/lib/saulabs/trueskill/layers/prior_to_skills.rb +1 -0
  16. data/lib/saulabs/trueskill/layers/skills_to_performances.rb +1 -0
  17. data/lib/saulabs/trueskill/layers/team_difference_comparision.rb +2 -1
  18. data/lib/saulabs/trueskill/layers/team_performance_differences.rb +2 -1
  19. data/lib/saulabs/trueskill/rating.rb +2 -1
  20. data/lib/saulabs/trueskill/schedules/base.rb +2 -1
  21. data/lib/saulabs/trueskill/schedules/loop.rb +2 -1
  22. data/lib/saulabs/trueskill/schedules/sequence.rb +2 -1
  23. data/lib/saulabs/trueskill/schedules/step.rb +2 -1
  24. data/spec/saulabs/gauss/distribution_spec.rb +1 -0
  25. data/spec/saulabs/gauss/truncated_correction_spec.rb +1 -0
  26. data/spec/saulabs/trueskill/factor_graph_spec.rb +2 -1
  27. data/spec/saulabs/trueskill/factors/greater_than_spec.rb +1 -0
  28. data/spec/saulabs/trueskill/factors/likelihood_spec.rb +2 -1
  29. data/spec/saulabs/trueskill/factors/prior_spec.rb +2 -1
  30. data/spec/saulabs/trueskill/factors/weighted_sum_spec.rb +2 -1
  31. data/spec/saulabs/trueskill/factors/within_spec.rb +2 -1
  32. data/spec/saulabs/trueskill/layers/prior_to_skills_spec.rb +2 -1
  33. data/spec/saulabs/trueskill/schedules_spec.rb +2 -1
  34. data/spec/spec_helper.rb +1 -0
  35. metadata +8 -5
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  Dir.glob("#{File.dirname(__FILE__)}/gauss/**/*.rb").each do |src|
2
3
  require src
3
4
  end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module Gauss
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module Gauss
3
4
  class TruncatedCorrection
@@ -59,4 +60,4 @@ module Saulabs
59
60
  end
60
61
  end
61
62
  end
62
- end
63
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'pp'
2
3
 
3
4
  require "#{File.dirname(__FILE__)}/gauss.rb"
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -44,4 +45,4 @@ module Saulabs
44
45
 
45
46
  end
46
47
  end
47
- end
48
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -34,4 +35,4 @@ module Saulabs
34
35
 
35
36
  end
36
37
  end
37
- end
38
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -77,4 +78,4 @@ module Saulabs
77
78
 
78
79
  end
79
80
  end
80
- end
81
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -71,4 +72,4 @@ module Saulabs
71
72
 
72
73
  end
73
74
  end
74
- end
75
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -26,4 +27,4 @@ module Saulabs
26
27
 
27
28
  end
28
29
  end
29
- end
30
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -21,4 +22,4 @@ module Saulabs
21
22
 
22
23
  end
23
24
  end
24
- end
25
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
 
@@ -21,4 +22,4 @@ module Saulabs
21
22
  end
22
23
 
23
24
  end
24
- end
25
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -14,4 +15,4 @@ module Saulabs
14
15
 
15
16
  end
16
17
  end
17
- end
18
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -25,4 +26,4 @@ module Saulabs
25
26
 
26
27
  end
27
28
  end
28
- end
29
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -22,4 +23,4 @@ module Saulabs
22
23
 
23
24
  end
24
25
  end
25
- end
26
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module Saulabs
2
3
  module TrueSkill
3
4
  # @private
@@ -19,4 +20,4 @@ module Saulabs
19
20
 
20
21
  end
21
22
  end
22
- end
23
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../spec_helper'
2
3
 
3
4
  describe Gauss::Distribution, "#initialize" do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../spec_helper'
2
3
 
3
4
  describe Gauss::TruncatedCorrection do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../spec_helper'
2
3
 
3
4
  describe Saulabs::TrueSkill::FactorGraph do
@@ -54,4 +55,4 @@ describe Saulabs::TrueSkill::FactorGraph do
54
55
  puts "#{@skill.to_s}"
55
56
  end
56
57
 
57
- end
58
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../../spec_helper'
2
3
 
3
4
  describe TrueSkill::Factors::GreaterThan do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../../spec_helper'
2
3
 
3
4
  describe TrueSkill::Factors::Likelihood do
@@ -29,4 +30,4 @@ describe TrueSkill::Factors::Likelihood do
29
30
 
30
31
  end
31
32
 
32
- end
33
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../../spec_helper'
2
3
 
3
4
  describe TrueSkill::Factors::Prior do
@@ -23,4 +24,4 @@ describe TrueSkill::Factors::Prior do
23
24
 
24
25
  end
25
26
 
26
- end
27
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../../spec_helper'
2
3
 
3
4
  describe TrueSkill::Factors::Prior do
@@ -59,4 +60,4 @@ describe TrueSkill::Factors::Prior do
59
60
 
60
61
  end
61
62
 
62
- end
63
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../../spec_helper'
2
3
 
3
4
  describe TrueSkill::Factors::Within do
@@ -23,4 +24,4 @@ describe TrueSkill::Factors::Within do
23
24
 
24
25
  end
25
26
 
26
- end
27
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../../spec_helper'
2
3
 
3
4
  describe TrueSkill::Layers::PriorToSkills do
@@ -36,4 +37,4 @@ describe TrueSkill::Layers::PriorToSkills do
36
37
 
37
38
  end
38
39
 
39
- end
40
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.dirname(__FILE__) + '/../../spec_helper'
2
3
 
3
4
  describe "Schedules" do
@@ -11,4 +12,4 @@ describe "Schedules" do
11
12
  @step.visit
12
13
  end
13
14
 
14
- end
15
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'rubygems'
2
3
  require 'spec'
3
4
  require 'spec/autorun'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 1
9
- version: 0.9.1
8
+ - 2
9
+ version: 0.9.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Lars Kuhnt
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-21 00:00:00 +02:00
17
+ date: 2010-07-20 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -65,7 +65,8 @@ files:
65
65
  - spec/saulabs/trueskill/layers/prior_to_skills_spec.rb
66
66
  - spec/saulabs/trueskill/schedules_spec.rb
67
67
  - spec/spec_helper.rb
68
- has_rdoc: false
68
+ - spec/spec.opts
69
+ has_rdoc: true
69
70
  homepage: http://github.com/saulabs/trueskill
70
71
  licenses: []
71
72
 
@@ -75,6 +76,7 @@ rdoc_options: []
75
76
  require_paths:
76
77
  - lib
77
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
+ none: false
78
80
  requirements:
79
81
  - - ">="
80
82
  - !ruby/object:Gem::Version
@@ -82,6 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
82
84
  - 0
83
85
  version: "0"
84
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
+ none: false
85
88
  requirements:
86
89
  - - ">="
87
90
  - !ruby/object:Gem::Version
@@ -91,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
94
  requirements: []
92
95
 
93
96
  rubyforge_project:
94
- rubygems_version: 1.3.6
97
+ rubygems_version: 1.3.7
95
98
  signing_key:
96
99
  specification_version: 3
97
100
  summary: A ruby library for the trueskill rating system