earned_value_calculator 0.1.5 → 0.1.6

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: b5bde01fb8a2b9dc2afaa369c725db0a85e3e07536b510ea11e4e3c61524a28f
4
- data.tar.gz: 53853132070a787b9829c908669105f5bd97bd47f8286b51a4297948b98d6dbe
3
+ metadata.gz: 282753d17fd72a70a964352e581332325544ff22b9a4411516fc94d7913503da
4
+ data.tar.gz: 42e798d3a173e165e6cbe7341b2fb97dcd6ddb3f2e183ed6a6a0bec9ffd7425b
5
5
  SHA512:
6
- metadata.gz: 6f5bd877580d40881db46e398a17094debade585cbd620e196a87fac9d914ae5d79e0274c0fce1b80c6fa61e1cd0dff79069f0636eeebd9149d7df6b302c5e61
7
- data.tar.gz: 506f8a31203006544de51bc1df6b6a77ece0cd59432ddcee453deb35825b3bf2b36decfe77d4e4337d3da42eb3851b2d5e64445c05c866e497f45dbaec992e0a
6
+ metadata.gz: 1759105bcea8fbc2e3c57bef9e5c7ca81b5f64351f74bb74effd4702a3c9432279c9debc2ae6a5f2d22a686c84c023c908476d1ab9fe97cda6691762bf51da54
7
+ data.tar.gz: f2bdc2e70024d610ab09c6db6e5b5e2db4e54fd4307a80b4db35ae9be2202160c437e1372cd5527fd9b903dbdcd3bf6e4b3f8aada5e06c21439fc764f0e37b31
data/CHANGELOG.md CHANGED
@@ -18,4 +18,8 @@
18
18
 
19
19
  ## [0.1.5] - 2022-04-23
20
20
 
21
- - Fix calculates schedule variance
21
+ - Fix calculates schedule variance
22
+
23
+ ## [0.1.6] - 2022-06-27
24
+
25
+ - Equipment some calculate the value
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # EarnedValueCalculator
1
+ # Earned Value Calculator
2
2
 
3
3
  ![Ruby](https://img.shields.io/badge/Ruby-CC342D?style=for-the-badge&logo=ruby&logoColor=white)
4
4
  [![Gem Version](https://badge.fury.io/rb/earned_value_calculator.svg)](https://badge.fury.io/rb/earned_value_calculator)
@@ -6,11 +6,13 @@
6
6
  [![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop-hq/rubocop)
7
7
  [![CircleCI](https://circleci.com/gh/routeflags/earned_value_calculator/tree/main.svg?style=svg)](https://circleci.com/gh/routeflags/earned_value_calculator/tree/main)
8
8
 
9
+ ![evm](https://user-images.githubusercontent.com/25024587/168343238-894f5ab6-daba-4a22-a8a3-665ad5abf062.png)
10
+
9
11
  Calculates the earned value of a project to indicate a diagnosis result.
10
12
 
11
13
  ## What is Earned value management ?
12
14
 
13
- Earned value management (EVM),is a project management technique for measuring project performance and progress in an objective manner from [Earned value management - Wikipedia](https://en.wikipedia.org/wiki/Earned_value_management).
15
+ Earned value management (EVM) is a project management technique for measuring project performance and progress in an objective manner by [Earned value management - Wikipedia](https://en.wikipedia.org/wiki/Earned_value_management).
14
16
 
15
17
  ## Installation
16
18
 
@@ -83,6 +85,20 @@ It is based on the formula:
83
85
 
84
86
  SPI = EV ÷ PV
85
87
 
88
+ #### estimate_at_completion (EAC)
89
+ It is based on the formula:
90
+
91
+ EAC = AC + (BAC - EV) ÷ CPI = AC + ETC
92
+
93
+ #### estimate_to_completion (ETC)
94
+ It is based on the formula:
95
+
96
+ ETC = (BAC - EV) ÷ CPI = EAC - AC
97
+
98
+ #### variance_at_completion (VAC)
99
+ It is based on the formula:
100
+
101
+ VAC = BAC - EAC
86
102
 
87
103
  ## Development
88
104
 
@@ -125,3 +141,4 @@ Everyone interacting in the EarnedValueCalculator project's codebases, issue tra
125
141
 
126
142
  * [Earned value management - Wikipedia](https://en.wikipedia.org/wiki/Earned_value_management)
127
143
  * [Online Equation Editor - standalone](https://www.codecogs.com/latex/eqneditor.php)
144
+ * [Ahmed Shabana (@ahmedmshabana) | Unsplash Photo Community](https://unsplash.com/photos/ADa9bb3tqR4)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EarnedValueCalculator
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
@@ -33,7 +33,16 @@ module EarnedValueCalculator
33
33
  :cost_performance_index,
34
34
  # It is based on the formula:
35
35
  # SPI = EV ÷ PV
36
- :schedule_performance_index
36
+ :schedule_performance_index,
37
+ # It is based on the formula:
38
+ # EAC = AC + (BAC - EV) ÷ CPI = AC + ETC
39
+ :estimate_at_completion,
40
+ # It is based on the formula:
41
+ # ETC = (BAC - EV) ÷ CPI = EAC - AC
42
+ :estimate_to_completion,
43
+ # It is based on the formula:
44
+ # VAC = BAC - EAC
45
+ :variance_at_completion
37
46
 
38
47
  # @param [Date] start_date The project start date.
39
48
  # @param [Date] end_date The project deadline.
@@ -63,6 +72,9 @@ module EarnedValueCalculator
63
72
  @actual_cost_variance = @earned_value - @actual_cost
64
73
  @cost_performance_index = @earned_value.to_f / @actual_cost
65
74
  @schedule_performance_index = @earned_value.to_f / @planned_value
75
+ @estimate_at_completion = @actual_cost + (@budget - @planned_value) / @cost_performance_index
76
+ @estimate_to_completion = @estimate_at_completion - @actual_cost
77
+ @variance_at_completion = @budget - @estimate_at_completion
66
78
  end
67
79
  end
68
80
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: earned_value_calculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - smapira
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-23 00:00:00.000000000 Z
11
+ date: 2022-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -150,7 +150,7 @@ metadata:
150
150
  homepage_uri: https://github.com/routeflags/earned_value_calculator
151
151
  source_code_uri: https://github.com/routeflags/earned_value_calculator
152
152
  changelog_uri: https://github.com/routeflags/earned_value_calculator/blob/main/CHANGELOG.md
153
- post_install_message:
153
+ post_install_message:
154
154
  rdoc_options: []
155
155
  require_paths:
156
156
  - lib
@@ -165,8 +165,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []
168
- rubygems_version: 3.3.3
169
- signing_key:
168
+ rubygems_version: 3.1.2
169
+ signing_key:
170
170
  specification_version: 4
171
171
  summary: Calculate the earned value of a project
172
172
  test_files: []