Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
e25562c
Add Practical Guide to AI-Ready Data Dissemination (cookbook) with na…
avsolatorio Oct 2, 2026
03bc52e
Add cookbook landing page with cards; move the dissemination guide to…
avsolatorio Oct 2, 2026
f6a0414
Cookbook: remove references to external bodies from the draft note
avsolatorio Oct 2, 2026
3ff1368
Cookbook: recipes with runnable scripts, templates, running example, …
avsolatorio Oct 2, 2026
5a50d37
Cookbook: build on published standards (SDMX, DDI, DCAT, DataCite, Wo…
avsolatorio Oct 2, 2026
0ad14a4
Cookbook: hide the page TOC on the standards page so the tables have …
avsolatorio Oct 2, 2026
6f93b2b
Cookbook: three-layer metadata check (schema, office profile, validit…
avsolatorio Oct 2, 2026
9ce873d
Cookbook: generalize the metadata check to all World Bank metadata ty…
avsolatorio Oct 2, 2026
5d8e10a
Cookbook scripts: type hints, context managers, lazy schema loading, …
avsolatorio Oct 2, 2026
92794fe
Tests and CI for the cookbook scripts; MCP example updated for mcp 2.…
avsolatorio Oct 2, 2026
33d12de
Site: Development Data Group logo in the home hero, cookbook landing,…
avsolatorio Oct 2, 2026
c1bced0
Cookbook self-assessment: level labels no longer wrap; stacked layout…
avsolatorio Oct 2, 2026
5f78133
Add 'From assessment to action': each AI-readiness assessment dimensi…
avsolatorio Oct 7, 2026
83d7bda
In-practice page: name sections instead of comma-and-tag headings; sp…
avsolatorio Oct 8, 2026
04f93c7
Copy: remove comma-and-tag constructions from the home dimension ques…
avsolatorio Oct 8, 2026
2bece83
In-practice page: formal register for titles, labels, and dimension s…
avsolatorio Oct 8, 2026
f5981a3
Copy: formal register across the cookbook and home page; chapter and …
avsolatorio Oct 8, 2026
97d15b2
Cookbook authoring standard: guide page, template, scaffold script, s…
avsolatorio Oct 8, 2026
e638a0c
Site: program logo as the navbar brand with a dark-mode variant; favi…
avsolatorio Oct 8, 2026
177daf6
Cookbook: Practical Guide to AI-Ready Microdata Documentation (six ch…
avsolatorio Oct 8, 2026
9edcadd
Cookbook: Practical Guide to Extracting Data from Documents (six chap…
avsolatorio Oct 8, 2026
a8b05da
Cookbook: Practical Guide to Monitoring Data Use (six chapters, scrip…
avsolatorio Oct 8, 2026
3b70c9e
Cookbook: Practical Guide to Serving Official Statistics to AI Agents…
avsolatorio Oct 8, 2026
04b5211
Cookbook: Practical Guide to Metadata Curation with Language Models (…
avsolatorio Oct 8, 2026
5de286c
Microdata cookbook: chapters on documentation from existing files and…
avsolatorio Oct 8, 2026
5c6a842
Documents cookbook: chapters on scanned documents, series across docu…
avsolatorio Oct 8, 2026
48cc48e
Monitoring cookbook: chapters on access statistics, formal citations …
avsolatorio Oct 8, 2026
1826444
Agents cookbook: chapters on context beyond the tools, access control…
avsolatorio Oct 8, 2026
e0920f3
Curation cookbook: chapters on migration of legacy records and transl…
avsolatorio Oct 8, 2026
1164fff
Curation cookbook: wording
avsolatorio Oct 8, 2026
704398b
Dissemination cookbook: scope notes on every recipe, resources per ch…
avsolatorio Oct 8, 2026
f51fc56
Cookbooks: quote front matter values with colons; Data Snapshots link…
avsolatorio Oct 8, 2026
88d8f14
Cookbook: Practical Guide to Evaluation Suites for Statistical AI (ni…
avsolatorio Oct 8, 2026
e2c7b5a
Cookbooks: Language Models in Statistical Production (seven chapters)…
avsolatorio Oct 8, 2026
87f9778
Cookbooks: review pass; prerequisites and first steps on every overvi…
avsolatorio Oct 8, 2026
816c72e
Cookbooks: every recipe rewritten for readers without a language-mode…
avsolatorio Oct 8, 2026
2461339
Cookbook: Practical Guide to Publishing ML-Ready Datasets (eight chap…
avsolatorio Oct 9, 2026
2422968
Readiness map: API access (2.4) marked as directly covered; NADA cata…
avsolatorio Oct 9, 2026
468110d
Cookbook scripts: use established libraries (pandas, scikit-learn, sc…
avsolatorio Oct 9, 2026
0cc8223
check_tool_manifest: name the tool in schema error messages
avsolatorio Oct 9, 2026
2912036
check_tool_manifest: report a missing example as before
avsolatorio Oct 9, 2026
ecb9a64
Cookbook scripts: library refactor completed for production, syntheti…
avsolatorio Oct 9, 2026
8f1b8db
Titles: admonition titles renamed to name the thing; checker now scan…
avsolatorio Oct 9, 2026
45e965c
Site: 'A modern statistical office', an interactive composite portrai…
avsolatorio Oct 9, 2026
071907a
Modern office page: heading and lede without a clause tag; checker re…
avsolatorio Oct 9, 2026
a61a854
Review pass over the site and the cookbooks
avsolatorio Oct 9, 2026
eee8fe9
refresh_cookbook_outputs: lint fixes
avsolatorio Oct 9, 2026
d971829
refresh_cookbook_outputs: explicit check argument
avsolatorio Oct 9, 2026
804517d
Operationalizing page: "What it takes" per Pillar II dimension
avsolatorio Oct 9, 2026
a69a316
Sync tooling for the cookbooks: shared glossary, example facts, refer…
avsolatorio Oct 9, 2026
40efc32
check_example_facts: drop an unused variable
avsolatorio Oct 9, 2026
6fa1d84
convert_notebooks: executable bit to match its shebang
avsolatorio Oct 9, 2026
50d1189
Front page: Development Data Group and program logos side by side in …
avsolatorio Oct 9, 2026
3f70dc2
Front page: cookbook groups as one card with four sections
avsolatorio Oct 9, 2026
bee1002
Front page: both hero logos at the same height
avsolatorio Oct 9, 2026
8b04ea6
Front page: phone-width fixes for the demos and section spacing
avsolatorio Oct 9, 2026
318f196
Agents cookbook, chapter 2: rewritten in a fuller explanatory register
avsolatorio Oct 9, 2026
cba8e7e
Agents cookbook rewritten in the explanatory register with worked exa…
avsolatorio Oct 9, 2026
c10eea0
Dissemination cookbook: fuller rationales and results, worked example…
avsolatorio Oct 9, 2026
75f70ce
Microdata cookbook: fuller rationales and results, worked examples in…
avsolatorio Oct 9, 2026
a50c51e
Documents cookbook: fuller results, worked examples in every recipe, …
avsolatorio Oct 9, 2026
e29ffd3
Monitoring cookbook: fuller rationales and results, worked examples i…
avsolatorio Oct 9, 2026
12560cd
Monitoring cookbook: shorter worked-example sentences
avsolatorio Oct 9, 2026
03615d0
Curation cookbook: fuller rationales and results, worked examples in …
avsolatorio Oct 9, 2026
867c610
Evaluation cookbook: fuller results, worked examples in every recipe,…
avsolatorio Oct 9, 2026
e412e4c
Production cookbook: fuller results, worked examples in every recipe,…
avsolatorio Oct 9, 2026
6565a92
Synthetic data cookbook: fuller results, worked examples in every rec…
avsolatorio Oct 9, 2026
b4ed2c0
Small models cookbook: fuller results, worked examples in every recip…
avsolatorio Oct 9, 2026
365984e
Small models cookbook: shorter worked-example sentences
avsolatorio Oct 9, 2026
7d2131b
ML-ready datasets cookbook: fuller results, worked examples in every …
avsolatorio Oct 9, 2026
22a1ab7
Unlisted roadmap page for an operational project on NSO AI-readiness,…
avsolatorio Oct 9, 2026
b9fc84c
Cookbook visibility switch: one hidden list drives unlisted pages, fi…
avsolatorio Oct 12, 2026
4be920a
Governance and risk cookbook (hidden): eight chapters on the AI-use p…
avsolatorio Oct 12, 2026
e04052c
Assessment to pathway cookbook (hidden): seven chapters from the read…
avsolatorio Oct 12, 2026
bde06f0
AI assistants at work cookbook (hidden): six chapters on the task car…
avsolatorio Oct 12, 2026
1494104
Register the three new cookbooks as hidden: sidebars, cards and readi…
avsolatorio Oct 12, 2026
17a914f
End-to-end reference implementation: records in the World Bank schema…
avsolatorio Oct 13, 2026
b02f0c0
Docs: introduction rewritten in the pillar framing with a where-to-go…
avsolatorio Oct 13, 2026
6de56f1
Implementation hub and tools catalogue: one content module with a sta…
avsolatorio Oct 13, 2026
59dc5e7
Claims and planning: NADA described without an MCP interface and the …
avsolatorio Oct 13, 2026
76cce13
Proof-Carrying Numbers marked deployable: the TypeScript packages are…
avsolatorio Oct 13, 2026
44b3930
Ledes on the hub, the tools page, the homepage hub section, and the n…
avsolatorio Oct 13, 2026
2d380ba
Readiness map: chapter links from all fourteen cookbooks under the di…
avsolatorio Oct 14, 2026
2eabaa1
Cookbook review: licences, schema fields, NADA AI, and source attribu…
avsolatorio Oct 16, 2026
57c57cb
Tools catalogue: the prototype status renamed to pre-release, defined…
avsolatorio Oct 18, 2026
90c0a15
Homepage examples: the steps inside each example follow the scroll po…
avsolatorio Oct 18, 2026
c3bef55
Footer: links grouped in four titled columns beside the brand block, …
avsolatorio Oct 18, 2026
5114b00
Program contact address changed to aifordata@worldbank.org across the…
avsolatorio Oct 18, 2026
97b5204
Cookbooks: working-draft banner on every chapter, a guidance disclaim…
avsolatorio Oct 18, 2026
ead0efb
Cookbooks: legal review caution on the access, release, and licence c…
avsolatorio Oct 18, 2026
e77951e
Licence notice: code under MIT with the IGO rider, documentation and …
avsolatorio Oct 18, 2026
86eba58
Modern office page unlisted: reached from a low-contrast footer link …
avsolatorio Oct 18, 2026
35a808a
Site pages: the Metadata Reviewer as an optional add-on of the Metada…
avsolatorio Oct 19, 2026
f12cbcd
Docs: two pillars on the introduction, the MCP page in descriptive re…
avsolatorio Oct 19, 2026
2492333
Tool docs: quick starts rewritten against the real function signature…
avsolatorio Oct 19, 2026
cde0615
Merge remote-tracking branch 'upstream/main' into feat/readiness-in-p…
avsolatorio Oct 19, 2026
6f86c4b
Cookbook scripts workflow: skip the shared folder in the quoted-outpu…
avsolatorio Oct 19, 2026
2a60160
Investment view regenerated from the current readiness map, with hidd…
avsolatorio Oct 19, 2026
95d0021
Cookbook fixtures: food insecurity and malnutrition as concepts of th…
avsolatorio Oct 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 51 additions & 0 deletions .github/workflows/cookbook-scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Cookbook scripts

# Runs the lint, the structure checker, and the tests for the scripts shipped
# with the cookbooks whenever they, the cookbook text, their tests, or the
# pinned schema fixtures change.

on:
push:
branches: [main]
paths:
- "website/static/cookbook-files/**"
- "cookbook/**"
- "scripts/docs/check_cookbooks.py"
- "tests/test_cookbook_*.py"
- "tests/fixtures/wb-schemas/**"
- ".github/workflows/cookbook-scripts.yml"
pull_request:
paths:
- "website/static/cookbook-files/**"
- "cookbook/**"
- "scripts/docs/check_cookbooks.py"
- "tests/test_cookbook_*.py"
- "tests/fixtures/wb-schemas/**"
- ".github/workflows/cookbook-scripts.yml"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install test dependencies
run: pip install pytest ruff -r website/static/cookbook-files/requirements.txt
- name: Lint
run: ruff check website/static/cookbook-files scripts/docs
- name: Check cookbook structure and writing rules
run: python scripts/docs/check_cookbooks.py
- name: Quoted outputs match the scripts
run: for cb in $(ls cookbook | grep -v -e '^_' -e authoring); do python scripts/docs/refresh_cookbook_outputs.py $cb --check | tail -1 | grep -q '^0 block' || exit 1; done
- name: Glossary pages match the shared glossary
run: python scripts/docs/build_glossaries.py --check
- name: Overview tables and landing cards match the chapter files
run: python scripts/docs/sync_cookbook_indexes.py --check
- name: Running example agrees with its facts file
run: python scripts/docs/check_example_facts.py
- name: Investment view is up to date
run: python scripts/docs/investment_view.py && git diff --exit-code website/src/content/investment.json
- name: Test
run: pytest tests/test_cookbook_scripts.py tests/test_cookbook_microdata.py tests/test_cookbook_documents.py tests/test_cookbook_datause.py tests/test_cookbook_agents.py tests/test_cookbook_curation.py tests/test_cookbook_evaluation.py tests/test_cookbook_production.py tests/test_cookbook_synthetic.py tests/test_cookbook_small_models.py tests/test_cookbook_ml_ready.py tests/test_cookbook_governance.py tests/test_cookbook_pathway.py tests/test_cookbook_assistants.py -p no:cacheprovider --noconftest -q
39 changes: 39 additions & 0 deletions .github/workflows/reference-implementation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Reference implementation

# Runs the end-to-end reference implementation (reference/end_to_end) from a
# clean checkout: lint, the pipeline in both modes, and the tests that check
# every step's outcome and that the committed sample run is current.

on:
push:
branches: [main]
paths:
- "reference/end_to_end/**"
- "tests/test_reference_end_to_end.py"
- "tests/fixtures/wb-schemas/**"
- ".github/workflows/reference-implementation.yml"
pull_request:
paths:
- "reference/end_to_end/**"
- "tests/test_reference_end_to_end.py"
- "tests/fixtures/wb-schemas/**"
- ".github/workflows/reference-implementation.yml"

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install
run: pip install pytest ruff -r reference/end_to_end/requirements.txt
- name: Lint
run: ruff check reference/end_to_end tests/test_reference_end_to_end.py
- name: Run the pipeline from a clean checkout
run: python reference/end_to_end/run.py --out /tmp/e2e
- name: Run the pipeline with planted errors (exit status 1 is the expected outcome)
run: python reference/end_to_end/run.py --out /tmp/e2e-planted --inject-error || test $? -eq 1
- name: Test
run: pytest tests/test_reference_end_to_end.py -p no:cacheprovider --noconftest -q
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,6 @@ website/node_modules/

# Notebook -> Markdown conversion output, generated by scripts/docs/convert_notebooks.py
docs/notebooks/

# schema cache written by cookbook check_metadata.py
website/static/cookbook-files/**/wb-schemas/
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ license: MIT
repository-code: "https://github.com/worldbank/ai4data"
url: "https://worldbank.github.io/ai4data"
contact:
- email: ai4data@worldbank.org
- email: aifordata@worldbank.org
affiliation: "World Bank Group"
22 changes: 22 additions & 0 deletions LICENSE-CONTENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Licence for documentation and other content

The documentation, the cookbooks, and the other text, figures, and website
content in this repository, under `docs/`, `cookbook/`, `research/*/docs/`,
and `website/`, are licensed under the Creative Commons Attribution 4.0
International License (CC BY 4.0) unless otherwise specified in the file or
on the page.

Licence text: https://creativecommons.org/licenses/by/4.0/legalcode

Attribution: World Bank Group, Office of the WBG Chief Statistician and
Development Data Group, AI for Data – Data for AI program,
https://github.com/worldbank/ai4data.

The code in this repository, including the scripts under
`website/static/cookbook-files/`, is licensed under the MIT License together
with the World Bank IGO Rider, in `LICENSE`.

The guides and cookbooks are working material of the program. They do not
represent official World Bank Group guidance or policy and are not legal
advice; an organization applies them under its own statistical law, data
protection rules, and institutional policies.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The documentation includes:

For questions, issues, or contributions, please contact:

- **Development Data Group**: ai4data@worldbank.org
- **Development Data Group**: aifordata@worldbank.org
- **GitHub Issues**: [https://github.com/worldbank/ai4data/issues](https://github.com/worldbank/ai4data/issues)

## Vision
Expand All @@ -156,4 +156,6 @@ The **AI for Data – Data for AI** program reflects the World Bank's commitment

## License

This project is licensed under the MIT License together with the World Bank IGO Rider. The Rider is purely procedural: it reserves all privileges and immunities enjoyed by the World Bank, without adding restrictions to the MIT permissions. Please review both files before using, distributing or contributing.
The code in this repository is licensed under the MIT License together with the World Bank IGO Rider, both in [LICENSE](LICENSE). The Rider is procedural: it reserves the privileges and immunities of the World Bank and adds no restriction to the MIT permissions.

The documentation, the cookbooks, and the other text, figures, and website content under `docs/`, `cookbook/`, `research/*/docs/`, and `website/` are licensed under the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/) unless otherwise specified, as stated in [LICENSE-CONTENT.md](LICENSE-CONTENT.md). The guides and cookbooks are working material of the program; they do not represent official World Bank Group guidance or policy and are not legal advice.
Loading
Loading