# How Weave estimates code effort from pull requests

Canonical: https://weaveos.com/blog/how-weave-is-replacing-story-points-with-llms-and-ai

Published: 2025-06-17T00:00:00.000Z

Updated: 2026-11-14T00:00:00.000Z

By Brennan Lupyrypa

Story points estimate planned work using a team's own scale. Weave's Code Output analyzes completed code changes and estimates the hands-on effort an expert engineer would need to produce them. The two measures serve different stages of work: planning before implementation and inspecting what the code represents afterward.

Engineers can read the output reasoning and correct a mistaken estimate. That provides a common effort unit for comparing changes without assuming that one team's story-point scale matches another's.

## Why Traditional Story Points Fall Short

**The Problem with Story Points**

Story points were designed to help teams estimate effort and complexity. But they are subjective, often inconsistent across teams, and can be influenced by team dynamics or external pressure. This makes it hard to compare work across teams or track progress over time.

- Story points are not standardized, so a “5” for one team might be a “2” for another.

- Teams often inflate or deflate points to meet targets.

- Story points don’t capture the quality or impact of work, only perceived effort.

**Industry Frameworks and Metrics**

DORA, SPACE and DX Core 4 cover different aspects of engineering performance. They combine system measurements with developer-reported experience where appropriate; they do not all depend on manual estimates.

- **[DORA](https://dora.dev/guides/dora-metrics/)** measures software delivery through change lead time, deployment frequency, failed deployment recovery time, change fail rate and deployment rework rate. Its current five-metric model extends the original four.
- **[SPACE](https://www.microsoft.com/en-us/research/publication/the-space-of-developer-productivity-theres-more-to-it-than-you-think/)** covers satisfaction and well-being, performance, activity, communication and collaboration, and efficiency and flow.
- **[DX Core 4](https://getdx.com/blog/developer-productivity-metrics/)** organizes measurement around speed, effectiveness, quality and impact.

These frameworks help select a balanced set of measures. Weave adds a consistent estimate of the engineering work represented by individual code changes, so a team can inspect what its output total contains.

## How Weave Uses LLMs and AI for Engineering Analytics

**Objective Measurement with LLMs**

Weave analyzes connected pull requests (PRs) and code reviews using LLMs and proprietary machine learning models trained on expert-labeled data. Its [Code Output](https://docs.weaveos.com/metrics/code-output) metric estimates the hands-on effort an expert engineer would need to complete a change. Engineers can inspect the reasoning behind the estimate and correct it.

- Code Output considers the complexity and scope of a change; quality and review measures provide separate context.

- One output unit represents one estimated hour of expert engineering work, not the author’s recorded time.

- Weave classifies work into categories such as new features, bug fixes and maintenance, so teams can see how output is distributed.

**Key Features of Weave’s Analytics Platform**

- Tracks real output over time, not just activity.

- Summarizes data and insights in dashboards for easy review.

- Measures both output and quality, providing a balanced view of team performance.

- Estimates the expert effort represented by code reviews and tracks review turnaround separately.

- Measures the quality of code reviews by understanding the depth and practicality of the comments.

**Inspect the model's explanation**

Weave’s code-analysis model, [Silk](/products/code-intelligence), reasons about the change’s intent, risk and dependencies across files. The output estimate accounts for complexity and scope. Review-quality and turnover measures remain separate, so a high output score does not automatically mean the code was well reviewed or needed no repair.

Open a familiar PR and check whether the explanation recognized the important dependencies. Use an override when the estimate misses context, and inspect the corrected score before comparing totals.

## Comparing Weave’s Approach to Traditional Metrics

| Question | Story points | Weave Code Output |
| --- | --- | --- |
| When is the estimate made? | Usually during planning | From code changes |
| What is the unit? | A team-defined relative scale | Estimated expert-engineer hours |
| Can the estimate be checked? | Discuss the team's assumptions | Read the PR, model reasoning and any correction |
| How is quality assessed? | Usually through separate measures | Separate review-quality, bug and rework measures |

Keep story points if they help the team plan. Use Weave to inspect completed work, compare code effort and investigate the reviews and costs around it. Neither estimate is a timesheet or a direct measure of business value.

## Integrating Weave with Your Engineering Workflow

**Connect the repositories and project tools**

Weave connects with popular platforms like GitHub and Jira, making it easy to start tracking engineering analytics without changing your workflow.

**Step-by-Step: Getting Started with Weave**

1. Connect your code repository (e.g., GitHub).

2. Allow Weave to analyze PRs (usually takes 5 hours)

3. Open the dashboards for output, quality and the distribution of work across projects.

4. Use insights to adjust team processes and improve performance.

## Compare the estimate with familiar changes

Start with a feature, a bug fix and a refactor that the team knows well. Read the output reasoning, correct missing context and inspect review quality and turnaround separately. Keep planning estimates where they are useful; use the completed-code measure to understand what shipped.

In a recurring review, compare the same team and work categories. Investigate a change in output before drawing a conclusion about performance, especially when project scope or responsibilities changed.
