# Code review

`kaal:entity:code-review`

**Status.** derived

This node is assembled mechanically from the 25 claims that carry the concept tag `code-review`. It is a roster of what the corpus says under this term. It is **not** an adjudicated definition: no single statement here has been ruled canonical, and no first-appearance call has been made. Read the claims and judge for yourself.

## Every claim under this term

25 claims across 3 works, 2021 to 2024.

**2021**

- [3995709-001](https://wulfkaal.github.io/claims/3995709-001) [empirical/evidenced] -- Modern code review imposes substantial hidden costs because developers spend an average of six hours per week reviewing others' changes and are forced to switch away from their own work, creating an opportunity cost on project development.
  > Developers spend a significant amount of time reviewing the changes of others – an average of 6 hours per week.11 Not only is this a significant amount of time, it also requires an opportunity cost on project development as developers are forced to switch away from their current work.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709
- [3995709-002](https://wulfkaal.github.io/claims/3995709-002) [mechanism/evidenced] -- The benefit of a code review is negatively correlated with the size of the code under review: the larger the number of files in a single review, the lower the rate of beneficial feedback from reviewers.
  > Therefore, the benefit of attaining a code review is negatively correlated with the size of the code under review. In particular, the larger the amount of files in a single review, the lower the rate of beneficial feedback from the reviewers.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709
- [3995709-005](https://wulfkaal.github.io/claims/3995709-005) [failure/argued] *(failure mode)* -- Proposed remedies for patch size, namely distributing the workload across a broader set of reviewers and providing better transparency on developer review queues, have not solved the problem; patch size remains an issue affecting the quality, speed, and effectiveness of modern code review.
  > However, despite the proposed solutions, many commentators recognize that patch size remains to be an issue for modern code review affecting the quality, speed, and effectiveness of the process.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709
- [3995709-006](https://wulfkaal.github.io/claims/3995709-006) [mechanism/evidenced] -- Confusion during code review lengthens reviews through a message escalation mechanism: more confusion produces more messages exchanged during discussion, so the review takes longer than it should.
  > that more confusion leads to an increase in the number of messages exchanged during the discussion, therefore reviews take longer.34 If there is confusion between the reviewer and the code, the code review will take longer than it should.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709
- [3995709-011](https://wulfkaal.github.io/claims/3995709-011) [empirical/evidenced] -- Organizational identity and structure affect the time and effectiveness of the code review process, as shown by a statistically significant difference in how quickly Apple accepts its own patches versus Google patches.
  > treats their own patches differently from external patches."48 Therefore, organizational identity and structure may have impacts on the time and effectiveness of the code review process.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709
- [3995709-017](https://wulfkaal.github.io/claims/3995709-017) [normative/asserted] -- A code review should focus on the functionality of the code and on keeping mistaken, badly constructed, and dangerous code out, rather than on the reviewer imposing their own stylistic logic.
  > Instead, a code review should focus on functionality of the code and on keeping mistaken, badly constructed, and dangerous code out.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709
- [3995709-029](https://wulfkaal.github.io/claims/3995709-029) [design/asserted] -- The CRDAO governance model enables a community policing and audit methodology for code reviews, and those governance and policing functions ensure less duplication of code reviews.
  > The CRDAO also uses a community policing and audit methodology for code reviews. This is enabled by the CRDAO governance model. Moreover, the CRDAO governance and policing functions ensure less duplication of code reviews.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709
- [3995709-031](https://wulfkaal.github.io/claims/3995709-031) [mechanism/argued] -- By creating a compendium of reviews, the CRDAO generates common code review standards that legacy code review environments lack, and reviewing under a shared set of standards aligns reviewers and the collective on expectations for functionality and quality outcomes.
  > The CRDAO also fills the void left in legacy reviews without common standards. The CRDAO creates a compendium of reviews and through it a common standards for code reviews that are otherwise lacking in legacy code review environments.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709
- [3995709-037](https://wulfkaal.github.io/claims/3995709-037) [design/asserted] -- In future iterations the CRDAO will offer the customer a form of insurance where the code review does not correspond with the contractual obligations of the parties.
  > In future iterations, the CRDAO offers the customer a form of insurance if the code review does not correspond with the contractual obligations of the parties.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709
- [3995709-039](https://wulfkaal.github.io/claims/3995709-039) [mechanism/asserted] -- CRDAO community engagement is the mechanism that minimizes issues of lacking crowd controls, lowers the time requirements and prices of code reviews, increases developer participation, and increases overall feedback.
  > The code review process of the CRDAO revolves around CRDAO community engagement which minimizes issues of lack of crowd controls, lowers time requirements for code reviews, lowers prices of code reviews, increases developer participation, and increases overall feedback.
  Wulf A. Kaal, How DAOs Optimize Open-Source Code Reviews and Create Open-Source Standards (2021). SSRN: https://ssrn.com/abstract=3995709

**2024**

- [4734750-001](https://wulfkaal.github.io/claims/4734750-001) [empirical/evidenced] -- Modern code review is expensive not only in direct reviewer time but in opportunity cost, because developers spend an average of six hours per week reviewing other people's changes and must switch away from their own work to do so.
  > Developers spend a significant amount of time reviewing the changes of others
  Wulf A. Kaal, Code Review DAO (2024). SSRN: https://ssrn.com/abstract=4734750
- [4734750-007](https://wulfkaal.github.io/claims/4734750-007) [mechanism/argued] *(failure mode)* -- The more hierarchical the code review process, the lower the quality of the reviewed code; hierarchy in review is inversely related to output quality.
  > The more hierarchical the code review process is, the lower is the quality of the reviewed code.
  Wulf A. Kaal, Code Review DAO (2024). SSRN: https://ssrn.com/abstract=4734750
- [4734750-008](https://wulfkaal.github.io/claims/4734750-008) [failure/argued] *(failure mode)* -- In hierarchical review, the first reviewer's output receives the highest priority and later reviewers add only minor upgrades, so the review becomes the initial reviewer's work product rather than the collective's.
  > The collective of reviewers is also not incentivized to find flaws in the code to optimize code as a work product of the collective. Rather, it is often seen as the work product of the initial reviewer with minor input from follow-up reviewers.
  Wulf A. Kaal, Code Review DAO (2024). SSRN: https://ssrn.com/abstract=4734750
- [4734750-012](https://wulfkaal.github.io/claims/4734750-012) [design/asserted] -- A code review should focus on the functionality of the code and on keeping mistaken, badly constructed, and dangerous code out, rather than on conforming code to a reviewer's stylistic logic.
  > Instead, a code review should focus on the functionality of the code and on keeping mistaken, badly constructed, and dangerous code out.
  Wulf A. Kaal, Code Review DAO (2024). SSRN: https://ssrn.com/abstract=4734750
- [4734750-027](https://wulfkaal.github.io/claims/4734750-027) [design/argued] -- Aggregating reviews into a public compendium generates a common standard for code reviews that legacy review environments lack, and a shared standard aligns reviewer and collective expectations about functionality and quality outcomes.
  > The CRDAO creates a compendium of reviews and through it a common standard for code reviews that are otherwise lacking in legacy code review environments.
  Wulf A. Kaal, Code Review DAO (2024). SSRN: https://ssrn.com/abstract=4734750
- [4755632-017](https://wulfkaal.github.io/claims/4755632-017) [mechanism/argued] *(failure mode)* -- The more hierarchical the code review process, the lower the quality of the reviewed code, and the same holds for barriers to entry: hierarchy and entry barriers together degrade code quality.
  > The more hierarchical the code review process is, the lower is the quality of the reviewed code.
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632
- [4755632-018](https://wulfkaal.github.io/claims/4755632-018) [failure/argued] *(failure mode)* -- Hierarchical review produces an anchoring failure: the first reviewer in the hierarchy gets the highest priority and follow-on reviewers merely add minor upgrades, so adding reviewers does not add the independent scrutiny that would raise code quality.
  > in the legacy review process, the first reviewer within the hierarchical structure of the code review process often gets the highest priority and is often merely followed with minor upgrades by follow-on reviewers.
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632
- [4755632-019](https://wulfkaal.github.io/claims/4755632-019) [failure/argued] *(failure mode)* -- The collective of reviewers in legacy code review is not incentivized to find flaws in the code, because the review is treated as the work product of the initial reviewer with minor input from follow-up reviewers rather than as a product of the collective.
  > The collective of reviewers is also not incentivized to find flaws in the code to optimize code as a work product of the collective.
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632
- [4755632-020](https://wulfkaal.github.io/claims/4755632-020) [failure/argued] *(failure mode)* -- More reviewers asking clarifying questions makes code simpler and clearer, which typically increases code quality, but hierarchical review processes foreclose this mechanism and also exclude opinions from the edges of the reviewer spectrum.
  > the more people review the code with comments that ask for clarification, the more likely it becomes that the code becomes simpler and clearer, which in turn typically increases code quality. However, that is not possible in hierarchical review processes.
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632
- [4755632-021](https://wulfkaal.github.io/claims/4755632-021) [failure/argued] *(failure mode)* -- Legacy code review carries a single point of failure risk: if the single author of a review misses something and the follow-on reviewer focuses entirely on the first reviewer's concerns, the review has a higher risk of inaccuracy, and crowd wisdom is the corrective for that myopia.
  > If the single author of a code review has missed something and the follow-on reviewer focused entirely on the first reviewer's concerns, the code review has a higher risk of lack of accuracy. Crowd wisdom is one way to correct possible myopia
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632
- [4755632-022](https://wulfkaal.github.io/claims/4755632-022) [normative/argued] *(failure mode)* -- Without crowd control the reviewer's views and the code author's intent are at odds, so a reviewer imposing their own logic can force repeated rewrites of code whose core functionality is already sound; a code review should instead focus on functionality and on keeping mistaken, badly constructed, and dangerous code out.
  > Instead, a code review should focus on the functionality of the code and on keeping mistaken, badly constructed, and dangerous code out.
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632
- [4755632-023](https://wulfkaal.github.io/claims/4755632-023) [failure/argued] *(failure mode)* -- Code reviews in legacy systems can last weeks and months, and these delays can force complete rewriting of contracts because the underlying protocol may have upgraded core libraries during the review period.
  > These significant delays can impact development and may require complete rewriting of contracts because the underlying protocol may have upgraded core libraries during the code review.
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632
- [4755632-025](https://wulfkaal.github.io/claims/4755632-025) [failure/argued] *(failure mode)* -- Concentrated market power in code review undermines internal and external quality controls, leaving the public with no or very weak control over the quality of code review services, and it eliminates downward price pressure because job posters cannot afford to shop for better-priced reviews.
  > The centralized power also undermines attempts by other industry players to create internal or external controls on the quality of code reviews. As a result, the public has no or very weak control over the quality of code review services it receives.
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632
- [4755632-026](https://wulfkaal.github.io/claims/4755632-026) [failure/argued] *(failure mode)* -- Because a limited number of players control the code review market and its outputs, the quality of code review is often suboptimal, and clients have little or no recourse when code proves flawed even after functionality and quality review.
  > Moreover, there is little or no recourse for clients in cases in which the code proved to be flawed even after functionality and quality review.
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632
- [4755632-027](https://wulfkaal.github.io/claims/4755632-027) [failure/argued] *(failure mode)* -- The code review market is self-undermining: one of the strongest forms of exploitation and centralized economies of scale is being created in a market whose purpose is to support the decentralization of other industries.
  > it is a bit ironic that one of the strongest forms of exploitation and centralized economies of scale are being created in a market that is, from the outset, supposed to help support the decentralization of disparate industries.
  Wulf A. Kaal, AI Learning - Decentralized Governance to Optimize Human Output Datasets for AI Learning (2024). SSRN: https://ssrn.com/abstract=4755632

## Verify

Every claim above resolves to a record carrying a verbatim source quote, the sha256 of the source PDF, and a preformatted citation. Nothing here asks to be taken on trust.

    curl -s https://wulfkaal.github.io/entities/code-review.md | sha256sum

**Canonical form.** This markdown file is the canonical hashed representation of this entity node. Its sha256 is the content hash.
