Skip to content
HALOWERK

Data Conversion and Public Data

gh language concentration

GitHub language concentration calculates the sum of squared byte shares across reported language buckets. Use it when an agent needs a code composition or dependency planning metric.

POST https://daten.halowerk.com/v1/gh-language-concentration

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
repostringYes
ownerstringNo
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "repo": {
      "type": "string",
      "maxLength": 240,
      "minLength": 1
    },
    "owner": {
      "type": "string",
      "maxLength": 39,
      "minLength": 1
    },
    "snapshot": {
      "enum": [
        "2026-11-26"
      ]
    }
  },
  "required": [
    "repo"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "repo": "cli/cli",
  "snapshot": "2026-11-26"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "buckets": {
          "type": "integer"
        },
        "concentration": {
          "type": [
            "number",
            "null"
          ]
        },
        "effective_buckets": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "buckets",
        "concentration",
        "effective_buckets"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’