Commit d964f4d
committed
Address PR 88 review: self-contained reducer snippets + accurate shapes
- concat_flatten / merge_all doc snippets: add the missing
`from typing import Annotated` / `from pydantic import Field`
imports so each recipe is self-contained.
- Reword the per-instance collection-shape sentence: a mapping
per-instance value lands list[dict] (merge_all), not list[list[X]]
— name the two non-flat shapes separately instead of lumping the
mapping case under "list-of-lists".
AGENTS.md regenerated from docs/agent/non-obvious-shapes.md.1 parent aa79d6e commit d964f4d
2 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
203 | 206 | | |
204 | 207 | | |
205 | 208 | | |
| |||
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
214 | 221 | | |
215 | 222 | | |
216 | 223 | | |
217 | 224 | | |
218 | 225 | | |
219 | 226 | | |
220 | | - | |
| 227 | + | |
221 | 228 | | |
222 | 229 | | |
223 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1065 | 1068 | | |
1066 | 1069 | | |
1067 | 1070 | | |
| |||
1073 | 1076 | | |
1074 | 1077 | | |
1075 | 1078 | | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1076 | 1083 | | |
1077 | 1084 | | |
1078 | 1085 | | |
1079 | 1086 | | |
1080 | 1087 | | |
1081 | 1088 | | |
1082 | | - | |
| 1089 | + | |
1083 | 1090 | | |
1084 | 1091 | | |
1085 | 1092 | | |
| |||
0 commit comments