github source
fail
View version history →
github.code_frequency
failGet the weekly commit activity
Requires owner and repo. Keep queries repository-scoped; fan out across repos client-side when you need broader coverage.
owner, repo captured 2026-08-31 05:43:12Zmedian 28739 ms
Verdict: FALSE
All variants failed: 6 errors, 0 successful.
What to do
GitHub returned 422 (validation error)
upstream.unprocessableFilter values don't pass GitHub's input validation.
The filter value violates GitHub's validation (e.g. SHAs must be 40 chars)GitHub returned 422 (validation error)
upstream.unprocessableFilter values don't pass GitHub's input validation.
Search queries need qualifiers (e.g. is:issue, is:pr, repo:owner/name)GitHub returned 422 (validation error)
upstream.unprocessableFilter values don't pass GitHub's input validation.
Document the workaround in the page; do not retry without a known-good inputRetry with alternate repos
retry-strategyIf the failure is 404 on `anomalyco/opencode`, try `sst/opencode` or `octocat/Hello-World`. The retry script does this automatically.
python3 scripts/retry_batch.py --source github --only-category <category>rendering…
Summary
| Variant | Trials | Min | Median | Max | Row counts | Errors |
|---|---|---|---|---|---|---|
| minimal | 2 | 22421 ms | 25692 ms | 28963 ms | [0, 0] | 2 |
| realistic | 2 | 28575 ms | 28739 ms | 28903 ms | [0, 0] | 2 |
| edge | 2 | 21937 ms | 24872 ms | 27807 ms | [0, 0] | 2 |
Latency per trial
minimalmedian 25692ms
scale: 0–28963 ms
realisticmedian 28739ms
scale: 0–28903 ms
edgemedian 24872ms
scale: 0–27807 ms
Probe variants — every command + output
minimal
2 trialsmin 22421ms · median 25692ms · max 28963ms · rows 0,0
smallest valid query
Command
SELECT * FROM github.code_frequency WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 1Trials + output
trial 1·22421ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"repository must have fewer than 10000 commits","documentation_url":"https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/stats/code_frequency
trial 2·28963ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"repository must have fewer than 10000 commits","documentation_url":"https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/stats/code_frequency
realistic
2 trialsmin 28575ms · median 28739ms · max 28903ms · rows 0,0
typical user query
Command
SELECT * FROM github.code_frequency WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 25Trials + output
trial 1·28575ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"repository must have fewer than 10000 commits","documentation_url":"https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/stats/code_frequency
trial 2·28903ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"repository must have fewer than 10000 commits","documentation_url":"https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/stats/code_frequency
edge
2 trialsmin 21937ms · median 24872ms · max 27807ms · rows 0,0
edge: larger limit
Command
SELECT * FROM github.code_frequency WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 200Trials + output
trial 1·21937ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"repository must have fewer than 10000 commits","documentation_url":"https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/stats/code_frequency
trial 2·27807ms·rows 0isError=true
Error
Error: Source request failed (422)
Detail: {"message":"repository must have fewer than 10000 commits","documentation_url":"https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity","status":"422"} [GET] https://api.github.com/repos/anomalyco/opencode/stats/code_frequency
All returned rowsacross all non-errored trials · filterable · paginated
0 rows stored · 0 returned · page 1/1
No rows captured. Trials either returned isError=true (errors shown above) or the probe runner didn't capture full output rows.
Trial comparison
| Variant / combo | Trial # | Latency | Rows | Status | First key returned |
|---|---|---|---|---|---|
| minimal | t1 | 22421ms | 0 | error | — |
| minimal | t2 | 28963ms | 0 | error | — |
| realistic | t1 | 28575ms | 0 | error | — |
| realistic | t2 | 28903ms | 0 | error | — |
| edge | t1 | 21937ms | 0 | error | — |
| edge | t2 | 27807ms | 0 | error | — |
Probed by
bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T05:43:12ZJSON record:
reports/github/tables/code_frequency.jsonfirst_run_at:
2026-08-31T05:43:12Zlast_retried_at:
2026-08-31T05:43:12Zretry_count:
0