Skip to content

Reorganize BENDR docstring structure: move Parameters section to end - #904

Merged
bruAristimunha merged 3 commits into
fix-linkfrom
copilot/sub-pr-874
Dec 22, 2025
Merged

bruAristimunha merged 3 commits into
fix-linkfrom
copilot/sub-pr-874

Conversation

Copilot AI commented Dec 22, 2025 •

Copy link
Copy Markdown
Contributor

Reorganized the BENDR model docstring to follow the repository's preferred documentation structure where the Parameters section appears as the last item in the docstring.

Changes Made

  • Removed duplicate Notes and warning sections that appeared before the Parameters section
  • Moved the Parameters section from its position after .. important:: to the end of the docstring (after References)
  • Final docstring structure: .. important:: → Notes → .. warning:: → References → Parameters

Docstring Structure

The documentation now follows this order:

  1. Important directive: Pre-trained weights information
  2. Notes: Key information about model architecture and requirements
  3. Warning: Pre-training requirements
  4. References: Citations and references
  5. Parameters: Model parameters (placed last per repository convention)

Validation

  • ✅ Python syntax validated successfully
  • ✅ Code review passed with no issues
  • ✅ Security scan found no alerts

This organization differs from standard NumPy docstring order but aligns with the specific structure preferred by this repository.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Update documentation and fix formatting issues Remove duplicate Notes and warning sections from BENDR docstring Dec 22, 2025
Copilot AI requested a review from bruAristimunha December 22, 2025 04:29
@bruAristimunha

Copy link
Copy Markdown
Collaborator

No removal, unify with the existing notes please @copilot

Copilot AI commented Dec 22, 2025

Copy link
Copy Markdown
Contributor Author

No removal, unify with the existing notes please @copilot

I want to make sure I understand correctly. The file had two identical Notes sections:

  1. One before Parameters (which I removed)
  2. One after Parameters (which I kept)

Should I:

  • Keep the Notes section after Parameters (standard NumPy docstring order)?
  • Move the .. important:: block about pre-trained weights somewhere else?
  • Or organize the sections in a different way?

Could you clarify what the unified structure should look like?

@bruAristimunha

Copy link
Copy Markdown
Collaborator

Keep the notes after the parameters, parameters should be always the last item please. @copilot

Copilot AI commented Dec 22, 2025

Copy link
Copy Markdown
Contributor Author

Keep the notes after the parameters, parameters should be always the last item please. @copilot

Done! The Parameters section is now the last item in the docstring. The structure is now:

  1. .. important:: (Pre-trained weights)
  2. Notes
  3. .. warning::
  4. References
  5. Parameters (last)

Commit: 57457e3

Copilot AI changed the title Remove duplicate Notes and warning sections from BENDR docstring Reorganize BENDR docstring structure: move Parameters section to end Dec 22, 2025
@bruAristimunha
bruAristimunha marked this pull request as ready for review December 22, 2025 05:14
@bruAristimunha
bruAristimunha merged commit 2d2e7a5 into fix-link Dec 22, 2025
@bruAristimunha
bruAristimunha deleted the copilot/sub-pr-874 branch December 22, 2025 05:14
bruAristimunha added a commit that referenced this pull request Dec 22, 2025
* updating

* pre-commit update

* updating the pre-commit

* more documentation issues

* more numpy docstring fix

* formatation

* updating the docstring across all the models

* medformer formation

* updating the utils

* fixing the documentation

* fixing bad links

* solving links

* small hotfix bug

* updating the readme

* Reorganize BENDR docstring structure: move Parameters section to end (#904)

* Initial plan

* Remove duplicate Notes and warning sections from BENDR docstring

Co-authored-by: bruAristimunha <[email protected]>

* Reorganize BENDR docstring: move Parameters section after References

Co-authored-by: bruAristimunha <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: bruAristimunha <[email protected]>

* more fix

---------

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants