github source

github.code_frequency

fail

Get 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.unprocessable

Filter 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.unprocessable

Filter 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.unprocessable

Filter values don't pass GitHub's input validation.

Document the workaround in the page; do not retry without a known-good input
Retry with alternate repos
retry-strategy

If 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

VariantTrialsMinMedianMaxRow countsErrors
minimal222421 ms25692 ms28963 ms[0, 0]2
realistic228575 ms28739 ms28903 ms[0, 0]2
edge221937 ms24872 ms27807 ms[0, 0]2

Latency per trial

minimalmedian 25692ms
t122421mst228963ms
scale: 0–28963 ms
realisticmedian 28739ms
t128575mst228903ms
scale: 0–28903 ms
edgemedian 24872ms
t121937mst227807ms
scale: 0–27807 ms

Probe variants — every command + output

minimal2 trials
min 22421ms · median 25692ms · max 28963ms · rows 0,0

smallest valid query

Command
SELECT * FROM github.code_frequency WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 1
Trials + 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
realistic2 trials
min 28575ms · median 28739ms · max 28903ms · rows 0,0

typical user query

Command
SELECT * FROM github.code_frequency WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 25
Trials + 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
edge2 trials
min 21937ms · median 24872ms · max 27807ms · rows 0,0

edge: larger limit

Command
SELECT * FROM github.code_frequency WHERE owner = 'anomalyco' AND repo = 'opencode' LIMIT 200
Trials + 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 / comboTrial #LatencyRowsStatusFirst key returned
minimalt122421ms0error
minimalt228963ms0error
realistict128575ms0error
realistict228903ms0error
edget121937ms0error
edget227807ms0error
Probed by bld-dabqr1nqj5pc73dgn3h0-676t6 at 2026-08-31T05:43:12Z
JSON record: reports/github/tables/code_frequency.json
first_run_at: 2026-08-31T05:43:12Z
last_retried_at: 2026-08-31T05:43:12Z
retry_count: 0
View version history →