feat: initial import#1
Merged
Merged
Conversation
Multi-signal estimate of AI coding agent adoption from public GitHub data. Includes: - Core pipeline: github_ai_daily.py, three BigQuery fetchers, estimate_carbon.py, dashboard.py, run_pipeline.py, anomaly_analysis.py, build_carbon_workbook.py. - Intervention analysis: event-window CAR (primary), BEAST changepoint, first-diff ITS, BSTS, synthetic DiD; vendored synthdid.py; worked example around the Oct 20, 2025 Claude Code web launch. - 7 shipped CSVs (~450 days commits, ~392 days BigQuery signals, donor pool). - Documentation: README.md, AGENTS.md (operating manual for AI agents), CLAUDE.md (imports AGENTS.md so Claude Code picks up the same instructions), METHODOLOGY.md, CONTRIBUTING.md, .env.example. - 95-test pytest suite + .github/workflows/ for daily/weekly/CI. - 9 reference PDFs of cited academic papers. License: MIT.
18d2bb9 to
ee7c129
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Single-commit initial import of the AI coding agent adoption study. Repo is private; will be flipped to public after final review.
The previous internal working repo (
CNaught-Inc/coding-agent-adoption) stays private for ongoing internal work — this is a clean snapshot built from the working tree of that repo'schore/public-release-prepbranch, with no history bleed (no prior commits, no deleted files reachable viagit log).What's in this repo
Pipeline (9 scripts):
github_ai_daily.py— daily commit-attribution fetcher (GitHub Search API).fetch_branch_activity.py,fetch_branch_creates.py,fetch_daily_totals.py— BigQuery fetchers for GH Archive signals.estimate_carbon.py— Jegham-framework carbon/energy estimation.dashboard.py— Plotly HTML dashboard.run_pipeline.py— orchestrator (daily/weekly modes, Slack alerting, git commit-back).anomaly_analysis.py— signature-drift scanner.build_carbon_workbook.py— Excel QA workbook.Intervention analysis (10 modules):
synthdid(PyPI build broken on Python 3.14).Data (7 CSVs, ~2 MB):
Documentation:
README.md— three no-credential quickstarts + full credentialed setup.AGENTS.md— operating manual for AI coding agents (file map, autonomous walkthrough, walk-the-user-through-it mode, token-availability cheat sheet, guardrails, footguns).METHODOLOGY.md— full methodology, signal definitions, caveats.CONTRIBUTING.md,LICENSE(Apache 2.0),.env.example.references/— 9 cited academic papers.Tests: 95-test pytest suite, runs in ~4s, GitHub Actions CI configured.
Test plan
python3 -m pytest tests/ -v— 95 passedpython3 dashboard.pybuilds the dashboard from shipped CSVs (464 days, 30 tools, ~1.6 MB output)python3 run_intervention_analysis.pyproducesoutputs/intervention/with 12 artifacts; headline CAR = 60,067 commits, z = 5.59Before flipping to public
coding-agent-emissions) or pick something else.GH_SEARCH_TOKEN,GCP_SA_KEY, optionalSLACK_WEBHOOK_URLas repo secrets if scheduled CI should run after publication..github/workflows/schedules are in the state you want before public.🤖 Generated with Claude Code