Generating code for a target function while accounting for dependencies, conventions, and context from an entire codebase.