|
| 1 | +DESCRIPTION > |
| 2 | + - `repo_health_score_copy_ds` contains comprehensive health score metrics and benchmarks per repository. |
| 3 | + - Created via copy pipe with computed health metrics for repository-level analytics. |
| 4 | + - Aggregates multiple health dimensions including contributors, popularity, development activity, and security. |
| 5 | + - `channel` is the repository URL used as the primary key. |
| 6 | + - `activeContributors` is the unique contributor count for the previous quarter. |
| 7 | + - `activeContributorsBenchmark` is the benchmark score (0-5) for active contributors. |
| 8 | + - `contributorDependencyCount` measures contributor concentration risk (bus factor). |
| 9 | + - `contributorDependencyPercentage` is the combined contribution percentage of dependent contributors. |
| 10 | + - `contributorDependencyBenchmark` is the benchmark score (0-5) for contributor dependency. |
| 11 | + - `organizationDependencyCount` measures organizational concentration risk. |
| 12 | + - `organizationDependencyPercentage` is the combined contribution percentage of dependent organizations. |
| 13 | + - `organizationDependencyBenchmark` is the benchmark score (0-5) for organization dependency. |
| 14 | + - `retentionRate` is the quarter-over-quarter contributor retention percentage. |
| 15 | + - `retentionBenchmark` is the benchmark score (0-5) for retention. |
| 16 | + - `stars` is the total star count for the repository. |
| 17 | + - `starsBenchmark` is the benchmark score (0-5) for stars. |
| 18 | + - `forks` is the total fork count for the repository. |
| 19 | + - `forksBenchmark` is the benchmark score (0-5) for forks. |
| 20 | + - `issueResolution` is the average days to close issues (nullable for repos without issues). |
| 21 | + - `issueResolutionBenchmark` is the benchmark score (0-5) for issue resolution. |
| 22 | + - `pullRequests` is the PR count in the last 365 days. |
| 23 | + - `pullRequestsBenchmark` is the benchmark score (0-5) for pull requests. |
| 24 | + - `mergeLeadTime` is the average days to merge PRs (nullable for repos without PRs). |
| 25 | + - `mergeLeadTimeBenchmark` is the benchmark score (0-5) for merge lead time. |
| 26 | + - `activeDaysCount` is the count of distinct active days in the last 365 days. |
| 27 | + - `activeDaysBenchmark` is the benchmark score (0-5) for active days. |
| 28 | + - `contributionsOutsideWorkHours` is the percentage of contributions outside work hours. |
| 29 | + - `contributionsOutsideWorkHoursBenchmark` is the benchmark score (0-5) for outside work hours. |
| 30 | + - `securityPercentage` is the health score percentage for the security category (0-100). |
| 31 | + - `contributorPercentage` is the health score percentage for the contributors category (0-100). |
| 32 | + - `popularityPercentage` is the health score percentage for the popularity category (0-100). |
| 33 | + - `developmentPercentage` is the health score percentage for the development category (0-100). |
| 34 | + - `overallScore` is the computed overall health score combining all dimensions. |
| 35 | + |
| 36 | +TAGS "Repository health", "Metrics" |
| 37 | + |
| 38 | +SCHEMA > |
| 39 | + `channel` String, |
| 40 | + `activeContributors` UInt64, |
| 41 | + `activeContributorsBenchmark` UInt64, |
| 42 | + `contributorDependencyCount` UInt64, |
| 43 | + `contributorDependencyPercentage` Float64, |
| 44 | + `contributorDependencyBenchmark` UInt64, |
| 45 | + `organizationDependencyCount` UInt64, |
| 46 | + `organizationDependencyPercentage` Float64, |
| 47 | + `organizationDependencyBenchmark` UInt64, |
| 48 | + `retentionRate` Float64, |
| 49 | + `retentionBenchmark` UInt64, |
| 50 | + `stars` UInt64, |
| 51 | + `starsBenchmark` UInt64, |
| 52 | + `forks` UInt64, |
| 53 | + `forksBenchmark` UInt64, |
| 54 | + `issueResolution` Nullable(Float64), |
| 55 | + `issueResolutionBenchmark` UInt64, |
| 56 | + `pullRequests` UInt64, |
| 57 | + `pullRequestsBenchmark` UInt64, |
| 58 | + `mergeLeadTime` Nullable(Float64), |
| 59 | + `mergeLeadTimeBenchmark` UInt64, |
| 60 | + `activeDaysCount` UInt64, |
| 61 | + `activeDaysBenchmark` UInt64, |
| 62 | + `contributionsOutsideWorkHours` Float64, |
| 63 | + `contributionsOutsideWorkHoursBenchmark` UInt64, |
| 64 | + `securityPercentage` Float64, |
| 65 | + `contributorPercentage` Float64, |
| 66 | + `popularityPercentage` Float64, |
| 67 | + `developmentPercentage` Float64, |
| 68 | + `overallScore` Float64 |
| 69 | + |
| 70 | +ENGINE MergeTree |
| 71 | +ENGINE_SORTING_KEY channel |
0 commit comments