possee-org / genai-numpy

MIT License
4 stars 6 forks source link

Task: (help wanted) Identify and organize docstring assignment types #105

Open bmwoodruff opened 3 months ago

bmwoodruff commented 3 months ago

Description:

As I'm running the automation tools on various modules in the code base, I'm finding issues that need to be addressed. Some of those issues go all the way back to possibly before using Llama3. We may need to revise the example generator function. We may just need to focus docstring handling in NumPy itself.

I'm guessing there are more exception. I want to compile a list of these types of exceptions, and create an algorithmic way to organize them all. One way to quickly find the exceptions is to compare the outputs of using np.mod.func.__doc__ (which returns the formatted docstring obeying all the new assignments) and inspect.get_source() (see the last two prompts to GPT-4o).

I'm figuring at this point, these functions should be skipped entirely in example generation. I also want to discuss this in the documentation meeting.

Adding new content is not always the best approach. Sometimes condensing and reorganizing what is needed

Acceptance Criteria: