Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

business_cycle: three statements the World Bank data do not bear out

未关闭 适合新手
#851 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
markdown
领域
documentation

调研方向

从 lectures/business_cycle.md 的第 320 行和第 751–760 行开始,将其中的陈述与 data-lectures/gdp_growth_annual.csv 和 private_credit_to_gdp.csv 进行比较。更正正文或序列措辞及图注,然后在 QuantEcon/lecture-wasm#85 中同步进行相同的修正;完成的标准是三项说法都与引用的 World Bank 序列相符。

由索引模型根据 Issue 内容生成。

描述

Found on 2026-09-30 while porting lectures/business_cycle.md to lecture-wasm (QuantEcon/lecture-wasm#85), which reads the same World Bank series from cached snapshots. All three are prose or caption problems in intro main (901462c). The code and figures are fine.

  1. Argentina in the 1970s (line 320). The lecture says "Argentina's growth rate did not fall during the two developed economy recessions in the 1970s and 1990s." The figure shades 1973–1975 and 1990–1992. World Bank NY.GDP.MKTP.KD.ZG for Argentina is 2.81% in 1973, 5.53% in 1974 and −0.03% in 1975 (−2.02% in 1976), so growth did fall in the 1970s band. In the 1990s band it rose (−2.47% in 1990, 9.13% in 1991, 7.94% in 1992), so that half holds.
  2. UK credit "from 1970" (line 754). The lecture says "The following graph shows the domestic credit to the private sector as a percentage of GDP by banks from 1970 to the present in the UK." The series starts in 1960, at 17.34% of GDP (19.82% in 1970), and the figure plots it from 1960.
  3. "by banks" (lines 751 and 754, and the caption at line 760). The code reads FS.AST.PRVT.GD.ZS, which the World Bank names "Domestic credit to private sector (% of GDP)", covering credit from all financial corporations. The "by banks" series is FD.AST.PRVT.GD.ZS, "Domestic credit to private sector by banks (% of GDP)". Either the text and caption drop "by banks", or the code reads FD.AST.PRVT.GD.ZS.

The values come from the World Bank API as cached in QuantEcon/data-lectures (gdp_growth_annual.csv and private_credit_to_gdp.csv). On 2026-09-30 they were identical to live wbgapi reads. The series names come from api.worldbank.org/v2/indicator/<id>.

QuantEcon/lecture-wasm#85 carries the same text unchanged, so a fix here should be mirrored there.

主要语言
Jupyter Notebook
星标
65
派生
31
平均合并
2 天 15 小时
30 天内合并 PR
11

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

QuantEcon/lecture-python-intro 的其他 Issue

查看 QuantEcon/lecture-python-intro 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。