Skip to content

Commit b78aefa

Browse files
mmckyclaude
andauthored
Generate the missing heading map for autodiff.md (#142)
autodiff.md was the only file in the whole five-edition estate with sections but no heading map in its frontmatter — 248 of 249 carry one. Found while auditing whether a new deterministic headingMapCorrect check would false-gate production PRs (QuantEcon/action-translation#148); it turned out to be a genuine gap rather than a false positive. The heading map bridges English heading IDs to translated headings, and sync uses it to locate existing translations section by section. Without it, the next sync of this lecture has nothing to match against. Generated with `translate headingmap`, which compares source and target sections by position and makes no LLM calls — 5 top-level sections, 16 entries, all matched cleanly (5s/5t). A full-edition dry run reports the other 25 files unchanged, so this is exactly one file. The state file's tool-version stamp moves 0.13.1 -> 0.22.0 as a side effect of the write; that field records the CLI that last wrote the state, so the bump is accurate. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b536d7c commit b78aefa

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.translate/state/autodiff.md.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ synced-at: "2026-04-08"
33
model: claude-sonnet-4-6
44
mode: NEW
55
section-count: 5
6-
tool-version: 0.13.1
6+
tool-version: 0.22.0

lectures/autodiff.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@ kernelspec:
99
display_name: Python 3 (ipykernel)
1010
language: python
1111
name: python3
12+
translation:
13+
title: ماجراهایی با مشتق‌گیری خودکار
14+
headings:
15+
Overview: مرور کلی
16+
What is automatic differentiation?: مشتق‌گیری خودکار چیست؟
17+
What is automatic differentiation?::Autodiff is not finite differences: مشتق‌گیری خودکار، تفاضل محدود نیست
18+
What is automatic differentiation?::Autodiff is not symbolic calculus: مشتق‌گیری خودکار، حساب نمادین نیست
19+
What is automatic differentiation?::Autodiff: مشتق‌گیری خودکار
20+
Some experiments: برخی آزمایش‌ها
21+
Some experiments::A differentiable function: یک تابع قابل مشتق‌گیری
22+
Some experiments::Absolute value function: تابع قدر مطلق
23+
Some experiments::Differentiating through control flow: مشتق‌گیری از طریق جریان کنترل
24+
Some experiments::Differentiating through a linear interpolation: مشتق‌گیری از طریق درون‌یابی خطی
25+
Gradient Descent: گرادیان کاهشی
26+
Gradient Descent::A function for gradient descent: یک تابع برای گرادیان کاهشی
27+
Gradient Descent::Simulated data: داده‌های شبیه‌سازی‌شده
28+
Gradient Descent::Minimizing squared loss by gradient descent: کمینه‌سازی تابع زیان مربعات با گرادیان کاهشی
29+
Gradient Descent::Adding a squared term: افزودن یک جمله مربعی
30+
Exercises: تمرین‌ها
1231
---
1332

1433
# ماجراهایی با مشتق‌گیری خودکار

0 commit comments

Comments
 (0)