You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+60-1Lines changed: 60 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,12 +239,71 @@ def eliminate_equivalents(
239
239
> -**Important**: use `yield` instead of returning a list. This way, the synthesizer can stop early if it finds a successful program before exhausting the search space.
240
240
> - The `cache` is your friend: store previously computed outputs there to save time when the same program shows up again.
241
241
242
+
242
243
### 🔨 Part 1(c). Bottom-up Synthesizing Shapes
243
244
244
-
Now is the time to take all that we have already and iteratively synthesize shapes.
245
+
Now it’s time to put everything together! You’ve implemented **growing** shapes and **eliminating duplicates**—the final step is to iteratively **synthesize a shape that matches all the examples**.
246
+
247
+
Head to the function `synthesize()` in `BottomUpSynthesizer` under the file `enumerative_synthesis.py`:
0 commit comments