Skip to content

Commit e0ede9c

Browse files
committed
.
1 parent b6b2f73 commit e0ede9c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

STRUCTURE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ This guide explains how to structure examples for the Codegen library. A well-st
1515
example-name/
1616
├── README.md # Documentation and usage examples
1717
├── run.py # Main implementation
18-
├── guide.md # (Optional) Additional technical details
1918
└── input_repo/ # (Optional) Sample code for transformation
2019
```
2120

@@ -43,7 +42,7 @@ Your `run.py` should follow this structure, demonstrated well in the `generate_t
4342
@codegen.function("your-function-name")
4443
def run(codebase: Codebase):
4544
"""Clear docstring explaining what the function does.
46-
45+
4746
Include:
4847
1. Purpose of the function
4948
2. Key steps or transformations
@@ -128,7 +127,7 @@ def get_function_context(function) -> dict:
128127
@codegen.function("generate-training-data")
129128
def run(codebase: Codebase):
130129
"""Generate training data using a node2vec-like approach...
131-
130+
132131
This codemod:
133132
1. Finds all functions...
134133
2. For each function...

0 commit comments

Comments
 (0)