From 85ecbe6b2f52639218d32ad24c79c16480727478 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Sat, 18 Jul 2026 17:36:51 +1000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=84=20resync=20house=5Fauction.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .translate/state/house_auction.md.yml | 6 ++++++ lectures/house_auction.md | 30 +++++++++++++++++++++++---- 2 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 .translate/state/house_auction.md.yml diff --git a/.translate/state/house_auction.md.yml b/.translate/state/house_auction.md.yml new file mode 100644 index 00000000..085f4688 --- /dev/null +++ b/.translate/state/house_auction.md.yml @@ -0,0 +1,6 @@ +source-sha: d1bebc33e0d3ad33ab870f219e018c3123538b0f +synced-at: "2026-07-18" +model: claude-sonnet-5 +mode: RESYNC +section-count: 12 +tool-version: 0.17.0 diff --git a/lectures/house_auction.md b/lectures/house_auction.md index 4205645f..d0b74451 100644 --- a/lectures/house_auction.md +++ b/lectures/house_auction.md @@ -9,6 +9,29 @@ kernelspec: display_name: Python 3 (ipykernel) language: python name: python3 +translation: + title: 多种商品分配机制 + headings: + Overview: 概述 + Ascending Bids Auction for Multiple Goods: 多商品递增出价拍卖 + A Benevolent Planner: 仁慈的规划者 + Equivalence of Allocations: 分配的等价性 + Ascending Bid Auction: 递增出价拍卖 + Ascending Bid Auction::Basic Setting: 基本设置 + Pseudocode: 伪代码 + An Example: 示例 + An Example::round 1: 第一轮 + An Example::round 2: 第二轮 + An Example::round 3: 第三轮 + An Example::round 4: 第四轮 + An Example::round 5: 第5轮 + A Python Class: Python类 + Robustness Checks: 稳健性检验 + A Groves-Clarke Mechanism: Groves-Clarke 机制 + An Example Solved by Hand: 手工解决的示例 + Another Python Class: 另一个Python类 + Another Python Class::Elaborations: 详细说明 + Another Python Class::Social Cost: 社会成本 --- # 多种商品分配机制 @@ -17,7 +40,7 @@ kernelspec: --- tags: [hide-output] --- -!pip install prettytable +!pip install "prettytable<3.18" ``` ## 概述 @@ -537,7 +560,7 @@ def submit_bid(loser_list, p, ϵ, v, bid_info): ``` ```{code-cell} ipython3 -p,bid_info = submit_bid(失败者列表, p, ϵ, v, bid_info) +p,bid_info = submit_bid(loser_list, p, ϵ, v, bid_info) ``` ```{code-cell} ipython3 @@ -1388,5 +1411,4 @@ gc_mechanism_exc_2.start() print("\n买家2的社会成本:", np.sum(gc_mechanism_exc_2.Q*gc_mechanism_exc_2.V_orig)-np.sum(np.delete(gc_mechanism.Q*gc_mechanism.V_orig, 2, axis=1))) -``` - +``` \ No newline at end of file From 914b1ad3dbf10292839377d259f5bad9e42da910 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Sun, 19 Jul 2026 14:04:12 +1000 Subject: [PATCH 2/2] Restore trailing newline (engine issue tracked in QuantEcon/action-translation#116) Co-Authored-By: Claude Fable 5 --- lectures/house_auction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/house_auction.md b/lectures/house_auction.md index d0b74451..6f07cc9e 100644 --- a/lectures/house_auction.md +++ b/lectures/house_auction.md @@ -1411,4 +1411,4 @@ gc_mechanism_exc_2.start() print("\n买家2的社会成本:", np.sum(gc_mechanism_exc_2.Q*gc_mechanism_exc_2.V_orig)-np.sum(np.delete(gc_mechanism.Q*gc_mechanism.V_orig, 2, axis=1))) -``` \ No newline at end of file +```