Public record
Software health reportschema 0.27.0 · metrics 1.13.0 · 2026-07-30 23:17 UTC

sourcegraph / go-diff

Unified diff parser and printer for Go

GoCustom license★ 454 stars⑂ 52 forkssince Aug 2014View on GitHub ↗

sourcegraph/go-diff holds a health index of 61 out of 100, placing it in the Moderate band. It scores highest on Sustainability & Governance (80/100) and lowest on Security (50/100). It was last updated 4 days ago. 3 contributors account for most of its recent work.

61
overall / 100
Moderate

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At risk ceiling of 49. AI Readiness sits outside the overall score.

61
Excellent85-100Exemplary; meets essentially all checked criteria
Good70-84Healthy; minor gaps
Moderate50-69Acceptable with notable gaps; review recommended
At risk30-49Significant weaknesses; adoption warrants caution
Critical1-29Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

Ownership

SourcegraphOrganization
1,813 followers601 public repossince Mar 2013

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
Gogithub.com/sourcegraph/go-diffv0.8.0-8119 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

54Moderate · 22% of overall
How it's scored
36/36Push recency — last push 4 days ago
1.4/36Commit cadence — 2/52 weeks with commits
9/18Commit volume — 9 commits in the last year
0/10OpenSSF Scorecard: Maintained — 1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Inputs used
commits_last_year9
human_commit_share1
days_since_last_push4
active_weeks_last_year2
How it's scored
27/27Ships releases — 5 releases published
27/36Release recency — latest release 97 days ago
5.4/27Release cadence — a release every ~688.2 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count5
latest_release_tagv0.8.0
releases_from_tagsno
days_since_latest_release97
mean_days_between_releases688.2
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

57Moderate · 18% of overall
How it's scored
43.1/60Stars — 454 stars
14.2/25Forks — 52 forks
10.4/15Watchers — 76 watchers
Inputs used
forks52
stars454
watchers76
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
16.9/22.5License — license file present, not a recognized license
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
has_contributingno
has_issue_templateno
has_code_of_conductno
has_pull_request_templateno

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

80Good · 24% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
15.3/22.5Commit distribution — top contributor authored 32% of commits
13.5/13.5Contributor breadth — 24 contributors
10/10OpenSSF Scorecard: Contributors — project has 20 contributing companies or organizations
Inputs used
bus_factor3
contributors_sampled24
top_contributor_share0.321
How it's scored
38.2/46.8Issue resolution — 82% of issues closed
25.7/38.3PR acceptance — 43/64 decided PRs merged
9/15OpenSSF Scorecard: Code-Review — Found 13/20 approved changesets -- score normalized to 6
Inputs used
merged_prs43
open_issues4
closed_issues18
issue_closed_ratio0.818
closed_unmerged_prs21
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
23.4/25Owner reach — 1,813 followers of sourcegraph
25/25Track record — 601 public repos, account ~13 yr old
Inputs used
followers1,813
owner_typeOrganization
is_verified
owner_loginsourcegraph
public_repos601
account_age_days4,874
How it's scored
25/25Published & resolvable — 1 package(s) on go
35/35Publish recency — latest publish 119 days ago
20/20Version history — 8 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesgithub.com/sourcegraph/go-diff
ecosystemsgo
any_deprecatedno
min_days_since_publish119

Engineering Quality

Are baseline engineering and documentation practices in place?

56Moderate · 20% of overall
How it's scored
24/24CI workflows — 1 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
2/20OpenSSF Scorecard: CI-Tests — 2 out of 14 merged PRs checked by a CI test -- score normalized to 1
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configno
has_precommit_configno

Documentation

65Moderate
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://sourcegraph.com/github.com/sourcegraph/go-diff
10/10Repository description
0/10Topics
10/10Wiki
Inputs used
topics
has_wikiyes
homepagehttps://sourcegraph.com/github.com/sourcegraph/go-diff
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

50Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
0.2/2.5CI-Tests — 2 out of 14 merged PRs checked by a CI test -- score normalized to 1
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
4.5/7.5Code-Review — Found 13/20 approved changesets -- score normalized to 6
2.5/2.5Contributors — project has 20 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.2/2.5License — license file detected
0/7.5Maintained — 1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packaging — no data
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate3.7
Excluded from scoring (no data or not applicable): packaging, signed_releases. Remaining weights renormalized.
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
sourceosv
advisories0
affected_packages0
assessed_packages1
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 1 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score.

54Moderate · 0% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
27.2/40Legible commit history — 51 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
legible_history_share0.51
agent_instruction_files
agent_instruction_max_bytes
How it's scored
12.6/18One-command bootstrap — go.mod (toolchain convention, no task runner)
22/22Automated tests
0/11Lint / format config
11/11Static type checking — Go (statically typed)
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilesgo.sum
has_dockerfileno
typed_languageyes
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0
toolchain_manifestsgo.mod
dependency_bot_commit_share0
How it's scored
45/45Type-checkable code — Go (statically typed)
55/55Manageable file sizes — 0/12 source files over 60KB
Inputs used
primary_languageGo
largest_source_bytes33,369
source_files_sampled12
oversized_source_files0

Key facts

454GitHub stars
24contributors
9commits, last 12 months
4days since last push
5releases
3bus factor
4open issues
Gopackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 52 ⇿
0Stars
52Forks
5Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

010203040505032014-092020-082026-07
Major 0Minor 3Patch 2

Each point covers 11 days.

OpenSSF Scorecard 3.7 / 10
3.7aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-07-30 23:17 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
1CI-Tests2 out of 14 merged PRs checked by a CI test -- score normalized to 1
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
6Code-ReviewFound 13/20 approved changesets -- score normalized to 6
10Contributorsproject has 20 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
9Licenselicense file detected
0Maintained1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 1
RegistryPackageVersion constraintManifest
Gogithub.com/google/go-cmpv0.5.2go.mod
All dependencies 1

Full resolved dependency set from the GitHub dependency graph: 1 direct and 0 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
Gogithub.com/google/go-cmpv0.5.2direct
Dependency advisories 0

This repository publishes no package the index resolves, so its own dependency graph was assessed — 1 packages, which also include development and test pins that never ship: 0 carry known advisories, of which 0 are direct.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable
{
  "data": {
    "repo": {
      "topics": [],
      "is_fork": false,
      "size_kb": 252,
      "has_wiki": true,
      "homepage": "https://sourcegraph.com/github.com/sourcegraph/go-diff",
      "languages": {
        "Go": 97391
      },
      "pushed_at": "2026-07-26T15:22:18Z",
      "created_at": "2014-08-31T01:51:51Z",
      "owner_type": "Organization",
      "updated_at": "2026-07-26T15:22:23Z",
      "description": "Unified diff parser and printer for Go",
      "is_archived": false,
      "is_disabled": false,
      "license_spdx": null,
      "default_branch": "master",
      "license_spdx_raw": "NOASSERTION",
      "primary_language": "Go",
      "significant_languages": [
        "Go"
      ]
    },
    "owner": {
      "blog": "https://sourcegraph.com",
      "name": "Sourcegraph",
      "type": "Organization",
      "login": "sourcegraph",
      "company": null,
      "location": null,
      "followers": 1813,
      "avatar_url": "https://avatars.githubusercontent.com/u/3979584?v=4",
      "created_at": "2013-03-26T22:29:42Z",
      "is_verified": null,
      "public_repos": 601,
      "account_age_days": 4874
    },
    "license": {
      "state": "custom",
      "spdx_id": null,
      "raw_spdx": "NOASSERTION",
      "file_present": true,
      "scorecard_found": true,
      "profile_has_license": true
    },
    "activity": {
      "releases": [
        {
          "tag": "v0.8.0",
          "kind": "minor",
          "published_at": "2026-04-24T08:08:27Z"
        },
        {
          "tag": "v0.6.0",
          "kind": "minor",
          "published_at": "2020-09-04T19:49:13Z"
        },
        {
          "tag": "v0.5.3",
          "kind": "patch",
          "published_at": "2020-05-27T11:52:17Z"
        },
        {
          "tag": "v0.5.2",
          "kind": "patch",
          "published_at": "2020-05-12T14:53:04Z"
        },
        {
          "tag": "v0.5.0",
          "kind": "minor",
          "published_at": "2018-10-10T11:31:54Z"
        }
      ],
      "recent_commits": [
        {
          "oid": "c69bfd59d481bd193dc91d8fc281c4b679e25146",
          "body": "parseDiffGitArgs compares the two filenames against the 'a/' and 'b/'\nprefixes via first[:2] and second[:2] without a length guard, while the\nsibling check just above guards len(first) >= 3. A 'diff --git' line\nwhose unquoted, space-containing args are shorter than two bytes (e.g.\n'x  ') therefore p\n[…]\nrmed input.\n\nGuard the prefix comparison with len(first) >= 2 (first and second have\nequal length on this branch), returning the existing (\"\", \"\", true)\nresult for such unextractable-but-valid syntax.",
          "is_bot": false,
          "headline": "Fix panic on short \"diff --git\" args (#90)",
          "author_name": "Sam Agarwal",
          "author_login": "samarth70",
          "committed_at": "2026-07-26T15:22:18Z",
          "body_truncated": true,
          "is_coding_agent": false
        },
        {
          "oid": "654d317882206be6ae57c7f51b0efa165cfb3302",
          "body": "Previous commit adding reverse diff resulted in test failures due to\nusing newer stdlib features.",
          "is_bot": false,
          "headline": "bump minimum go 1.14 -> 1.20",
          "author_name": "Keegan Carruthers-Smith",
          "author_login": "keegancsmith",
          "committed_at": "2026-04-02T21:54:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a839d2cfc9336ccc9a218cc01354f986f26ee536",
          "body": null,
          "is_bot": false,
          "headline": "Add new functionaltiy for reversing diffs. (#72)",
          "author_name": "Greg Falcon",
          "author_login": "vslashg",
          "committed_at": "2026-04-02T13:26:17Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3751ac723d36285706f64f323e97befb3d4ba4da",
          "body": null,
          "is_bot": false,
          "headline": "add go test github workflow (#79)",
          "author_name": "Keegan Carruthers-Smith",
          "author_login": "keegancsmith",
          "committed_at": "2026-04-02T13:15:09Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "205a5dd3f40713446c2385e1628615926b70bb90",
          "body": null,
          "is_bot": false,
          "headline": "remove outdated scip workflow",
          "author_name": "Keegan Carruthers-Smith",
          "author_login": "keegancsmith",
          "committed_at": "2026-04-02T13:10:49Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c9dad3b062d1894015a1fdd0022deeb39e64ef87",
          "body": null,
          "is_bot": false,
          "headline": "diff: simplify readLine branching",
          "author_name": "Keegan Carruthers-Smith",
          "author_login": "keegancsmith",
          "committed_at": "2026-04-02T13:05:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "922f9d3e791fb56ab69614d01d3791ab8a1d26f5",
          "body": null,
          "is_bot": false,
          "headline": "diff: share lineReader cache initialization",
          "author_name": "Keegan Carruthers-Smith",
          "author_login": "keegancsmith",
          "committed_at": "2026-04-02T13:05:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "45b1037cff4f6d213a8f541348e39e8503e4b481",
          "body": null,
          "is_bot": false,
          "headline": "diff: remove stale lineReader comment",
          "author_name": "Keegan Carruthers-Smith",
          "author_login": "keegancsmith",
          "committed_at": "2026-04-02T13:05:28Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6ebdcc03ed010864a046ffa40314079b5e32a5a5",
          "body": null,
          "is_bot": false,
          "headline": "Make strict dropCR behavior optional via ParseOptions (#78)",
          "author_name": "Emmanuel Antonio",
          "author_login": "EmmanuelAC1",
          "committed_at": "2026-04-02T12:58:00Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "005b93085ec3bbbc715fb13513269da629a885e8",
          "body": null,
          "is_bot": false,
          "headline": "chore: removed the inactive badge travis (#73)",
          "author_name": "Olexandr88",
          "author_login": "Olexandr88",
          "committed_at": "2025-07-14T10:14:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9f2e18546afbc8430694da01308c562191272f5a",
          "body": "chore: use scip-go instead of lsif-go for precise indexing in CI",
          "is_bot": false,
          "headline": "Merge pull request #71 from sourcegraph/nsc/lsifgo-to-scipgo",
          "author_name": "Noah S-C",
          "author_login": "Strum355",
          "committed_at": "2024-02-23T16:31:38Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "78610d97d0b7474f295e49733f33ca5b5d15033f",
          "body": null,
          "is_bot": false,
          "headline": "chore: use scip-go instead of lsif-go for precise indexing in CI",
          "author_name": "Noah S-C",
          "author_login": "Strum355",
          "committed_at": "2024-02-23T15:34:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1b4d09c1adcb524fc1fa2cb9f027bc9ddf48d3ee",
          "body": null,
          "is_bot": false,
          "headline": "remove unnecessary dependencies (#69)",
          "author_name": "ZYX",
          "author_login": "yuxiang-zhang",
          "committed_at": "2023-03-16T16:03:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "bc7d968bff04cdbb080028f2432eaf50ebec94c1",
          "body": null,
          "is_bot": false,
          "headline": "include full license from python-unidiff",
          "author_name": "Keegan Carruthers-Smith",
          "author_login": "keegancsmith",
          "committed_at": "2023-01-22T19:17:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f8cd299c40f3fb1bbccd1b4268454b1488aa3fba",
          "body": "When no prefixes are present, the parsing failed before and the orig filename was empty. This fixes it.\r\nThis broke rendering diffs with deleted empty files in Sourcegraph.",
          "is_bot": false,
          "headline": "Fix parsing of deleted empty files without a/ b/ prefixes (#67)",
          "author_name": "Erik Seliger",
          "author_login": "eseliger",
          "committed_at": "2022-11-23T16:57:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7ef5f68ebea1885cdfa8bc710e3d666f95bec1cb",
          "body": "Apple's diff (at least the one shipping with macOS Venture) does not\r\ninclude the fractional seconds or Timezone in it's output.\r\n\r\nThis adds support for that so diffutils does not need to be installed.\r\n\r\nI first encountered this problem using golangci-lint on macOS after\r\nupgrading to macOS Ventura.",
          "is_bot": false,
          "headline": "Support Apple Diff timestamps (#65)",
          "author_name": "Edward Muller",
          "author_login": "freeformz",
          "committed_at": "2022-10-31T07:31:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9d1f353a285b3094bc33bdae277a19aedabe8b71",
          "body": "Support renamed binary files without index-row",
          "is_bot": false,
          "headline": "Merge pull request #63 from zegl/extended-binary-no-index",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2021-06-25T13:08:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c26dd7a9d4ca0ccde835634f529296f8bc3d6fca",
          "body": null,
          "is_bot": false,
          "headline": "Support renamed binary files without index-row",
          "author_name": "Gustav Westling",
          "author_login": "zegl",
          "committed_at": "2021-06-07T08:30:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "35b24a7eb480565587288c09f466daaef9a0cb02",
          "body": "Add support for complicated filenames and file copies",
          "is_bot": false,
          "headline": "Merge pull request #61 from kwi-dk/master",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2021-05-26T09:05:23Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "28094f634b6767f60406b4340dabeef9cf11f81f",
          "body": null,
          "is_bot": false,
          "headline": "Address PR feedback",
          "author_name": "Søren Løvborg",
          "author_login": "kwi-dk",
          "committed_at": "2021-05-25T11:11:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "953267fbe7b1cb79708719ef928bcc825ecf60fd",
          "body": null,
          "is_bot": false,
          "headline": "Improved test coverage (and slightly stricter error handling)",
          "author_name": "Søren Løvborg",
          "author_login": "kwi-dk",
          "committed_at": "2021-03-22T18:52:54Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9721ba53e7f65e915ab79e84a3c18527c79ea923",
          "body": "When filenames contain special characters, they are quoted, but not if\nthey only contain spaces, meaning the 'git --diff' argument line becomes\nAMBIGUOUS. It is, however, possible to reconstruct the filenames using\nthe extended headers.\n\nThis fixes parsing of unquoted filenames with multiple spaces in them,\nquoted filenames with spaces in them, and diffs containing file copies.",
          "is_bot": false,
          "headline": "Add support for complicated filenames and file copies",
          "author_name": "Søren Løvborg",
          "author_login": "kwi-dk",
          "committed_at": "2021-03-22T14:36:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a7681963e2c126158c307ba5bbfd00a344051b85",
          "body": "MultiFileDiffReader returns trailing content",
          "is_bot": false,
          "headline": "Merge pull request #60 from craigfurman/trailing-content",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2021-03-16T08:28:14Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b8a97d3ca13be62b7797eb450803596aebe3201c",
          "body": "Along with EOF. This is useful for handling mixed diff and non-diff\noutput. Note that \"stray\" content between diff files was already\nincluded in the extended headers for the next diff.\n\nTo avoid breaking the existing API, this trailing content is only\navailable in a new method.",
          "is_bot": false,
          "headline": "MultiFileDiffReader returns trailing content",
          "author_name": "Craig Furman",
          "author_login": "craigfurman",
          "committed_at": "2021-03-15T17:24:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "82e346750fdc69a387c5ab34572ed860f8b3f0c9",
          "body": "Handle rename-and-mode-change in empty file diffs & clean up code",
          "is_bot": false,
          "headline": "Merge pull request #58 from sourcegraph/mrn/clean-up-header-parsing",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2021-01-07T08:27:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3a166d4a734b373b44327b382e3c9362d87670df",
          "body": null,
          "is_bot": false,
          "headline": "Simplify handling of empty file diffs",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2021-01-05T10:40:58Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d9b0834a371b6bbfb340ce4c4a85c5390851f756",
          "body": null,
          "is_bot": false,
          "headline": "Handle rename-and-mode-change case (verbosely for now)",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2021-01-05T09:50:26Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "640c65b62891093ea6cf6552fb89d96fe6042f2f",
          "body": null,
          "is_bot": false,
          "headline": "Extend sample tests, including failing test",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2021-01-05T09:43:56Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "d1e74e02535402e68e179b1bcfa42ce859bad428",
          "body": "add support for file mode changes only",
          "is_bot": false,
          "headline": "Merge pull request #57 from uoli/fix-filemode-change",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2021-01-04T13:25:28Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ae1c4535c3a10665da400b3ed7861323c0394af9",
          "body": null,
          "is_bot": false,
          "headline": "fix formatting",
          "author_name": "Leonardo Carneiro",
          "author_login": "LeoUnity",
          "committed_at": "2020-12-17T15:02:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "bfac23a3da747eaed2d0b7a66801eae5222182b9",
          "body": null,
          "is_bot": false,
          "headline": "add support for file mode changes only",
          "author_name": "Leonardo Carneiro",
          "author_login": "LeoUnity",
          "committed_at": "2020-12-17T14:28:25Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5bc20c4c80ed5600baf652062ae07fc6d150310a",
          "body": "…e-header-parsing-2\n\nAdd a lineReader to provide two-line lookahead",
          "is_bot": false,
          "headline": "Merge pull request #56 from sourcegraph/mrnugget/fix-non-extended-fil…",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2020-09-29T11:31:29Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "deb8e40b2a65b58b301a36e56174591543a89ab1",
          "body": null,
          "is_bot": false,
          "headline": "Add more tests for multi file diff reading and printing",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2020-09-29T11:27:12Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "6b7c9952c7e238c943238782b928eeefc9884acd",
          "body": null,
          "is_bot": false,
          "headline": "Change tests for LineReader to not duplicate readLine tests",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2020-09-29T11:16:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a8fab669406b39602217a10a16eb3c2b3731947b",
          "body": null,
          "is_bot": false,
          "headline": "Add tests for LineReader",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2020-09-29T09:49:27Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "842d2c12cc52ab06942669cffeb4e2b43d8c0c71",
          "body": "…e-header-parsing\n\nFix parsing of non-extended file headers and lines starting with --",
          "is_bot": false,
          "headline": "Merge pull request #55 from sourcegraph/mrnugget/fix-non-extended-fil…",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2020-09-28T17:25:20Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "1625299ff1c10f787ac21bb274b25d0a955e74e8",
          "body": null,
          "is_bot": false,
          "headline": "Add a lineReader to provide two-line lookahead",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2020-09-28T15:31:43Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "837bd652fa3836f4e23221475c97e59ede936257",
          "body": null,
          "is_bot": false,
          "headline": "Rename nextLineHasPrefix to peekPrefix and change signature",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2020-09-28T14:13:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5726eda9cccc57d7506917231fb126d8242c4915",
          "body": null,
          "is_bot": false,
          "headline": "Handle peek beyond last line",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2020-09-28T14:01:01Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "45f0055c42620a642d46826138880dfc167f0fbe",
          "body": "This fixes #54 by making the detection of non-extended file headers\n(which start with `---` directly) that was introduced in #53 more\nrobust.\n\nInstead of simply aborting when the current line starts with `---`\n(which is a valid hunk line, if you, say, remove a line starting with\n`--`), we confirm that the next line also starts with `+++` by peeking a\nbit ahead.\n\nThat's also what `git` does: https://sourcegraph.com/github.com/git/git/-/blob/apply.c#L1574-1576",
          "is_bot": false,
          "headline": "Fix parsing of non-extended file headers and lines starting with --",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2020-09-28T12:33:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "96789e3401eadc2247f02d416dc90be9ccd98962",
          "body": "They are unused, so we can keep the generated output. Additionally this remove\r\na dependency on pbtypes.Timestamp",
          "is_bot": false,
          "headline": "remove protobuf types (#51)",
          "author_name": "Sofiia Tesliuk",
          "author_login": "sofiia-tesliuk",
          "committed_at": "2020-09-04T16:27:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "70244507c2feb7c162f179d8c6fc7f617261e48f",
          "body": "The version before was failing to identify next file header (without extended\r\nlines before it), while was parsing Hunk.  Hunk reader identify line as a part\r\nof the hunk, if it starts with , + or -. Because of this, file header starting\r\nwith --- , was also identified as part of the hunk.",
          "is_bot": false,
          "headline": "Detect file header, when parsing Hunk (#53)",
          "author_name": "Sofiia Tesliuk",
          "author_login": "sofiia-tesliuk",
          "committed_at": "2020-08-26T06:43:41Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b49127ccb36eb60933f1a5efd9f2e13be64ae45c",
          "body": "This commit parses a diff with a renamed, updated binary file and adds a test\r\ncase for it.",
          "is_bot": false,
          "headline": "diff: support renamed, updated binary file (#38)",
          "author_name": "Stephen Wan",
          "author_login": "stephen",
          "committed_at": "2020-08-19T09:16:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c3b8bb258d0defd6a190bfafa3e35d1b9c005a8b",
          "body": null,
          "is_bot": false,
          "headline": "Add handling added/deleted files in diff (#50)",
          "author_name": "Sofiia Tesliuk",
          "author_login": "sofiia-tesliuk",
          "committed_at": "2020-08-18T08:14:06Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f935979a5d70d2f3034edc6de94c77be621ce500",
          "body": null,
          "is_bot": false,
          "headline": "Add basic support for binary diffs (#46)",
          "author_name": "Erik Seliger",
          "author_login": "eseliger",
          "committed_at": "2020-05-27T11:49:05Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8c3ae631394422297497fc68d5090625de498b6e",
          "body": null,
          "is_bot": false,
          "headline": "Add support for special characters in file names (#45)",
          "author_name": "Erik Seliger",
          "author_login": "eseliger",
          "committed_at": "2020-05-08T14:50:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "adde7111830f4288740027998573a3ed9eb47080",
          "body": "LSIF Indexing Campaign",
          "is_bot": false,
          "headline": "add LSIF indexing to CI",
          "author_name": "garo (they/them)",
          "author_login": "gbrik",
          "committed_at": "2020-04-29T20:44:44Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "08a738a3cada0a06b30fe3e975afd52190846299",
          "body": null,
          "is_bot": false,
          "headline": "LSIF Indexing Campaign",
          "author_name": "Sourcegraph Bot",
          "author_login": null,
          "committed_at": "2020-04-29T16:59:40Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "83b4203502406ce937eff149ebf2360c8c71dd2b",
          "body": null,
          "is_bot": false,
          "headline": "Go mod tidy sourcegraph (#41)",
          "author_name": "Erik Seliger",
          "author_login": "eseliger",
          "committed_at": "2020-03-04T18:46:10Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3637c6001663e498abfce77da4db5041b2b5a3bb",
          "body": "Update documentation for ParseMultiFileDiff",
          "is_bot": false,
          "headline": "Merge pull request #36 from sourcegraph/missing-extended-header",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2019-11-07T12:31:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "16e54d7ae58bca5ae06518775d0666978ffb7193",
          "body": null,
          "is_bot": false,
          "headline": "Update documentation for ParseMultiFileDiff",
          "author_name": "Thorsten Ball",
          "author_login": "mrnugget",
          "committed_at": "2019-11-06T16:08:46Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "042635e6444e67483d777aaa240274f13691500c",
          "body": "update import path in README",
          "is_bot": false,
          "headline": "Merge pull request #32 from sourcegraph/update-readme-import-path",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2019-03-24T22:05:57Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2190f4fbea26831b425a4d72f3dadaede3c0251c",
          "body": "follows https://github.com/sourcegraph/go-diff/pull/30",
          "is_bot": false,
          "headline": "update import path in README",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2019-03-24T22:04:24Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c825d9a1a0caed67ce12a18157b8c7ea6e0d6c86",
          "body": "use github.com/sourcegraph/go-diff import path instead of custom sourcegraph.com/... import path",
          "is_bot": false,
          "headline": "Merge pull request #30 from sourcegraph/github-import-path",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2019-03-24T18:25:42Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "de643bfad3d9698fdda932817e16d84daf69e91d",
          "body": "…cegraph.com/... import path",
          "is_bot": false,
          "headline": "use github.com/sourcegraph/go-diff import path instead of custom sour…",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2019-03-24T18:23:51Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "dee78e514455b3ccac71dd793489a6332b89cd1b",
          "body": "Handle diffs on windows",
          "is_bot": false,
          "headline": "Merge pull request #29 from crsdrw/win",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2019-02-10T23:29:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ea34aaf6e5fa56114d47ce08d5eb31ba3fb68d6f",
          "body": "Running the standard diff tool on windows\nproduces output with CRLF line endings.\nStripping trailing CR in the line reader utility\nprevents errors in diff parsing.",
          "is_bot": false,
          "headline": "Handle diffs on windows",
          "author_name": "Chris Drew",
          "author_login": "crsdrw",
          "committed_at": "2019-02-10T14:55:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "119ab63a9fb25c4f02d0bc8088c61bac0f449f7d",
          "body": "add 1.10.x travis build for verification",
          "is_bot": false,
          "headline": "Merge pull request #23 from dmitris/gomod",
          "author_name": "Keegan Carruthers-Smith",
          "author_login": "keegancsmith",
          "committed_at": "2018-10-10T11:37:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c613306ac97fb4807862c088149199f0dab8685a",
          "body": "add go.mod files, set GO111MODULE=on in Travis build",
          "is_bot": false,
          "headline": "Merge pull request #22 from dmitris/gomod",
          "author_name": "Keegan Carruthers-Smith",
          "author_login": "keegancsmith",
          "committed_at": "2018-10-09T14:01:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "463573941c5c70d3d30cd6c47dd15ceb2d2f6c64",
          "body": null,
          "is_bot": false,
          "headline": "add 1.10.x travis build for verification",
          "author_name": "Dmitry Savintsev",
          "author_login": "dmitris",
          "committed_at": "2018-10-09T14:00:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "4688f2fec678ef2f9b8622f657c7f3555cae368b",
          "body": null,
          "is_bot": false,
          "headline": "add go.mod files, set GO111MODULE=on in Travis build",
          "author_name": "Dmitry Savintsev",
          "author_login": "dmitris",
          "committed_at": "2018-10-09T13:40:47Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "3f415a150aec0685cb81b73cc201e762e075006d",
          "body": null,
          "is_bot": false,
          "headline": "travis: update go version (#19)",
          "author_name": "Davor Kapsa",
          "author_login": "dvrkps",
          "committed_at": "2017-11-19T08:11:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c0b71564396d0e0344c852f8ef5a2bbd6873f328",
          "body": "… (#18)\n\nWe need to use a different layout string for parsing and printing,\r\nsince we only want to change the parsing behavior (not printing\r\nbehavior).\r\n\r\nAdd test for it.\r\n\r\nResolves #17.",
          "is_bot": false,
          "headline": "Add support for parsing header timestamps without fractional seconds.…",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2017-10-31T05:07:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "748a069ce7626ea59d76c3b5786b4281b7cfc98d",
          "body": null,
          "is_bot": false,
          "headline": "remove old link and remove \"unstable\" now that it's used in prod",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2017-04-12T05:30:01Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2083912a1bdc56931b1e172c72caf7184fa67df7",
          "body": "Add test cases.",
          "is_bot": false,
          "headline": "Add support for new/removed binary files.",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2016-06-17T04:00:23Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9bc754992807c688022cda122fbd336d2ed8685c",
          "body": "There are situations where a diff is empty. For example, if a blank\nfile is added a removed. Or if a file is renamed without any changes.\nThis change detects and handles those situations properly. That\nincludes fixing support for modified binary files.\n\nImprove test coverage significantly.\n\nFixes #10.",
          "is_bot": false,
          "headline": "Fix support for empty diffs (new, deleted, renamed, binary files).",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2016-05-15T06:08:31Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0581ef95f0166c6af07f8cce6f848cf1283162d4",
          "body": "sourcegraph.com doesn't support status and views badges anymore.",
          "is_bot": false,
          "headline": "Update Travis to use Go 1.6.2; fix broken links/images.",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2016-05-09T09:00:36Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "ba62c45756c8c9174b21de6bc8c558ba6a7643bd",
          "body": "Followup for https://github.com/sourcegraph/go-diff/pull/9#issuecomment-135123754.\n\nThis test passes now, but would fail before #9 was merged.",
          "is_bot": false,
          "headline": "Add test for rename support in multi file diff.",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2016-02-23T20:15:19Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "66ef7845ed6ad8e5a7aa117119306fcb4cd6b498",
          "body": "This is needed for rename FileDiffs that do not have a file header.",
          "is_bot": false,
          "headline": "Don't print file header when it's not present.",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2016-02-23T20:11:57Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7cb6842656e38d9cc9a6c12bc55e8daabf059a84",
          "body": "patch: Fixed a bug where file diffs for renamed files were not picked up",
          "is_bot": false,
          "headline": "Merge pull request #9 from sourcegraph/tmpl-debt",
          "author_name": "Beyang Liu",
          "author_login": null,
          "committed_at": "2016-02-23T18:45:39Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9df7c6fa60324f61d47be9877e616005654f9e0f",
          "body": "renames with similarity index 100%.",
          "is_bot": false,
          "headline": "patch: Fixed a bug where file diffs headers were merged for only",
          "author_name": "Gabriel Aszalos",
          "author_login": null,
          "committed_at": "2016-02-18T22:23:58Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0586387989b163093ea75e24f33d038aca16f9c6",
          "body": null,
          "is_bot": false,
          "headline": "fix bug with file names being terminated by a tab",
          "author_name": "Richard Musiol",
          "author_login": "neelance",
          "committed_at": "2016-02-16T12:25:38Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "5b2cb822837736d5cd094d90aa59a19f98a170af",
          "body": "changed protobuf field names to camel case",
          "is_bot": false,
          "headline": "Merge pull request #11 from sourcegraph/camelcase",
          "author_name": "Beyang Liu",
          "author_login": null,
          "committed_at": "2016-01-18T19:55:40Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "b1b22d8cac72aa2259e79e45fcd8fc1028e9703d",
          "body": null,
          "is_bot": false,
          "headline": "changed protobuf field names to camel case",
          "author_name": "Richard Musiol",
          "author_login": "neelance",
          "committed_at": "2016-01-18T13:22:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "9a14f200647da9ee7251bf92129669166ccd3b5a",
          "body": null,
          "is_bot": false,
          "headline": "generate (un)marshalers/sizers",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2016-01-07T12:33:45Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a41379e89df0d650186cee3294eadf84b95b61d7",
          "body": null,
          "is_bot": false,
          "headline": "note why we need to set the timezone",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2015-12-29T08:20:14Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "06ad97a8623ce9cbd5ff1086dd6649ecc9a6dd71",
          "body": "This reverts commit f23a1b83147b327686f8ad0fac2341f25bf104c5.\n\nSee https://github.com/sourcegraph/go-diff/commit/0a22a8359c2f3d58683c00f6734194cf86600daa#comments.",
          "is_bot": false,
          "headline": "Revert \"Travis: Force timezone to Pacific to make tests pass, for now.\"",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2015-12-29T08:17:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0a22a8359c2f3d58683c00f6734194cf86600daa",
          "body": null,
          "is_bot": false,
          "headline": "use UTC for tests to avoid timezone dependence",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2015-12-29T01:48:16Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "7eefa0faf57871a70d7a2c368a454593f07797bc",
          "body": "Remove unreachable code.",
          "is_bot": false,
          "headline": "Merge pull request #8 from sourcegraph/remove-unreachable-code",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2015-05-15T05:59:37Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "dbc5a88071f4db62b63d85dd8400088a68304ddd",
          "body": "Fixes #7.\nFixes Travis build.",
          "is_bot": false,
          "headline": "Remove unreachable code.",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2015-05-15T01:59:43Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "a12082f51698ac344f92c9ef00fe2c226d34a8dd",
          "body": "Clarify canonical import path, fix broken links.",
          "is_bot": false,
          "headline": "Merge pull request #5 from sourcegraph/clarify-canonical-import-path",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2015-05-15T01:42:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f23a1b83147b327686f8ad0fac2341f25bf104c5",
          "body": "This is a quick hack. The correct solution will be to fix tests so they pass regardless of user's timezone. See issue #6.",
          "is_bot": false,
          "headline": "Travis: Force timezone to Pacific to make tests pass, for now.",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2015-05-15T01:31:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "714933c994bca19403b286146ef165662503d444",
          "body": "Due to the vanity import path, we need to move the package into the\ncorrect location inside GOPATH workspace.",
          "is_bot": false,
          "headline": "Fix travis script.",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2015-05-15T01:18:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2d6df58bb590f46dbfb4c948e8f6e0950763b7e9",
          "body": "The canonical import path for this package appears to be\n\"sourcegraph.com/sourcegraph/go-diff/diff\", not\n\"github.com/sourcegraph/go-diff/diff\". Add an import path comment to\nenforce and document this. Also mention the import path in README, so\nthere's no need to guess what it actually is.\nFix broken views counter image.\nFix broken definition link.\nAdd Travis build status badge.\nUpdate Travis Go to current version.",
          "is_bot": false,
          "headline": "Clarify canonical import path, fix broken links.",
          "author_name": "Dmitri Shuralyov",
          "author_login": "dmitshur",
          "committed_at": "2015-05-15T00:18:33Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "458f90e91b8dd1a30c89b579741386988e0d1b88",
          "body": null,
          "is_bot": false,
          "headline": "rm old badge",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2015-05-12T13:15:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "f1b23f26433274fdd57c02dcb792815d5cac5293",
          "body": null,
          "is_bot": false,
          "headline": "Remvoed forgotten ByteSize field",
          "author_name": "gbbr",
          "author_login": null,
          "committed_at": "2015-05-06T05:58:11Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "23dca9a3eb8c0ea7de5125457d76c3acb4ef4e9e",
          "body": null,
          "is_bot": false,
          "headline": "Removed ByteSize",
          "author_name": "gbbr",
          "author_login": null,
          "committed_at": "2015-05-06T05:49:59Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "83d1edafc3757496546bb265b2886a751b24ff23",
          "body": null,
          "is_bot": false,
          "headline": "Removed omitempty",
          "author_name": "gbbr",
          "author_login": null,
          "committed_at": "2015-05-05T09:33:32Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "dbbfeca145fb2591ee541f31dbae9a56c262d61a",
          "body": null,
          "is_bot": false,
          "headline": "ByteSize",
          "author_name": "gbbr",
          "author_login": null,
          "committed_at": "2015-05-05T08:39:03Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "66cb877d72c485f312f7b72a42116d5bb9ad2809",
          "body": null,
          "is_bot": false,
          "headline": "use int32 (for protobuf support)",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2015-05-03T21:42:08Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "07b377a9d5f3cd0d8572a167fa4b37e8cfbbf94a",
          "body": null,
          "is_bot": false,
          "headline": "cleaner protobuf generation",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2015-04-21T05:12:50Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "21eb011dc04e7d8774b1e750f1ddc0e26858bac2",
          "body": null,
          "is_bot": false,
          "headline": "use protobufs",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2015-04-21T03:49:02Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "07d9929e8741ec84aa708aba12a4b1efd3a7a0dd",
          "body": null,
          "is_bot": false,
          "headline": "refactor into readLine helper",
          "author_name": "Beyang Liu",
          "author_login": null,
          "committed_at": "2015-01-15T03:43:13Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "c12bc15f1890d11d17acd48e845e755c7f47ce55",
          "body": null,
          "is_bot": false,
          "headline": "support long_line test case",
          "author_name": "Beyang Liu",
          "author_login": null,
          "committed_at": "2015-01-15T02:58:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "0df814d811c89b9cf35d849e70e6e62614cd8913",
          "body": null,
          "is_bot": false,
          "headline": "long_line test case",
          "author_name": "Beyang Liu",
          "author_login": null,
          "committed_at": "2015-01-14T01:37:52Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "82275ef75ae0f5737bb4d2eb682d89f51ee623a7",
          "body": null,
          "is_bot": false,
          "headline": "fix test",
          "author_name": "Beyang Liu",
          "author_login": null,
          "committed_at": "2014-12-17T10:05:50Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "2de6339132cff96ec8cab2cdb860d729e56c0a27",
          "body": null,
          "is_bot": false,
          "headline": "record hunk start position",
          "author_name": "Beyang Liu",
          "author_login": null,
          "committed_at": "2014-12-16T21:32:30Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "99814f67d48554a625e7f175acb64cf82ef4f788",
          "body": null,
          "is_bot": false,
          "headline": "add go-diff diagnostic program",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2014-12-16T05:15:55Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "86544b82264c7c9e3433dddae90c31fc2a30f5ba",
          "body": null,
          "is_bot": false,
          "headline": "fix handling of an empty file in a multi-file diff",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2014-12-16T05:15:48Z",
          "body_truncated": false,
          "is_coding_agent": false
        },
        {
          "oid": "8109520dc03e3738e6fa8742ebcf4bd83276a377",
          "body": null,
          "is_bot": false,
          "headline": "rm unused readRest",
          "author_name": "Quinn Slack",
          "author_login": "sqs",
          "committed_at": "2014-12-16T04:57:34Z",
          "body_truncated": false,
          "is_coding_agent": false
        }
      ],
      "releases_count": 5,
      "commits_last_year": 9,
      "latest_release_at": "2026-04-24T08:08:27Z",
      "latest_release_tag": "v0.8.0",
      "releases_from_tags": false,
      "days_since_last_push": 4,
      "active_weeks_last_year": 2,
      "days_since_latest_release": 97,
      "mean_days_between_releases": 688.2
    },
    "community": {
      "has_readme": true,
      "has_license": true,
      "has_description": true,
      "has_contributing": false,
      "health_percentage": 37,
      "has_issue_template": false,
      "has_code_of_conduct": false,
      "has_pull_request_template": false
    },
    "ecosystem": {
      "packages": [
        {
          "name": "github.com/sourcegraph/go-diff",
          "exists": true,
          "license": null,
          "keywords": [],
          "ecosystem": "go",
          "matches_repo": true,
          "registry_url": "https://pkg.go.dev/github.com/sourcegraph/go-diff",
          "is_deprecated": false,
          "latest_version": "v0.8.0",
          "repository_url": "https://github.com/sourcegraph/go-diff",
          "versions_count": 8,
          "total_downloads": null,
          "dependents_count": null,
          "deprecation_note": null,
          "maintainers_count": null,
          "monthly_downloads": null,
          "first_published_at": null,
          "latest_published_at": "2026-04-02T21:54:05Z",
          "latest_version_yanked": null,
          "days_since_latest_publish": 119
        }
      ]
    },
    "popularity": {
      "forks": 52,
      "stars": 454,
      "watchers": 76,
      "fork_history": {
        "days": [
          {
            "date": "2014-09-14",
            "count": 1
          },
          {
            "date": "2015-04-19",
            "count": 1
          },
          {
            "date": "2017-03-24",
            "count": 1
          },
          {
            "date": "2017-07-13",
            "count": 1
          },
          {
            "date": "2017-09-25",
            "count": 1
          },
          {
            "date": "2017-10-30",
            "count": 1
          },
          {
            "date": "2017-10-31",
            "count": 1
          },
          {
            "date": "2017-11-01",
            "count": 1
          },
          {
            "date": "2017-11-20",
            "count": 1
          },
          {
            "date": "2018-09-30",
            "count": 1
          },
          {
            "date": "2018-10-09",
            "count": 2
          },
          {
            "date": "2019-01-23",
            "count": 1
          },
          {
            "date": "2019-02-09",
            "count": 1
          },
          {
            "date": "2019-04-30",
            "count": 1
          },
          {
            "date": "2019-07-20",
            "count": 1
          },
          {
            "date": "2019-09-04",
            "count": 1
          },
          {
            "date": "2019-10-07",
            "count": 1
          },
          {
            "date": "2019-10-12",
            "count": 1
          },
          {
            "date": "2019-11-15",
            "count": 1
          },
          {
            "date": "2019-12-16",
            "count": 1
          },
          {
            "date": "2020-03-17",
            "count": 1
          },
          {
            "date": "2020-04-09",
            "count": 1
          },
          {
            "date": "2020-08-06",
            "count": 1
          },
          {
            "date": "2020-09-16",
            "count": 1
          },
          {
            "date": "2020-10-09",
            "count": 1
          },
          {
            "date": "2020-12-17",
            "count": 1
          },
          {
            "date": "2021-03-09",
            "count": 1
          },
          {
            "date": "2021-03-13",
            "count": 1
          },
          {
            "date": "2021-06-07",
            "count": 2
          },
          {
            "date": "2021-06-12",
            "count": 1
          },
          {
            "date": "2022-01-05",
            "count": 1
          },
          {
            "date": "2022-03-17",
            "count": 1
          },
          {
            "date": "2022-08-24",
            "count": 1
          },
          {
            "date": "2022-10-27",
            "count": 1
          },
          {
            "date": "2022-11-04",
            "count": 1
          },
          {
            "date": "2022-12-14",
            "count": 1
          },
          {
            "date": "2023-03-08",
            "count": 1
          },
          {
            "date": "2023-04-12",
            "count": 1
          },
          {
            "date": "2023-04-19",
            "count": 1
          },
          {
            "date": "2023-05-04",
            "count": 1
          },
          {
            "date": "2024-07-18",
            "count": 1
          },
          {
            "date": "2024-09-19",
            "count": 1
          },
          {
            "date": "2024-09-29",
            "count": 1
          },
          {
            "date": "2025-04-16",
            "count": 1
          },
          {
            "date": "2025-07-11",
            "count": 1
          },
          {
            "date": "2026-02-11",
            "count": 1
          },
          {
            "date": "2026-04-18",
            "count": 1
          },
          {
            "date": "2026-07-25",
            "count": 1
          }
        ],
        "complete": true,
        "collected": 50,
        "total_forks": 52
      },
      "star_history": null,
      "open_issues_and_prs": 8
    },
    "ai_readiness": {
      "has_nix": false,
      "example_dirs": [],
      "has_llms_txt": false,
      "has_dockerfile": false,
      "has_mcp_signal": false,
      "bootstrap_files": [],
      "api_schema_files": [],
      "has_devcontainer": false,
      "typecheck_configs": [],
      "toolchain_manifests": [
        "go.mod"
      ],
      "largest_source_bytes": 33369,
      "source_files_sampled": 12,
      "oversized_source_files": 0,
      "agent_instruction_files": [],
      "agent_instruction_max_bytes": null
    },
    "dependencies": {
      "manifests": [
        "go.mod"
      ],
      "advisories": {
        "error": null,
        "scope": "repository_graph",
        "source": "osv",
        "findings": [],
        "collected": true,
        "malicious": [],
        "truncated": false,
        "by_severity": {},
        "advisory_count": 0,
        "affected_count": 0,
        "assessed_count": 1,
        "malicious_count": 0,
        "assessed_package": null,
        "unassessed_count": 0,
        "direct_affected_count": 0
      },
      "ecosystems": [
        "go"
      ],
      "dependencies": [
        {
          "name": "github.com/google/go-cmp",
          "manifest": "go.mod",
          "ecosystem": "go",
          "version_constraint": "v0.5.2"
        }
      ],
      "all_dependencies": {
        "error": null,
        "source": "github-sbom",
        "packages": [
          {
            "name": "github.com/google/go-cmp",
            "direct": true,
            "version": "v0.5.2",
            "ecosystem": "go"
          }
        ],
        "collected": true,
        "truncated": false,
        "total_count": 1,
        "direct_count": 1,
        "indirect_count": 0
      }
    },
    "maintainership": {
      "issues": {
        "open_prs": 4,
        "merged_prs": 43,
        "open_issues": 4,
        "closed_ratio": 0.818,
        "closed_issues": 18,
        "closed_unmerged_prs": 21
      },
      "bus_factor": 3,
      "bot_contributors": 0,
      "top_contributors": [
        {
          "type": "User",
          "login": "sqs",
          "commits": 35,
          "avatar_url": "https://avatars.githubusercontent.com/u/1976?v=4"
        },
        {
          "type": "User",
          "login": "mrnugget",
          "commits": 19,
          "avatar_url": "https://avatars.githubusercontent.com/u/1185253?v=4"
        },
        {
          "type": "User",
          "login": "dmitshur",
          "commits": 11,
          "avatar_url": "https://avatars.githubusercontent.com/u/1924134?v=4"
        },
        {
          "type": "User",
          "login": "keegancsmith",
          "commits": 9,
          "avatar_url": "https://avatars.githubusercontent.com/u/187831?v=4"
        },
        {
          "type": "User",
          "login": "samertm",
          "commits": 5,
          "avatar_url": "https://avatars.githubusercontent.com/u/969377?v=4"
        },
        {
          "type": "User",
          "login": "eseliger",
          "commits": 4,
          "avatar_url": "https://avatars.githubusercontent.com/u/19534377?v=4"
        },
        {
          "type": "User",
          "login": "sofiia-tesliuk",
          "commits": 3,
          "avatar_url": "https://avatars.githubusercontent.com/u/33581458?v=4"
        },
        {
          "type": "User",
          "login": "kwi-dk",
          "commits": 3,
          "avatar_url": "https://avatars.githubusercontent.com/u/1167359?v=4"
        },
        {
          "type": "User",
          "login": "dmitris",
          "commits": 2,
          "avatar_url": "https://avatars.githubusercontent.com/u/31205?v=4"
        },
        {
          "type": "User",
          "login": "LeoUnity",
          "commits": 2,
          "avatar_url": "https://avatars.githubusercontent.com/u/19493012?v=4"
        }
      ],
      "contributors_sampled": 24,
      "top_contributor_share": 0.321
    },
    "quality_signals": {
      "has_ci": true,
      "has_tests": true,
      "ci_workflows": [
        "ci.yml"
      ],
      "has_docs_dir": false,
      "linter_configs": [],
      "has_editorconfig": false,
      "has_linter_config": false,
      "has_precommit_config": false
    },
    "security_signals": {
      "lockfiles": [
        "go.sum"
      ],
      "scorecard": {
        "checks": [
          {
            "name": "Binary-Artifacts",
            "score": 10,
            "reason": "no binaries found in the repo",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#binary-artifacts"
          },
          {
            "name": "Branch-Protection",
            "score": 0,
            "reason": "branch protection not enabled on development/release branches",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#branch-protection"
          },
          {
            "name": "CI-Tests",
            "score": 1,
            "reason": "2 out of 14 merged PRs checked by a CI test -- score normalized to 1",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#ci-tests"
          },
          {
            "name": "CII-Best-Practices",
            "score": 0,
            "reason": "no effort to earn an OpenSSF best practices badge detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#cii-best-practices"
          },
          {
            "name": "Code-Review",
            "score": 6,
            "reason": "Found 13/20 approved changesets -- score normalized to 6",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#code-review"
          },
          {
            "name": "Contributors",
            "score": 10,
            "reason": "project has 20 contributing companies or organizations",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#contributors"
          },
          {
            "name": "Dangerous-Workflow",
            "score": 10,
            "reason": "no dangerous workflow patterns detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dangerous-workflow"
          },
          {
            "name": "Dependency-Update-Tool",
            "score": 0,
            "reason": "no update tool detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#dependency-update-tool"
          },
          {
            "name": "Fuzzing",
            "score": 0,
            "reason": "project is not fuzzed",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#fuzzing"
          },
          {
            "name": "License",
            "score": 9,
            "reason": "license file detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#license"
          },
          {
            "name": "Maintained",
            "score": 0,
            "reason": "1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#maintained"
          },
          {
            "name": "Packaging",
            "score": null,
            "reason": "packaging workflow not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#packaging"
          },
          {
            "name": "Pinned-Dependencies",
            "score": 0,
            "reason": "dependency not pinned by hash detected -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#pinned-dependencies"
          },
          {
            "name": "SAST",
            "score": 0,
            "reason": "SAST tool is not run on all commits -- score normalized to 0",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#sast"
          },
          {
            "name": "Security-Policy",
            "score": 0,
            "reason": "security policy file not detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#security-policy"
          },
          {
            "name": "Signed-Releases",
            "score": null,
            "reason": "no releases found",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#signed-releases"
          },
          {
            "name": "Token-Permissions",
            "score": 0,
            "reason": "detected GitHub workflow tokens with excessive permissions",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#token-permissions"
          },
          {
            "name": "Vulnerabilities",
            "score": 10,
            "reason": "0 existing vulnerabilities detected",
            "documentation_url": "https://github.com/ossf/scorecard/blob/c395761df6afe1a69e476bc60a013a94bcbc153f/docs/checks.md#vulnerabilities"
          }
        ],
        "commit": "c69bfd59d481bd193dc91d8fc281c4b679e25146",
        "ran_at": "2026-07-30T23:17:15Z",
        "aggregate_score": 3.7,
        "scorecard_version": "v5.5.0"
      },
      "has_codeql_workflow": false,
      "has_security_policy": false,
      "has_dependabot_config": false
    },
    "contribution_flow": {
      "collected": true,
      "ci_last_run_at": "2026-07-26T15:22:46Z",
      "oldest_open_prs": [
        {
          "number": 81,
          "created_at": "2026-04-21T09:25:53Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 84,
          "created_at": "2026-06-15T18:22:35Z",
          "last_comment_at": "2026-06-19T20:44:29Z",
          "last_comment_author": "bobheadxi"
        },
        {
          "number": 88,
          "created_at": "2026-07-02T19:25:34Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 89,
          "created_at": "2026-07-17T18:22:53Z",
          "last_comment_at": null,
          "last_comment_author": null
        }
      ],
      "last_merged_pr_at": "2026-07-26T15:22:18Z",
      "ci_last_conclusion": "SUCCESS",
      "oldest_open_issues": [
        {
          "number": 4,
          "created_at": "2014-12-16T18:39:37Z",
          "last_comment_at": "2014-12-17T03:38:08Z",
          "last_comment_author": "dmitshur"
        },
        {
          "number": 34,
          "created_at": "2019-04-11T09:38:51Z",
          "last_comment_at": "2019-04-24T07:12:00Z",
          "last_comment_author": "matthijskooijman"
        },
        {
          "number": 47,
          "created_at": "2020-05-27T11:49:54Z",
          "last_comment_at": null,
          "last_comment_author": null
        },
        {
          "number": 48,
          "created_at": "2020-05-28T01:36:52Z",
          "last_comment_at": null,
          "last_comment_author": null
        }
      ]
    }
  },
  "config": {
    "disabled_metrics": [],
    "disabled_categories": [],
    "disabled_components": {}
  },
  "source": {
    "url": "https://github.com/sourcegraph/go-diff",
    "host": "github.com",
    "name": "go-diff",
    "owner": "sourcegraph"
  },
  "metrics": {
    "overall": {
      "key": "overall",
      "band": "moderate",
      "name": "Overall health",
      "note": null,
      "notes": [],
      "value": 61,
      "inputs": {
        "security": 50,
        "vitality": 54,
        "community": 57,
        "governance": 80,
        "engineering": 56
      },
      "components": []
    },
    "categories": [
      {
        "key": "vitality",
        "band": "moderate",
        "name": "Vitality",
        "value": 54,
        "weight": 0.22,
        "metrics": [
          {
            "key": "development_activity",
            "band": "at_risk",
            "name": "Development activity",
            "note": null,
            "notes": [],
            "value": 46,
            "inputs": {
              "commits_last_year": 9,
              "human_commit_share": 1,
              "days_since_last_push": 4,
              "active_weeks_last_year": 2
            },
            "components": [
              {
                "key": "push_recency",
                "name": "Push recency",
                "detail": "last push 4 days ago",
                "points": 36,
                "status": "met",
                "details": [
                  {
                    "code": "push_recency",
                    "params": {
                      "days": 4
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_cadence",
                "name": "Commit cadence",
                "detail": "2/52 weeks with commits",
                "points": 1.4,
                "status": "partial",
                "details": [
                  {
                    "code": "commit_cadence_weeks",
                    "params": {
                      "weeks": 2
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "commit_volume",
                "name": "Commit volume",
                "detail": "9 commits in the last year",
                "points": 9,
                "status": "partial",
                "details": [
                  {
                    "code": "commits_last_year",
                    "params": {
                      "count": 9
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "openssf_scorecard_maintained",
                "name": "OpenSSF Scorecard: Maintained",
                "detail": "1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "release_discipline",
            "band": "moderate",
            "name": "Release discipline",
            "note": "Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "openssf_scorecard_signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 66,
            "inputs": {
              "releases_count": 5,
              "latest_release_tag": "v0.8.0",
              "releases_from_tags": false,
              "days_since_latest_release": 97,
              "mean_days_between_releases": 688.2
            },
            "components": [
              {
                "key": "ships_releases",
                "name": "Ships releases",
                "detail": "5 releases published",
                "points": 27,
                "status": "met",
                "details": [
                  {
                    "code": "releases_published",
                    "params": {
                      "count": 5
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "release_recency",
                "name": "Release recency",
                "detail": "latest release 97 days ago",
                "points": 27,
                "status": "partial",
                "details": [
                  {
                    "code": "release_recency",
                    "params": {
                      "days": 97
                    }
                  }
                ],
                "max_points": 36
              },
              {
                "key": "release_cadence",
                "name": "Release cadence",
                "detail": "a release every ~688.2 days",
                "points": 5.4,
                "status": "partial",
                "details": [
                  {
                    "code": "release_cadence",
                    "params": {
                      "gap": 688.2
                    }
                  }
                ],
                "max_points": 27
              },
              {
                "key": "openssf_scorecard_signed_releases",
                "name": "OpenSSF Scorecard: Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 10
              }
            ]
          },
          {
            "key": "abandonment",
            "band": "excellent",
            "name": "Abandonment",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "cap": null,
              "state": "maintained",
              "guards": [],
              "signals": [],
              "red_flag": false,
              "multiplier_pct": 100,
              "declared_reason": null,
              "unverified_reason": null,
              "unanswered_open_prs": null,
              "unanswered_open_issues": null,
              "days_since_last_merged_pr": null,
              "days_since_last_human_commit": 4,
              "days_since_last_human_commit_is_floor": false
            },
            "components": [
              {
                "key": "project_is_still_maintained",
                "name": "Project is still maintained",
                "detail": "last human commit 4 days ago",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "abandonment_maintained",
                    "params": {
                      "days": 4
                    }
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Is the project alive — is code being written and are releases shipping?"
      },
      {
        "key": "community",
        "band": "moderate",
        "name": "Community & Adoption",
        "value": 57,
        "weight": 0.18,
        "metrics": [
          {
            "key": "popularity",
            "band": "moderate",
            "name": "Popularity & adoption",
            "note": null,
            "notes": [],
            "value": 68,
            "inputs": {
              "forks": 52,
              "stars": 454,
              "watchers": 76,
              "growth_state": "unverified",
              "growth_factor_pct": 100,
              "growth_unverified_reason": "no_history"
            },
            "components": [
              {
                "key": "stars",
                "name": "Stars",
                "detail": "454 stars",
                "points": 43.1,
                "status": "partial",
                "details": [
                  {
                    "code": "stars",
                    "params": {
                      "count": 454
                    }
                  }
                ],
                "max_points": 60
              },
              {
                "key": "forks",
                "name": "Forks",
                "detail": "52 forks",
                "points": 14.2,
                "status": "partial",
                "details": [
                  {
                    "code": "forks",
                    "params": {
                      "count": 52
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "watchers",
                "name": "Watchers",
                "detail": "76 watchers",
                "points": 10.4,
                "status": "partial",
                "details": [
                  {
                    "code": "watchers",
                    "params": {
                      "count": 76
                    }
                  }
                ],
                "max_points": 15
              }
            ]
          },
          {
            "key": "community_health",
            "band": "at_risk",
            "name": "Community health",
            "note": null,
            "notes": [],
            "value": 44,
            "inputs": {
              "has_readme": true,
              "has_license": true,
              "has_contributing": false,
              "has_issue_template": false,
              "has_code_of_conduct": false,
              "has_pull_request_template": false
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 22.5,
                "status": "met",
                "details": [],
                "max_points": 22.5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "license file present, not a recognized license",
                "points": 16.9,
                "status": "partial",
                "details": [
                  {
                    "code": "license_custom",
                    "params": {}
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributing_guide",
                "name": "CONTRIBUTING guide",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 18
              },
              {
                "key": "code_of_conduct",
                "name": "Code of conduct",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 13.5
              },
              {
                "key": "issue_template",
                "name": "Issue template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.2
              },
              {
                "key": "pr_template",
                "name": "PR template",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.3
              }
            ]
          }
        ],
        "description": "Does the project have users, downloads, attention, and a welcoming setup for contributors?"
      },
      {
        "key": "governance",
        "band": "good",
        "name": "Sustainability & Governance",
        "value": 80,
        "weight": 0.24,
        "metrics": [
          {
            "key": "maintainer_resilience",
            "band": "good",
            "name": "Maintainer resilience (bus factor)",
            "note": null,
            "notes": [],
            "value": 75,
            "inputs": {
              "bus_factor": 3,
              "contributors_sampled": 24,
              "top_contributor_share": 0.321
            },
            "components": [
              {
                "key": "bus_factor",
                "name": "Bus factor",
                "detail": "3 contributor(s) cover half of all commits",
                "points": 36,
                "status": "partial",
                "details": [
                  {
                    "code": "bus_factor",
                    "params": {
                      "count": 3
                    }
                  }
                ],
                "max_points": 54
              },
              {
                "key": "commit_distribution",
                "name": "Commit distribution",
                "detail": "top contributor authored 32% of commits",
                "points": 15.3,
                "status": "partial",
                "details": [
                  {
                    "code": "top_contributor_share",
                    "params": {
                      "share": 32
                    }
                  }
                ],
                "max_points": 22.5
              },
              {
                "key": "contributor_breadth",
                "name": "Contributor breadth",
                "detail": "24 contributors",
                "points": 13.5,
                "status": "met",
                "details": [
                  {
                    "code": "contributors_sampled",
                    "params": {
                      "count": 24
                    }
                  }
                ],
                "max_points": 13.5
              },
              {
                "key": "openssf_scorecard_contributors",
                "name": "OpenSSF Scorecard: Contributors",
                "detail": "project has 20 contributing companies or organizations",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "responsiveness",
            "band": "good",
            "name": "Issue & PR responsiveness",
            "note": null,
            "notes": [],
            "value": 73,
            "inputs": {
              "merged_prs": 43,
              "open_issues": 4,
              "closed_issues": 18,
              "issue_closed_ratio": 0.818,
              "closed_unmerged_prs": 21
            },
            "components": [
              {
                "key": "issue_resolution",
                "name": "Issue resolution",
                "detail": "82% of issues closed",
                "points": 38.2,
                "status": "partial",
                "details": [
                  {
                    "code": "issues_closed_share",
                    "params": {
                      "share": 82
                    }
                  }
                ],
                "max_points": 46.75
              },
              {
                "key": "pr_acceptance",
                "name": "PR acceptance",
                "detail": "43/64 decided PRs merged",
                "points": 25.7,
                "status": "partial",
                "details": [
                  {
                    "code": "decided_prs_merged",
                    "params": {
                      "merged": 43,
                      "decided": 64
                    }
                  }
                ],
                "max_points": 38.25
              },
              {
                "key": "openssf_scorecard_code_review",
                "name": "OpenSSF Scorecard: Code-Review",
                "detail": "Found 13/20 approved changesets -- score normalized to 6",
                "points": 9,
                "status": "partial",
                "details": [],
                "max_points": 15
              }
            ]
          },
          {
            "key": "stewardship",
            "band": "good",
            "name": "Ownership & stewardship",
            "note": null,
            "notes": [],
            "value": 78,
            "inputs": {
              "followers": 1813,
              "owner_type": "Organization",
              "is_verified": null,
              "owner_login": "sourcegraph",
              "public_repos": 601,
              "account_age_days": 4874
            },
            "components": [
              {
                "key": "ownership_backing",
                "name": "Ownership backing",
                "detail": "organization-owned",
                "points": 30,
                "status": "met",
                "details": [
                  {
                    "code": "owner_organization",
                    "params": {}
                  }
                ],
                "max_points": 30
              },
              {
                "key": "verified_domain",
                "name": "Verified domain",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 20
              },
              {
                "key": "owner_reach",
                "name": "Owner reach",
                "detail": "1,813 followers of sourcegraph",
                "points": 23.4,
                "status": "partial",
                "details": [
                  {
                    "code": "owner_followers",
                    "params": {
                      "count": 1813,
                      "login": "sourcegraph"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "track_record",
                "name": "Track record",
                "detail": "601 public repos, account ~13 yr old",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "public_repos",
                    "params": {
                      "count": 601
                    }
                  },
                  {
                    "code": "account_age_years",
                    "params": {
                      "years": 13
                    }
                  }
                ],
                "max_points": 25
              }
            ]
          },
          {
            "key": "package_maintenance",
            "band": "excellent",
            "name": "Package maintenance",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "packages": [
                "github.com/sourcegraph/go-diff"
              ],
              "ecosystems": "go",
              "any_deprecated": false,
              "min_days_since_publish": 119
            },
            "components": [
              {
                "key": "published_resolvable",
                "name": "Published & resolvable",
                "detail": "1 package(s) on go",
                "points": 25,
                "status": "met",
                "details": [
                  {
                    "code": "packages_published",
                    "params": {
                      "count": 1,
                      "ecosystems": "go"
                    }
                  }
                ],
                "max_points": 25
              },
              {
                "key": "publish_recency",
                "name": "Publish recency",
                "detail": "latest publish 119 days ago",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "publish_recency",
                    "params": {
                      "days": 119
                    }
                  }
                ],
                "max_points": 35
              },
              {
                "key": "version_history",
                "name": "Version history",
                "detail": "8 published versions",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "published_versions",
                    "params": {
                      "count": 8
                    }
                  }
                ],
                "max_points": 20
              },
              {
                "key": "not_deprecated",
                "name": "Not deprecated",
                "detail": "active, not deprecated or yanked",
                "points": 20,
                "status": "met",
                "details": [
                  {
                    "code": "package_not_deprecated",
                    "params": {}
                  }
                ],
                "max_points": 20
              }
            ]
          }
        ],
        "description": "Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?"
      },
      {
        "key": "engineering",
        "band": "moderate",
        "name": "Engineering Quality",
        "value": 56,
        "weight": 0.2,
        "metrics": [
          {
            "key": "engineering_practices",
            "band": "moderate",
            "name": "Engineering practices",
            "note": null,
            "notes": [],
            "value": 50,
            "inputs": {
              "has_ci": true,
              "has_tests": true,
              "has_editorconfig": false,
              "has_linter_config": false,
              "has_precommit_config": false
            },
            "components": [
              {
                "key": "ci_workflows",
                "name": "CI workflows",
                "detail": "1 workflow(s)",
                "points": 24,
                "status": "met",
                "details": [
                  {
                    "code": "ci_workflows",
                    "params": {
                      "count": 1
                    }
                  }
                ],
                "max_points": 24
              },
              {
                "key": "tests_present",
                "name": "Tests present",
                "detail": null,
                "points": 24,
                "status": "met",
                "details": [],
                "max_points": 24
              },
              {
                "key": "linter_config",
                "name": "Linter config",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 16
              },
              {
                "key": "pre_commit_hooks",
                "name": "Pre-commit hooks",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 9.6
              },
              {
                "key": "editorconfig",
                "name": ".editorconfig",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 6.4
              },
              {
                "key": "openssf_scorecard_ci_tests",
                "name": "OpenSSF Scorecard: CI-Tests",
                "detail": "2 out of 14 merged PRs checked by a CI test -- score normalized to 1",
                "points": 2,
                "status": "partial",
                "details": [],
                "max_points": 20
              }
            ]
          },
          {
            "key": "documentation",
            "band": "moderate",
            "name": "Documentation",
            "note": null,
            "notes": [],
            "value": 65,
            "inputs": {
              "topics": [],
              "has_wiki": true,
              "homepage": "https://sourcegraph.com/github.com/sourcegraph/go-diff",
              "has_readme": true,
              "has_docs_dir": false,
              "has_description": true
            },
            "components": [
              {
                "key": "readme",
                "name": "README",
                "detail": null,
                "points": 30,
                "status": "met",
                "details": [],
                "max_points": 30
              },
              {
                "key": "documentation_directory",
                "name": "Documentation directory",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 25
              },
              {
                "key": "documentation_homepage_site",
                "name": "Documentation / homepage site",
                "detail": "https://sourcegraph.com/github.com/sourcegraph/go-diff",
                "points": 15,
                "status": "met",
                "details": [],
                "max_points": 15
              },
              {
                "key": "repository_description",
                "name": "Repository description",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "topics",
                "name": "Topics",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              },
              {
                "key": "wiki",
                "name": "Wiki",
                "detail": null,
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              }
            ]
          }
        ],
        "description": "Are baseline engineering and documentation practices in place?"
      },
      {
        "key": "security",
        "band": "moderate",
        "name": "Security",
        "value": 50,
        "weight": 0.16,
        "metrics": [
          {
            "key": "security_posture",
            "band": "at_risk",
            "name": "Security posture",
            "note": "Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "packaging",
                    "signed_releases"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              }
            ],
            "value": 37,
            "inputs": {
              "source": "openssf_scorecard",
              "checks_evaluated": 16,
              "scorecard_version": "v5.5.0",
              "checks_inconclusive": 2,
              "scorecard_aggregate": 3.7
            },
            "components": [
              {
                "key": "binary_artifacts",
                "name": "Binary-Artifacts",
                "detail": "no binaries found in the repo",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "branch_protection",
                "name": "Branch-Protection",
                "detail": "branch protection not enabled on development/release branches",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "ci_tests",
                "name": "CI-Tests",
                "detail": "2 out of 14 merged PRs checked by a CI test -- score normalized to 1",
                "points": 0.2,
                "status": "partial",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "cii_best_practices",
                "name": "CII-Best-Practices",
                "detail": "no effort to earn an OpenSSF best practices badge detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "code_review",
                "name": "Code-Review",
                "detail": "Found 13/20 approved changesets -- score normalized to 6",
                "points": 4.5,
                "status": "partial",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "contributors",
                "name": "Contributors",
                "detail": "project has 20 contributing companies or organizations",
                "points": 2.5,
                "status": "met",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "dangerous_workflow",
                "name": "Dangerous-Workflow",
                "detail": "no dangerous workflow patterns detected",
                "points": 10,
                "status": "met",
                "details": [],
                "max_points": 10
              },
              {
                "key": "dependency_update_tool",
                "name": "Dependency-Update-Tool",
                "detail": "no update tool detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "fuzzing",
                "name": "Fuzzing",
                "detail": "project is not fuzzed",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "license",
                "name": "License",
                "detail": "license file detected",
                "points": 2.2,
                "status": "partial",
                "details": [],
                "max_points": 2.5
              },
              {
                "key": "maintained",
                "name": "Maintained",
                "detail": "1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "packaging",
                "name": "Packaging",
                "detail": "packaging workflow not detected",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 5
              },
              {
                "key": "pinned_dependencies",
                "name": "Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "sast",
                "name": "SAST",
                "detail": "SAST tool is not run on all commits -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "security_policy",
                "name": "Security-Policy",
                "detail": "security policy file not detected",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 5
              },
              {
                "key": "signed_releases",
                "name": "Signed-Releases",
                "detail": "no releases found",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "no_data",
                    "params": {}
                  }
                ],
                "max_points": 7.5
              },
              {
                "key": "token_permissions",
                "name": "Token-Permissions",
                "detail": "detected GitHub workflow tokens with excessive permissions",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 7.5
              },
              {
                "key": "vulnerabilities",
                "name": "Vulnerabilities",
                "detail": "0 existing vulnerabilities detected",
                "points": 7.5,
                "status": "met",
                "details": [],
                "max_points": 7.5
              }
            ]
          },
          {
            "key": "dependency_advisories",
            "band": "excellent",
            "name": "Dependency advisories",
            "note": "Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 1 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.",
            "notes": [
              {
                "code": "excluded_no_data",
                "params": {
                  "components": [
                    "indirect_dependencies_free_of_known_advisories",
                    "no_advisories_left_outstanding"
                  ]
                }
              },
              {
                "code": "weights_renormalized",
                "params": {}
              },
              {
                "code": "advisories_scope_repository",
                "params": {
                  "assessed": 1
                }
              },
              {
                "code": "advisories_repo_graph_caveat",
                "params": {}
              },
              {
                "code": "advisories_reachability",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "source": "osv",
              "advisories": 0,
              "affected_packages": 0,
              "assessed_packages": 1,
              "unassessed_packages": 0,
              "affected_by_severity": "none",
              "direct_affected_packages": 0
            },
            "components": [
              {
                "key": "direct_dependencies_free_of_known_advisories",
                "name": "Direct dependencies free of known advisories",
                "detail": "no direct dependency carries a known advisory",
                "points": 35,
                "status": "met",
                "details": [
                  {
                    "code": "no_direct_advisories",
                    "params": {}
                  }
                ],
                "max_points": 35
              },
              {
                "key": "indirect_dependencies_free_of_known_advisories",
                "name": "Indirect dependencies free of known advisories",
                "detail": "transitive set not separable from development and test dependencies in this scope",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "advisories_scope_not_separable",
                    "params": {}
                  }
                ],
                "max_points": 25
              },
              {
                "key": "no_advisories_left_outstanding",
                "name": "No advisories left outstanding",
                "detail": "no advisory carries a publication date",
                "points": 0,
                "status": "excluded",
                "details": [
                  {
                    "code": "advisories_no_publication_date",
                    "params": {}
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "malicious_dependencies",
            "band": "excellent",
            "name": "Malicious dependencies",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "source": "osv",
              "meaning": "reported as a malicious package by the OpenSSF corpus; the remedy is removal or moving off the compromised name, never an upgrade of the same artifact. Versions the registry has since pulled are listed but not scored",
              "packages": [],
              "red_flag": false,
              "assessed_packages": 1,
              "malicious_packages": 0,
              "direct_malicious_packages": 0,
              "withdrawn_malicious_packages": 0,
              "installable_malicious_packages": 0
            },
            "components": [
              {
                "key": "no_dependency_reported_as_a_malicious_package",
                "name": "No dependency reported as a malicious package",
                "detail": "no dependency is reported as a malicious package",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "no_malicious_dependencies",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          },
          {
            "key": "high_risk_jurisdiction_exposure",
            "band": "excellent",
            "name": "High-Risk Jurisdiction Exposure",
            "note": "Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.",
            "notes": [
              {
                "code": "jurisdiction_evidence_limits",
                "params": {}
              }
            ],
            "value": 100,
            "inputs": {
              "meaning": "self-published location evidence; not nationality or citizenship",
              "red_flag": false,
              "exposures": [],
              "policy_countries": [
                "Russia",
                "Iran",
                "North Korea"
              ],
              "review_only_matches": 0,
              "assessed_self_published_locations": 15
            },
            "components": [
              {
                "key": "policy_exposure_multiplier",
                "name": "Policy exposure multiplier",
                "detail": "no confirmed policy-scope location match",
                "points": 100,
                "status": "met",
                "details": [
                  {
                    "code": "jurisdiction_no_match",
                    "params": {}
                  }
                ],
                "max_points": 100
              }
            ]
          }
        ],
        "description": "Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure?"
      },
      {
        "key": "ai_readiness",
        "band": "moderate",
        "name": "AI Readiness",
        "value": 54,
        "weight": 0,
        "metrics": [
          {
            "key": "ai_agent_context",
            "band": "critical",
            "name": "Agent context & guidance",
            "note": null,
            "notes": [],
            "value": 27,
            "inputs": {
              "has_llms_txt": false,
              "legible_history_share": 0.51,
              "agent_instruction_files": [],
              "agent_instruction_max_bytes": null
            },
            "components": [
              {
                "key": "agent_instructions",
                "name": "Agent instructions",
                "detail": "no CLAUDE.md / AGENTS.md / editor rules",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_instructions",
                    "params": {}
                  }
                ],
                "max_points": 45
              },
              {
                "key": "machine_readable_docs_llms_txt",
                "name": "Machine-readable docs (llms.txt)",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 15
              },
              {
                "key": "legible_commit_history",
                "name": "Legible commit history",
                "detail": "51 of 100 human commits state their intent (structured subject or explanatory body)",
                "points": 27.2,
                "status": "partial",
                "details": [
                  {
                    "code": "legible_history",
                    "params": {
                      "legible": 51,
                      "sampled": 100
                    }
                  }
                ],
                "max_points": 40
              }
            ]
          },
          {
            "key": "ai_verify_loop",
            "band": "moderate",
            "name": "Verify loop (build / test / typecheck)",
            "note": null,
            "notes": [],
            "value": 56,
            "inputs": {
              "has_nix": false,
              "has_tests": true,
              "lockfiles": [
                "go.sum"
              ],
              "has_dockerfile": false,
              "typed_language": true,
              "bootstrap_files": [],
              "has_devcontainer": false,
              "has_linter_config": false,
              "typecheck_configs": [],
              "agent_commit_share": 0,
              "toolchain_manifests": [
                "go.mod"
              ],
              "dependency_bot_commit_share": 0
            },
            "components": [
              {
                "key": "one_command_bootstrap",
                "name": "One-command bootstrap",
                "detail": "go.mod (toolchain convention, no task runner)",
                "points": 12.6,
                "status": "partial",
                "details": [
                  {
                    "code": "toolchain_convention",
                    "params": {
                      "files": "go.mod"
                    }
                  }
                ],
                "max_points": 18
              },
              {
                "key": "automated_tests",
                "name": "Automated tests",
                "detail": null,
                "points": 22,
                "status": "met",
                "details": [],
                "max_points": 22
              },
              {
                "key": "lint_format_config",
                "name": "Lint / format config",
                "detail": null,
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 11
              },
              {
                "key": "static_type_checking",
                "name": "Static type checking",
                "detail": "Go (statically typed)",
                "points": 11,
                "status": "met",
                "details": [
                  {
                    "code": "statically_typed_language",
                    "params": {
                      "language": "Go"
                    }
                  }
                ],
                "max_points": 11
              },
              {
                "key": "reproducible_environment",
                "name": "Reproducible environment",
                "detail": "lockfile",
                "points": 10,
                "status": "met",
                "details": [
                  {
                    "code": "file_list",
                    "params": {
                      "files": "lockfile"
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "demonstrated_agent_practice",
                "name": "Demonstrated agent practice",
                "detail": "no agent-authored commits among the last 100",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_agent_authored_commits",
                    "params": {
                      "sampled": 100
                    }
                  }
                ],
                "max_points": 10
              },
              {
                "key": "automated_maintenance",
                "name": "Automated maintenance",
                "detail": "no automated dependency updates observed",
                "points": 0,
                "status": "missed",
                "details": [
                  {
                    "code": "no_dependency_automation",
                    "params": {}
                  }
                ],
                "max_points": 8
              },
              {
                "key": "openssf_scorecard_pinned_dependencies",
                "name": "OpenSSF Scorecard: Pinned-Dependencies",
                "detail": "dependency not pinned by hash detected -- score normalized to 0",
                "points": 0,
                "status": "missed",
                "details": [],
                "max_points": 10
              }
            ]
          },
          {
            "key": "ai_code_legibility",
            "band": "excellent",
            "name": "Code legibility for models",
            "note": null,
            "notes": [],
            "value": 100,
            "inputs": {
              "primary_language": "Go",
              "largest_source_bytes": 33369,
              "source_files_sampled": 12,
              "oversized_source_files": 0
            },
            "components": [
              {
                "key": "type_checkable_code",
                "name": "Type-checkable code",
                "detail": "Go (statically typed)",
                "points": 45,
                "status": "met",
                "details": [
                  {
                    "code": "statically_typed_language",
                    "params": {
                      "language": "Go"
                    }
                  }
                ],
                "max_points": 45
              },
              {
                "key": "manageable_file_sizes",
                "name": "Manageable file sizes",
                "detail": "0/12 source files over 60KB",
                "points": 55,
                "status": "met",
                "details": [
                  {
                    "code": "oversized_source_files",
                    "params": {
                      "kb": 60,
                      "sampled": 12,
                      "oversized": 0
                    }
                  }
                ],
                "max_points": 55
              }
            ]
          }
        ],
        "description": "How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score."
      }
    ],
    "metrics_version": "1.13.0"
  },
  "warnings": [
    "Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token"
  ],
  "report_type": "repository",
  "generated_at": "2026-07-30T23:17:40.459347Z",
  "schema_version": "0.27.0",
  "badge_url": "https://raw.githubusercontent.com/inspect-software/badges/main/v1/s/sourcegraph/go-diff.svg",
  "full_name": "sourcegraph/go-diff",
  "license_state": "custom",
  "license_spdx": null
}

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v1.13.0, schema v0.27.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsGo.