You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This model synthesizes empirical research from software engineering economics, cognitive psychology, and organizational behavior to estimate the comprehensive cost of pull request workflows. Individual PR estimates exhibit variance due to developer heterogeneity and project characteristics; statistical validity improves with aggregate analysis across larger samples (n ≥ 25).
172
172
173
+
**Default Salary**: The model uses $249,000 as the default annual salary, based on the 2025 average for Staff Software Engineers per [Glassdoor](https://www.glassdoor.com/Salaries/staff-software-engineer-salary-SRCH_KO0,23.htm). This can be customized via the `--salary` flag or API configuration.
174
+
173
175
### 1. Development Effort
174
176
175
177
**Method**: COCOMO II (COnstructive COst MOdel) effort estimation [1]
@@ -273,15 +275,11 @@ Where:
273
275
274
276
**Scientific Justification**:
275
277
276
-
**Cognitive Load**: Each unmerged PR consumes working memory capacity. Cognitive Load Theory shows that human working memory is limited to 7±2 items [7]. Developers must mentally track:
277
-
1. The PR's current state and review status
278
-
2. Potential merge conflicts with ongoing work
279
-
3. Dependencies on or from the unmerged code
280
-
4. Communication overhead coordinating with reviewers
278
+
**Working Memory Burden**: Each unmerged PR consumes limited working memory capacity. Developers must mentally track the PR's current state, potential merge conflicts, dependencies, and communication with reviewers. Cognitive Load Theory shows human working memory is limited to 7±2 items [7], making this tracking overhead measurable.
281
279
282
280
**Context Retention Costs**: Weinberg's research on programmer productivity shows 20-25% productivity loss from maintaining multiple mental contexts [8]. The 5% coordination factor captures the cost of "keeping tabs" on pending work rather than the cost of full context switches (which are accounted separately).
283
281
284
-
**Team Communication Overhead**: Brooks' Law demonstrates that communication overhead grows with project complexity [9]. Unmerged PRs increase coordination burden as team members must track dependencies and potential conflicts.
282
+
**Team Communication Overhead**: Brooks' Law demonstrates that communication overhead grows with project complexity [9]. Unmerged PRs increase coordination burden as team members must track dependencies and potential conflicts across the team.
285
283
286
284
**References**:
287
285
[7] Sweller, J., van Merriënboer, J. J., & Paas, F. (1998). Cognitive Architecture and Instructional Design. *Educational Psychology Review*, 10(3), 251-296. DOI: 10.1023/A:1022193728205
0 commit comments