Day 1: Setup overview
Distributional Impact of Policies. Fiscal Policy and Growth Department
2026-04-20
To be able to reproduce examples and follow along with AI for coding in Stata, you need to have a minimal setup in place (or optimal setup if possible). This includes:
If in doubt, follow the detailed instructions in the prerequisites and verify your setup.
Follow instructions on software setup and verification in prerequisites.
If any problems arise: follow the troubleshooting guide or contact ITHelp@worldbankgroup.org.
Why? To use version control, collaborate with colleagues, and access GitHub Copilot AI features.
1. Create account
2. Join WB organization
Submit eServices request to join github.com/worldbank
Accept the invitation email within 7 days
Why? To get AI code assistance in Positron and GitHub.
| Private Free | WB Organization | Private Copilot Pro | Private Copilot Pro+ | |
|---|---|---|---|---|
| Cost | Free | Free (WB-funded) | ~$10/mo | ~$39/mo |
| Premium requests/mo | 50 | 300 | 500 | 1,500 |
| Advanced models (Claude, GPT) | ❌ | ✅ | ✅ | ✅ |
| Inline completions | ⚠️ Old models | ✅ | ✅ | ✅ |
| Overage billing | N/A | Chargeback process | Credit card | Credit card |
Important
You can only have one active plan. WB access automatically cancels and refunds your private subscription. Switching back requires re-subscribing and is possible at the end of a month.
What are premium requests?
Every chat/agent interaction is a premium request (with Claude, GPT-5, Gemini).
Monthly included allowances
| Plan | Req./month |
|---|---|
| WB org | 300 |
| Private Copilot Pro | 500 |
| Private Copilot Pro+ | 1,500 |
Check usage at GitHub Settings → Copilot.

Exhausted your premium requests?
Set a budget (~$0.04/request):
When your usage reaches 100%, capable AI models stop working.
For the course, it is recommended to have WB Copilot access + good prompting.
Fall-back: Personal GH + Private Copilot Pro subscription
| Setup | Repos | Copilot |
|---|---|---|
| No GitHub account | ✅ Public / ❌ Personal / ❌ WB | ❌ |
| Personal account (free) | +✅Personal / ❌ WB | ⚠️ Only old LLMs |
| + Copilot Pro/Pro+ (private) | +✅Personal / ❌ WB | ✅Claude+ 300/1500 |
| + Premium req. budget (private) | +✅Personal / ❌ WB | ✅ + extra at 0.04$/request (credit card) |
| WB Org member | +✅ WB | ⚠️ No premium requests |
| + or Private Copilot & budget | +✅ WB | ✅Claude+ 300/1500 + extra at 0.04$/request (credit card) |
| + or WB Copilot access | +✅ WB | ✅ 300 req/mo |
| + WB chargeback | +✅ WB | ✅ + extra at 0.04$/request (WB chargeback) |
Why use GitHub @ World Bank?
It is a modern standard of research and collaboration.
GitHub integration improves your code, version control, and collaboration standards, leading to better quality, transparency, and reproducibility.
WB Open Source https://opensource.worldbank.org/ — builds open source communities and shares open data, software, and research to advance transparent, evidence-based progress toward the SDGs.
Viva Engage: stay connected with the community.
Support: github@worldbank.org
The Positron Assistant connects GitHub Copilot to Positron, enabling AI features in the editor and chat.
Enable
Ctrl+,) → search positron.assistant.enable → ☑️Connect to Copilot
Ctrl+Shift+P → Configure Language Model ProvidersUse
Chat: Open Chat)Tip
You can also sign in via the Accounts icon (bottom-left of Activity Bar).
Claude Code is an AI coding assistant that calls Anthropic’s Claude API directly — similar to Positron Assistant.
Note
Claude API is not yet approved at WB — currently in review for release next FY.
We access the same Anthropic models (Claude Sonnet/Opus 4.5) through GitHub Copilot.
The LLMs are identical. Differences are only in:
Warning
Claude Code is not designed for data science and lacks the IDE integration of Positron + GitHub Copilot.
Do not use OneDrive for coding with Positron during this course! (temporary)
Step 1 — Create working folders
C:\WBG\ai\ on your local drive (not OneDrive).Step 2 — Copy exercise templates and data into C:\WBG\ai\ai4coding-practice\ from:
Data is shared through OneDrive (WB only): ai4coding-data
It is read-only. You can sync it to your OneDrive and use it from there.
If you encounter problems, copy the data to C:\WBG\ai\ai4coding-data\.
Your local folder structure should look like:
Quick Example 0 to verify your setup.
C:\WBG\ai\ai4coding-practice\ex00-positron-test in Positron.| Need | Contact |
|---|---|
| Software installation issues | ITHelp@worldbankgroup.org |
| GitHub / Copilot access | github@worldbank.org |
| WB premium request chargeback | github@worldbank.org + manager CC |
| Course materials | worldbank.github.io/ai4coding |
| Course examples | github.com/worldbank/ai4coding-examples |
| Course data | OneDrive (WB only): ai4coding-data |
Example 1: Explore Positron & Copilot
Get familiar with AI assistance features — create a Stata do-file, write code with AI, and execute it in the console.
Pre-recorded self-study (18 min) → Example 1
Example 2: Understand & clean data
Use AI to build a data dictionary, document harmonization, generate modular cleaning code, and verify results.
Full details and prompts → Example 2
worldbank.github.io/ai4coding © 2026 World Bank.