Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ State has to survive between runs of a stateless Action. Artifacts expire and ar
stars-badge.svg stargazers.json
charts/
star-history.svg comparison.svg forecast.svg <owner>-<repo>.svg
forecast-<owner>-<repo>.svg
```

`read-only: true` runs everything (fetch, compare, render, all outputs, email) but skips `commitAndPush`, so a second workflow such as a weekly digest using `compare-against` can share a data branch without appending snapshots or racing the writer. There are **two guards, both inside `@infrastructure`**: `initializeDataBranch` refuses to bring an absent Data Branch into existence, and `publish` writes every artefact into the worktree and then returns before `commitAndPush`. `tracker.ts` passes `readOnly` into `withDataBranch` and never branches on it itself.
Expand Down
2 changes: 1 addition & 1 deletion CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ The human-readable rendering of a Run: which repositories moved, by how much, pl
_Avoid_: summary, output, changelog, newsletter

**Chart**:
A rendered visualisation of history: the Tracked Set's total over time, individual Top Repositories, several of them side by side, or observed history continued into a Forecast.
A rendered visualisation of history, of one of five kinds: the Tracked Set's total over time, one Top Repository over time, several of them side by side, the Tracked Set's observed history continued into a Forecast, or one Top Repository's.
_Avoid_: graph, plot, figure, visualization

**Badge**:
Expand Down
134 changes: 104 additions & 30 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/index.js.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ History plus the projected growth for the next weeks.

![Growth Forecast](forecast.svg)

### Per-Repo Growth Forecast

The same three series for a single top repository, fitted to that repo's own history rather than to the tracked set's total. The two methods separate here because growth accelerated recently: the weighted moving average follows the recent weeks, the linear regression averages the whole span. Drawn only for a repo with at least 3 reconstructed points of its own; below that the action publishes the figures as a table and no chart.

![Per-Repo Growth Forecast](per-repo-forecast.svg)

### Badge

![Stars](stars-badge.svg)
Expand Down
Loading
Loading