A public, English-language dataset of laws, regulations, decrees and plans on electricity, energy, clean technology supply chains and trade in Asia-Pacific, with China and the United States as reference economies, maintained by the Power Transformation Lab at the University of California San Diego. For each instrument it records what it does, which earlier instruments it amends, revokes or implements, and whether it is in force, with a link to the official source.
Site: https://power-lab.github.io/policy-tracker/
Status: under development (see docs/ROADMAP.md). Every entry is currently unverified: entries were compiled from desk research and secondary sources and have not yet been checked against the official text. Not legal advice.
Instruments are classified in four categories, each with a fixed set of topics applied identically in every economy (data/categories.csv, data/topics.csv):
| Category | Topics |
|---|---|
| Electricity | framework law, power plans, grid codes and market rules, tariffs and PPA terms, renewable pricing and procurement, rooftop solar, wheeling and direct PPAs, captive power, coal phase-out, energy storage, cross-border electricity trade |
| Energy and climate | energy strategy, energy efficiency, carbon pricing, coal supply, electric vehicle adoption |
| Supply chain and industrial policy | critical minerals and downstreaming, local content requirements, manufacturing incentives, foreign investment rules |
| Trade | import tariffs, trade remedies, import approvals and standards, export restrictions |
Technology-specific instruments are also tagged by technology (solar PV, wind, batteries, electric vehicles, grid equipment, hydrogen).
| Page | Path | Contents |
|---|---|---|
| Home | / |
Search, summary counts, categories and countries |
| Explore | /rules/ |
Search and filters (category, country, topic, status, technology, document type, verification); filters are kept in the URL |
| Instrument | /rules/<id>/ |
Summary, key facts, amendment history, implementing instruments, related instruments, citation, corrections |
| Countries | /countries/<code>/ |
Legal hierarchy, sources searched, timeline by topic, instruments in force by topic |
| Topics | /topics/ and /topics/<id>/ |
Topics by category; for each economy, the instruments in force and their history |
| Compare | /compare/ |
Topic × economy table of instruments in force |
| Timeline | /timeline/ |
All instruments by date of signature |
| Data | /data/ |
Field definitions and allowed values; CSV and JSON downloads when enabled |
| About | /about/ |
Scope, definitions, method, search protocol, limitations |
| Updates | /updates/ |
Log of every change to the data, with an Atom feed |
| Reviewer view | /review/ |
Queue and editor for reviewers |
data/*.csv ──► scripts/build.py ──► scripts/render.py ──► _site/ ──► GitHub Pages
validate, derive Jinja2 templates,
back-links SVG charts, downloads
data/rules.csvis the single source of truth: one row per instrument. Field definitions are indata/fields.csvand on the Data page.scripts/build.pyvalidates the data and warns when a status contradicts the recorded links.scripts/render.pygenerates every page into_site/(not committed);scripts/check_site.pyfails the build on broken links..github/workflows/pages.ymlvalidates, tests, builds and deploysmainto GitHub Pages..github/workflows/review-to-pr.ymlturns review issues from the reviewer view into pull requests (docs/REVIEWING.md)..github/workflows/portal-scan.ymlchecks registered official portals every Monday and opens a triage issue for new documents. With anANTHROPIC_API_KEYrepository secret, it also drafts an unverified entry for each new document;.github/workflows/accept-draft.ymladds a draft on a maintainer's/accept <id>comment.- The change log on each instrument page and the Updates page are generated from the git history of
data/rules.csv.
How instruments are identified, screened and recorded is set out in docs/SEARCH-PROTOCOL.md. The machine-readable parts are in data/search/: search modules (modules.csv), the source registry (sources.csv), the multilingual vocabulary (vocabulary.csv), scan adapter options (adapters.json), and the screening and search logs.
python3 scripts/search_plan.py supply-chain --country ID --topic local-contentpython3 scripts/check_search.pyThe first command prints a search plan (sources in tier order, queries in each language, instruments to use for citation chasing); the second checks the framework files and runs in CI.
pip install -r requirements.txtpython3 scripts/render.py && python3 scripts/check_site.pypython3 -m http.server -d _site 8000python3 -m unittest discover -s tests- Edit
data/rules.csv(list fields are separated by;). - Link to earlier instruments by id in
amends,revokes,implementsoroverrides; the reverse links are derived by the build. - Run
python3 scripts/build.pyand resolve any errors or warnings. - Open a pull request; the site rebuilds when it is merged into
main.
- Pages: Settings → Pages → Source: GitHub Actions.
- Actions: Settings → Actions → General → Workflow permissions: read and write, and allow GitHub Actions to create and approve pull requests (needed by the review and draft workflows).
- Optional secret:
ANTHROPIC_API_KEY, for model-drafted entries in the weekly scan.
config.json → site controls two settings:
listed(currentlyfalse): whenfalse, every page carries anoindexrobots tag and no sitemap is published, so search engines are asked not to list the site. The pages remain reachable by anyone with the address. This is not access control.downloads(currentlyfalse): whenfalse, the CSV files are not published and the Data page shows field definitions only.data/rules.jsonis still published because the reviewer view reads it.
The repository itself is public, so data/rules.csv can be read on GitHub regardless of these settings.
- docs/ROADMAP.md: objective, status and next steps
- docs/SEARCH-PROTOCOL.md: search and inclusion protocol
- docs/ADDING-A-COUNTRY.md: step-by-step guide to adding an economy, with a reusable research brief
- docs/SCHEMA-NOTES.md: schema decisions and open questions
- docs/REVIEWING.md: review workflow
- docs/scouting/: source and coverage reports by economy
Data, summaries and documentation: CC BY 4.0. Code: MIT. The official legal texts the tracker links to are not covered by either.