Canonical: https://weaveos.com/features/code-output-measurement

[Home](https://weaveos.com/)/[Engineering Intelligence](https://weaveos.com/products/engineering-intelligence)/Measure code output beyond lines changed

Engineering measurement · Sources checked October 16, 2026

# Measure code output beyond lines changed

Weave measures pull-request output in estimated expert hours. Silk 1 reads the code changes and explains the estimate, so you can inspect the work behind a score. An expert hour measures estimated effort, not recorded time or hours saved.

[See output measurement](https://weaveos.com/demo)[Read the guide ↓](https://weaveos.com/features/code-output-measurement#article-what-does-an-expert-hour-mean)

On this page

- [What does an expert hour mean?](https://weaveos.com/features/code-output-measurement#article-what-does-an-expert-hour-mean)
- [Why do PR counts and lines changed need context?](https://weaveos.com/features/code-output-measurement#article-why-do-pr-counts-and-lines-changed-need-context)
- [How should you inspect a score?](https://weaveos.com/features/code-output-measurement#article-how-should-you-inspect-a-score)
- [How does output connect to AI spending?](https://weaveos.com/features/code-output-measurement#article-how-does-output-connect-to-ai-spending)
- [Can output scores be converted into payroll savings?](https://weaveos.com/features/code-output-measurement#article-can-output-scores-be-converted-into-payroll-savings)
- [Sources](https://weaveos.com/features/code-output-measurement#sources)

## What does an expert hour mean?

An expert hour is an estimate of how much work an expert engineer would need to complete a pull request. On Weave’s scale, a score of 3.0 means an estimated three hours of expert effort. The unit describes the change, not how long its author spent at a keyboard.

Silk 1 analyzes the diff and provides plain-language reasoning. Its assessment includes the intent of the change, complexity, risk, and dependencies across files. Read that reasoning when a short diff seems unusually difficult or a large change contains repetitive work.

An output score does not cover every part of engineering. Planning, mentoring, incident response, and work outside the connected repositories need additional context. Use the score as one measure of code output.

## Why do PR counts and lines changed need context?

A documentation correction, a generated-file update, and a difficult bug fix can each produce one merged PR. Lines changed add a volume measure, but a small change can alter behavior across a large system. Neither count describes the effort or importance of the work by itself.

Keep those measures visible for different questions:

Scroll horizontally if needed →

| Measure              | Useful question                             | Boundary                                          |
| -------------------- | ------------------------------------------- | ------------------------------------------------- |
| Merged PR count      | How many changes passed review?             | PR size and difficulty vary                       |
| Lines changed        | How much text changed?                      | More text does not establish more useful work     |
| Expert-hour output   | What effort does the code change represent? | A model estimate needs inspection and context     |
| Delivery and quality | Did changes ship reliably and hold up?      | Requires downstream evidence and observation time |

The [Engineering Intelligence product](https://weaveos.com/products/engineering-intelligence) brings output together with review flow and quality signals. This page explains the output unit; the product page describes the broader system.

## How should you inspect a score?

Start with a representative merged PR from a connected repository. Read the diff and the model’s explanation together. Check whether the reasoning reflects the change’s intent, its dependencies, and the work that required judgment.

If the estimate looks inconsistent, inspect the underlying change before treating it as an individual performance signal. [Silk 1](https://weaveos.com/products/code-intelligence) supports score overrides and organization-aware calibration. An override supplies feedback; it does not turn a model estimate into a time record.

For a team comparison, hold the repository scope, time period, and inclusion rules consistent. Record changes in staffing, project type, generated code, and ignored PRs. A comparison becomes hard to interpret when the connected work changes between periods.

## How does output connect to AI spending?

The [AI ROI methodology](https://weaveos.com/methodology/ai-roi) compares attributed AI spending with merged output for the same measured group and period. Cost per output hour = attributed AI spend ÷ estimated expert hours of output.

The public [Weave Index metric](https://weaveos.com/data/ai-cost-per-output-hour) uses a matched cohort with both attributed spend and merged output in the same month. Follow that metric’s exclusions and cohort definition when citing it. Dividing unrelated company-wide totals produces a different calculation.

Pair the cost ratio with reverts, code turnover, review activity, and delivery measures. A lower ratio can coincide with more rework. Output per dollar alone does not show that AI caused an improvement.

## Can output scores be converted into payroll savings?

An expert-hour score is not an hour saved, a billable hour, or a monetary return. Multiplying output by an hourly salary does not establish avoided cost. A financial ROI calculation needs a baseline, evidence of incremental benefit, and a stated valuation method.

Use a walkthrough to inspect a real PR, its reasoning, the connected repository coverage, and the quality evidence available for your team. That establishes whether the measurement supports the decision you need to make.

## Sources

- [Silk 1: scoring scale and reasoning](https://weaveos.com/products/code-intelligence)
- [Engineering Intelligence: output, quality, and reviews](https://weaveos.com/products/engineering-intelligence)
- [Weave AI ROI measurement methodology](https://weaveos.com/methodology/ai-roi)

## Review a representative PR

Inspect the diff and explanation alongside output, review, and quality context.

[See output measurement](https://weaveos.com/demo)

## Related pages

- [How AI code authorship is attributed ↗](https://weaveos.com/features/ai-code-authorship)
- [Silk 1 code analysis ↗](https://weaveos.com/products/code-intelligence)
- [AI ROI methodology ↗](https://weaveos.com/methodology/ai-roi)

On this page

- [What does an expert hour mean?](https://weaveos.com/features/code-output-measurement#article-what-does-an-expert-hour-mean)
- [Why do PR counts and lines changed need context?](https://weaveos.com/features/code-output-measurement#article-why-do-pr-counts-and-lines-changed-need-context)
- [How should you inspect a score?](https://weaveos.com/features/code-output-measurement#article-how-should-you-inspect-a-score)
- [How does output connect to AI spending?](https://weaveos.com/features/code-output-measurement#article-how-does-output-connect-to-ai-spending)
- [Can output scores be converted into payroll savings?](https://weaveos.com/features/code-output-measurement#article-can-output-scores-be-converted-into-payroll-savings)
- [Sources](https://weaveos.com/features/code-output-measurement#sources)
