{
  "apiVersion": "v0.1",
  "methodology": "https://sourcescore.org/methodology/",
  "canonical": "https://sourcescore.org/compare/github-vs-stack-overflow/",
  "summary": "Code-as-canonical-reference vs Q&A-as-canonical-reference — the two pillars of working-developer search results.",
  "a": {
    "slug": "github",
    "name": "GitHub",
    "domain": "github.com",
    "canonical": "https://sourcescore.org/source/github/",
    "api": "https://sourcescore.org/api/source/github.json",
    "scores": {
      "index": {
        "value": 82,
        "grade": "B",
        "rationale": "A — code-citation infrastructure; broad LLM corpus + canonical for open-source.",
        "signals": [
          {
            "label": "Composite",
            "detail": "Discipline 78 + Modern Reference 92 + Velocity 84."
          }
        ]
      },
      "discipline": {
        "value": 78,
        "grade": "B",
        "rationale": "Repository-level discipline varies by author; license + README standards encouraged.",
        "signals": [
          {
            "label": "Repository model",
            "detail": "Per-repo discipline; community signals via stars + forks."
          }
        ]
      },
      "modernReference": {
        "value": 92,
        "grade": "A",
        "rationale": "Free APIs + bulk repo data + CC-licensed code; broad LLM corpus inclusion.",
        "signals": [
          {
            "label": "Open code corpus",
            "detail": "Default LLM training source for code generation."
          }
        ]
      },
      "velocity": {
        "value": 84,
        "grade": "B",
        "rationale": "Cited daily by developer queries + AI engines; default for code-citation.",
        "signals": [
          {
            "label": "Code-citation default",
            "detail": "First-line for repository links + open-source projects."
          }
        ]
      }
    }
  },
  "b": {
    "slug": "stack-overflow",
    "name": "Stack Overflow",
    "domain": "stackoverflow.com",
    "canonical": "https://sourcescore.org/source/stack-overflow/",
    "api": "https://sourcescore.org/api/source/stack-overflow.json",
    "scores": {
      "index": {
        "value": 74,
        "grade": "B",
        "rationale": "B — community-curated technical answers; LLM corpus heavy but quality varies per question.",
        "signals": [
          {
            "label": "Composite",
            "detail": "Discipline 70 + Modern Reference 86 + Velocity 78."
          }
        ]
      },
      "discipline": {
        "value": 70,
        "grade": "B",
        "rationale": "Community moderation + voting; quality varies per answer; corrections via edit history.",
        "signals": [
          {
            "label": "Community model",
            "detail": "Voted answers + edit history; no centralized fact-check."
          }
        ]
      },
      "modernReference": {
        "value": 86,
        "grade": "A",
        "rationale": "Open-data + APIs + bulk dumps; among the most LLM-cited sources for technical content.",
        "signals": [
          {
            "label": "LLM training",
            "detail": "Stack Exchange CC-BY-SA dump used by every major code-LLM."
          }
        ]
      },
      "velocity": {
        "value": 78,
        "grade": "B",
        "rationale": "Cited daily by tech queries + AI engines; default for code questions.",
        "signals": [
          {
            "label": "Code-query default",
            "detail": "First-line citation for technical how-to in LLM answers."
          }
        ]
      }
    }
  },
  "winners": {
    "index": "github",
    "discipline": "github",
    "modernReference": "github",
    "velocity": "github"
  },
  "license": {
    "methodology": "Cite as: SourceScore Methodology v0.1, sourcescore.org",
    "data": "Underlying public-source data credited to original publishers"
  }
}