Skip to content

[TEST] Add pyOpenMS docstring format validation tests - #8674

Merged
timosachsenberg merged 9 commits into
developfrom
feature/docstring-format-tests
Jan 16, 2026
Merged

timosachsenberg merged 9 commits into
developfrom
feature/docstring-format-tests

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Jan 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add comprehensive test suite for validating pyOpenMS documentation format and Sphinx RST compatibility
  • Fix typo: warp-doc → wrap-doc in EnzymaticDigestion.pxd (found by the new tests)

Details

The new test file src/pyOpenMS/tests/unittests/test_docstring_format.py validates:

Tests that run without built pyopenms:

  • Core classes have wrap-doc annotations
  • RST code blocks have language specifiers (e.g., .. code-block:: python)
  • No tabs in documentation (should use spaces)
  • Balanced backticks in inline code
  • wrap-doc structure validity (indentation, spacing)
  • Common typos (warp-doc, wrapdoc, wrap_doc, etc.)

Tests that require built pyopenms (skipped if unavailable):

  • Runtime docstrings are present and valid RST
  • Docstrings are strings (not bytes)

The tests are designed to:

  • Fail on critical issues (typos that break autowrap)
  • Warn on non-critical issues (structure problems, missing optional docs)
  • Skip when pyopenms isn't built

Test plan

  • Run pytest src/pyOpenMS/tests/unittests/test_docstring_format.py -v
  • Verify 22 tests pass, 4 skip (runtime tests when pyopenms not built)
  • Verify typo fix in EnzymaticDigestion.pxd

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation

    • Numerous minor wording, punctuation, indentation and formatting fixes across docstrings/wrap-doc comments, including correction of a wrap-doc typo and improved consistency.
  • Tests

    • New comprehensive test suite to validate docstring formatting, RST compatibility, wrap-doc structure, and generated/runtime docstrings; tests run conditionally when requisite tooling/artifacts are available.

✏️ Tip: You can customize this high-level summary in your review settings.

Add comprehensive test suite for validating pyOpenMS documentation:
- Checks wrap-doc annotations in .pxd files for RST compatibility
- Validates code blocks have language specifiers
- Detects common typos (warp-doc, wrapdoc, etc.)
- Checks for tabs vs spaces and balanced backticks
- Tests run without requiring built pyopenms

Also fixes typo: warp-doc -> wrap-doc in EnzymaticDigestion.pxd

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Jan 16, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Adds a comprehensive docstring/RST/wrap-doc validation test module for pyOpenMS and applies numerous non-functional formatting and wrap-doc comment edits across many src/pyOpenMS/pxds/*.pxd files; no public API, signature, or runtime behavior changes.

Changes

Cohort / File(s) Summary
Docstring validation tests
src/pyOpenMS/tests/unittests/test_docstring_format.py
Adds a large (~+1445 lines) test module to extract docstrings from .pxd and generated .pyx, validate RST/wrap-doc structure, and run many targeted checks (code blocks, field lists, backticks, indentation, acceptable errors).
Major wrap-doc reflows
src/pyOpenMS/pxds/IDMapper.pxd, src/pyOpenMS/pxds/LogConfigHandler.pxd, src/pyOpenMS/pxds/ProtXMLFile.pxd, src/pyOpenMS/pxds/MassDecomposer.pxd, src/pyOpenMS/pxds/FIAMSDataProcessor.pxd, src/pyOpenMS/pxds/PeptideProteinResolution.pxd, src/pyOpenMS/pxds/IsotopeLabelingMDVs.pxd, src/pyOpenMS/pxds/IsotopeModel.pxd, src/pyOpenMS/pxds/ItraqConstants.pxd, src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
Substantial reflowing/reformatting of wrap-doc comment blocks and indentation across multiple public declarations; no signature or behavior changes. Review attention: large comment diffs exercised by tests.
Many minor pxd comment edits
src/pyOpenMS/pxds/EnzymaticDigestion.pxd, src/pyOpenMS/pxds/DecoyGenerator.pxd, src/pyOpenMS/pxds/PeakWidthEstimator.pxd, src/pyOpenMS/pxds/AbsoluteQuantitation.pxd, src/pyOpenMS/pxds/ArrowExport.pxd, src/pyOpenMS/pxds/ChromatogramExtractorAlgorithm.pxd, src/pyOpenMS/pxds/DeconvolvedSpectrum.pxd, src/pyOpenMS/pxds/FASTAFile.pxd, src/pyOpenMS/pxds/FLASHDeconvAlgorithm.pxd, src/pyOpenMS/pxds/FLASHHelperClasses.pxd, src/pyOpenMS/pxds/KDTreeFeatureNode.pxd, src/pyOpenMS/pxds/MRMBatchFeatureSelector.pxd, src/pyOpenMS/pxds/MRMFeatureFinderScoring.pxd, src/pyOpenMS/pxds/MRMFeatureQCFile.pxd, src/pyOpenMS/pxds/MRMIonSeries.pxd, src/pyOpenMS/pxds/MapAlignmentAlgorithmKD.pxd, src/pyOpenMS/pxds/MascotXMLFile.pxd, src/pyOpenMS/pxds/MasstraceCorrelator.pxd, src/pyOpenMS/pxds/Math.pxd, src/pyOpenMS/pxds/OnDiscMSExperiment.pxd, src/pyOpenMS/pxds/OpenSwathHelper.pxd, src/pyOpenMS/pxds/OpenSwathScoring.pxd, src/pyOpenMS/pxds/PScore.pxd, src/pyOpenMS/pxds/PeakGroup.pxd, src/pyOpenMS/pxds/RNaseDigestion.pxd, src/pyOpenMS/pxds/SimpleTSGXLMS.pxd, src/pyOpenMS/pxds/SpectraSTSimilarityScore.pxd, src/pyOpenMS/pxds/SpectralDeconvolution.pxd, src/pyOpenMS/pxds/SpectrumLookup.pxd, src/pyOpenMS/pxds/SpectrumMetaDataLookup.pxd, src/pyOpenMS/pxds/TargetedSpectraExtractor.pxd, src/pyOpenMS/pxds/TransitionPQPFile.pxd, src/pyOpenMS/pxds/IntegerMassDecomposer.pxd, src/pyOpenMS/pxds/IsotopeDistribution.pxd, ...
Many small whitespace, punctuation, and wrap-doc formatting tweaks across numerous .pxd files (add/remove leading spaces, reflow paragraphs, fix typos such as "warp-doc" -> "wrap-doc"). All changes are non-functional; no public signatures changed. (List non-exhaustive; see diff for full file set.)

Sequence Diagram(s)

(omitted — changes are tests and documentation/wrap-doc formatting; no new multi-component runtime control flow introduced)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • jpfeuffer

Poem

🐇 I tidy wrap-docs by moonlit light,
I chase stray backticks out of sight,
I test each paragraph, tab, and line,
I hop through docs until they shine,
A tiny nibble — now the docs are bright.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title '[TEST] Add pyOpenMS docstring format validation tests' directly and clearly describes the main change: addition of a comprehensive test suite for validating docstring formatting. The title is specific, concise, and accurately reflects the primary objective shown in the raw summary and PR objectives.
Docstring Coverage ✅ Passed Docstring coverage is 96.43% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

🧹 Recent nitpick comments
src/pyOpenMS/tests/unittests/test_docstring_format.py (1)

443-549: Consider extracting helpers in validate_wrap_doc_structure.
This block is deeply nested and already flagged as complex; a small helper to classify continuation lines/indentation would make the logic easier to follow and maintain.


📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between edd25b5 and 64a98e2.

📒 Files selected for processing (1)
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
🧰 Additional context used
📓 Path-based instructions (4)
src/pyOpenMS/tests/**/*.py

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Write pyOpenMS tests for new Python bindings

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
src/pyOpenMS/**/*.py

📄 CodeRabbit inference engine (CLAUDE.md)

src/pyOpenMS/**/*.py: Use PeptideIdentificationList type (not Python list) when calling setPeptideIdentifications() in pyOpenMS
Only use valid amino acid letters (A-Z except B, J, O, U, X, Z) with AASequence.fromString() in pyOpenMS - numbers and special characters will fail

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
**/*.py

📄 CodeRabbit inference engine (AGENTS.md)

**/*.py: Use 4-space indentation for Python and Cython files (PEP 8); use Unix line endings (LF)
Use snake_case for Python module names, function names, and variable names per PEP 8

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
**

📄 CodeRabbit inference engine (AGENTS.md)

**: Do not commit secrets, credentials, or .env files to the repository
Never build the project unless explicitly asked, as it is extremely resource-intensive
Do not modify the contrib tree or third-party dependencies without explicit approval from the maintainers
Always run and extend tests when making code changes; do not skip tests
Follow Gitflow workflow: develop features on forks, open PRs against develop branch, use commit message format [TAG1,TAG2] summary with tags like NOP, DOC, COMMENT, API, INTERNAL, FEATURE, FIX, TEST, FORMAT, PARAM, IO, LOG, GUI, RESOURCE, BUILD
Update AUTHORS and CHANGELOG files when making significant contributions; add Fixes #N or `Closes `#N to commit messages for issue tracking
When changing C++ APIs, update corresponding .pxd files and pyOpenMS addons; when adding TOPP tools, register in src/topp/executables.cmake and ToolHandler.cpp; when changing file formats, update FileHandler::NamesOfTypes[] and schemas

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
🧠 Learnings (12)
📓 Common learnings
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Ensure autowrap annotation format like `# wrap-doc:` is properly indented inside the class block with strict whitespace parsing
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Use exactly `#  ` (hash + 2 spaces) for all `wrap-doc:` documentation continuation lines; deviation causes parsing failure in autowrap
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/**/*.h : Add Doxygen comments for new public methods and classes in pyOpenMS bindings
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/tests/**/*.py : Write pyOpenMS tests for new Python bindings
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Do not add Python-only method declarations to `.pxd` files - they attempt to wrap non-existent C++ methods
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Keep pyOpenMS addons minimal - only add methods that cannot be auto-generated (like `__repr__`, `__str__`), not redundant aliases
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/include/OpenMS/**/*.h : Add Doxygen comments for new public methods and classes
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/**/*.{pyx,pxd} : Always declare default and copy constructors in `.pxd` files; mark appropriate methods with `except +` for exception handling and `nogil` for thread safety when applicable
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Do not define new `cdef class` in addon files; only define Python-only methods with proper indentation; keep addons minimal
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to ** : When changing C++ APIs, update corresponding `.pxd` files and pyOpenMS addons; when adding TOPP tools, register in `src/topp/executables.cmake` and `ToolHandler.cpp`; when changing file formats, update `FileHandler::NamesOfTypes[]` and schemas
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/tests/**/*.py : Write pyOpenMS tests for new Python bindings

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Ensure autowrap annotation format like `# wrap-doc:` is properly indented inside the class block with strict whitespace parsing

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/**/*.h : Add Doxygen comments for new public methods and classes in pyOpenMS bindings

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Use exactly `#  ` (hash + 2 spaces) for all `wrap-doc:` documentation continuation lines; deviation causes parsing failure in autowrap

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/tests/class_tests/openms/**/*.cpp : Write unit tests for new functionality

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Do not add Python-only method declarations to `.pxd` files - they attempt to wrap non-existent C++ methods

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to ** : When changing C++ APIs, update corresponding `.pxd` files and pyOpenMS addons; when adding TOPP tools, register in `src/topp/executables.cmake` and `ToolHandler.cpp`; when changing file formats, update `FileHandler::NamesOfTypes[]` and schemas

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/**/*.{pyx,pxd} : Always declare default and copy constructors in `.pxd` files; mark appropriate methods with `except +` for exception handling and `nogil` for thread safety when applicable

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Keep pyOpenMS addons minimal - only add methods that cannot be auto-generated (like `__repr__`, `__str__`), not redundant aliases

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Do not define new `cdef class` in addon files; only define Python-only methods with proper indentation; keep addons minimal

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-04T21:35:37.785Z
Learnt from: timosachsenberg
Repo: OpenMS/OpenMS PR: 8588
File: src/pyOpenMS/tests/unittests/test_TargetedQuantitation.py:1-456
Timestamp: 2026-01-04T21:35:37.785Z
Learning: For Python files in the repository, follow PEP 8: use 4-space indentation, avoid tabs, and ensure Unix LF line endings. The 2-space indentation and Unix line endings guideline applies to C/Cython in their respective languages; Python files should adhere to Python style (PEP 8) regardless of other language rules.

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
🪛 GitHub Check: CodeFactor
src/pyOpenMS/tests/unittests/test_docstring_format.py

[notice] 441-558: src/pyOpenMS/tests/unittests/test_docstring_format.py#L441-L558
Complex Method

🪛 Ruff (0.14.11)
src/pyOpenMS/tests/unittests/test_docstring_format.py

259-259: Do not catch blind exception: Exception

(BLE001)


1371-1371: Use explicit conversion flag

Replace with conversion flag

(RUF010)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
  • GitHub Check: build-wheels-linux
  • GitHub Check: build-wheels-linux-arm
  • GitHub Check: build-wheels-windows
  • GitHub Check: build-wheels-macos
  • GitHub Check: build-and-test (macos-14, xcode, 15.4)
  • GitHub Check: build-and-test (ubuntu-24.04, g++, 13)
  • GitHub Check: build-and-test (ubuntu-24.04-arm, g++, 13)
  • GitHub Check: build-and-test (windows-2025, cl.exe, 14.44)
  • GitHub Check: build-and-test (ubuntu-24.04, clang++, 17)
  • GitHub Check: cppcheck-test

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

- Remove unused import (inspect)
- Remove unused function (check_wrap_doc_in_class_context)
- Add explicit encoding='utf-8' to all file open() calls

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@timosachsenberg

Copy link
Copy Markdown
Contributor Author

@jpfeuffer maybe a practical approach to catching main errors in doc and docstring?

@jpfeuffer

jpfeuffer commented Jan 16, 2026 •

Copy link
Copy Markdown
Contributor

Yes. I think it might be hard to check it really correctly but if it helps to catch the most obvious ones, fine with me

@timosachsenberg

Copy link
Copy Markdown
Contributor Author

================================== FAILURES ===================================
________________ TestPxdDocumentation.test_pxd_directory_exists ________________
tests/unittests/test_docstring_format.py:378: in test_pxd_directory_exists
assert pxd_dir is not None, "Could not find pxds directory"
E AssertionError: Could not find pxds directory
E assert None is not None
=============================== warnings summary ===============================
tests/unittests/test_dataframe_columns.py::TestBackwardsCompatibleFunctions::test_peptide_identifications_to_df_wrapper
/home/runner/work/OpenMS/OpenMS/OpenMS/bld/pyOpenMS/tests/unittests/test_dataframe_columns.py:561: DeprecationWarning: peptide_identifications_to_df() is deprecated and will be removed in a future version. Use peps.to_df() instead.
df = pyopenms.peptide_identifications_to_df(peptide_id_list)

tests/unittests/test_dataframe_columns.py::TestBackwardsCompatibleFunctions::test_update_scores_from_df_wrapper
/home/runner/work/OpenMS/OpenMS/OpenMS/bld/pyOpenMS/tests/unittests/test_dataframe_columns.py:569: DeprecationWarning: peptide_identifications_to_df() is deprecated and will be removed in a future version. Use peps.to_df() instead.
df = pyopenms.peptide_identifications_to_df(peptide_id_list)

tests/unittests/test_dataframe_columns.py::TestBackwardsCompatibleFunctions::test_update_scores_from_df_wrapper
/home/runner/work/OpenMS/OpenMS/OpenMS/bld/pyOpenMS/tests/unittests/test_dataframe_columns.py:573: DeprecationWarning: update_scores_from_df() is deprecated and will be removed in a future version. Use peps.update_scores_from_df(df, main_score_name) instead.
result = pyopenms.update_scores_from_df(peptide_id_list, df, 'new_score')

tests/unittests/test_docstring_format.py::test_docutils_availability
/home/runner/work/OpenMS/OpenMS/OpenMS/bld/pyOpenMS/tests/unittests/test_docstring_format.py:867: UserWarning: docutils not available - using regex-based RST validation only. Install docutils for more thorough validation: pip install docutils
warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/unittests/test_docstring_format.py::TestPxdDocumentation::test_pxd_directory_exists - AssertionError: Could not find pxds directory
assert None is not None
============ 1 failed, 499 passed, 33 skipped, 4 warnings in 6.03s =============
<'PeptideEvidence' without reference to the position in the originating sequence found.> occurred 3 times
<No retention time found for 'SpectrumIdentificationResult'> occurred 2 times
Default-Parameter 'signal_to_noise' overridden: '0' --> '1'!

The test_pxd_directory_exists test was failing in CI because
it runs from the build directory where the relative path to
source files doesn't work. Changed to skip (consistent with
other tests in the class) instead of fail.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@jpfeuffer

Copy link
Copy Markdown
Contributor

not sure if they are copied to the build directory.

@jpfeuffer

Copy link
Copy Markdown
Contributor

You can actually just check the generated files from autowrap. Then you dont even need to check for wrap-doc. You just need to check if there are docstrings and if they follow rst.

- Add functions to find and parse autowrap-generated .pyx files
- Add TestGeneratedDocstrings class for CI validation
- Validate all class and method docstrings for RST compliance
- Add unit tests for the new extraction functions
- Fix linting issues (stacklevel, unused variables, f-strings)
- Fix RST issues in DecoyGenerator.pxd (@PARAM -> inline code)
- Fix RST issues in PeakWidthEstimator.pxd (remove erroneous text)

This addresses the CI failure where pxd source files weren't available
in the build directory. Generated files ARE available and represent
what users actually see.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@src/pyOpenMS/tests/unittests/test_docstring_format.py`:
- Around line 404-425: The wrap-doc parser currently accepts lines starting with
"# " (single space) which is too permissive; update the loop that builds
doc_lines (the while loop using variables stripped, doc_lines, doc_start and
next_line) to only accept continuation lines that are exactly '#' (blank line)
or that match a hash followed by two spaces. Replace the existing conditions and
regex (currently allowing r'\s*#\s?(.*)') with a strict check like
next_line.lstrip().startswith('#  ') || next_line.strip() == '#' and use a regex
r'\s*#\s{2}(.*)' (or equivalent) to extract content; remove the elif branch that
permits '# ' single-space continuations. Apply the same change to the other
occurrences handling wrap-doc at the later blocks referenced.
- Around line 934-939: Replace the "if len(empty_docs) > 50: assert False,
(...)" pattern with a direct boolean assertion using the empty_docs variable:
change it to "assert len(empty_docs) <= 50, (f'...')" (or equivalently "assert
not (len(empty_docs) > 50), (f'...')") so the test keeps the same message while
removing the assert False B011 pattern; update the assertion in the test that
checks empty_docs accordingly.
🧹 Nitpick comments (2)
src/pyOpenMS/tests/unittests/test_docstring_format.py (2)

356-367: Use or drop the unused name parameter in validate_docstring.
This triggers lint (ARG001); either remove it or incorporate it into error messages.

♻️ Suggested tweak
-    if not isinstance(docstring, str):
-        return False, [f"Docstring is not a string: {type(docstring)}"]
+    if not isinstance(docstring, str):
+        prefix = f"{name}: " if name else ""
+        return False, [f"{prefix}Docstring is not a string: {type(docstring)}"]

843-914: Rename unused loop variables to satisfy lint.
Several loops bind variables that aren’t used; renaming to _docstring, _doc_type, _line_num keeps intent clear and avoids B007 warnings.

♻️ Suggested cleanup
-            for name, doc_type, docstring, _ in docstrings:
+            for name, doc_type, _docstring, _ in docstrings:

-            for name, doc_type, docstring, line_num in docstrings:
+            for name, _doc_type, docstring, line_num in docstrings:

-            for name, doc_type, docstring, line_num in docstrings:
+            for name, _doc_type, docstring, line_num in docstrings:

-            for name, doc_type, docstring, line_num in docstrings:
-                assert isinstance(docstring, str), (
+            for name, _doc_type, docstring, _line_num in docstrings:
+                assert isinstance(docstring, str), (
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 70ceb9f and 7e3e3ef.

📒 Files selected for processing (3)
  • src/pyOpenMS/pxds/DecoyGenerator.pxd
  • src/pyOpenMS/pxds/PeakWidthEstimator.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
✅ Files skipped from review due to trivial changes (1)
  • src/pyOpenMS/pxds/PeakWidthEstimator.pxd
🧰 Additional context used
📓 Path-based instructions (7)
src/pyOpenMS/pxds/**/*.pxd

📄 CodeRabbit inference engine (CLAUDE.md)

src/pyOpenMS/pxds/**/*.pxd: Do not add Python-only method declarations to .pxd files - they attempt to wrap non-existent C++ methods
Ensure autowrap annotation format like # wrap-doc: is properly indented inside the class block with strict whitespace parsing

src/pyOpenMS/pxds/**/*.pxd: Declare default and copy constructors in .pxd files; use cimport not Python import for Cython imports
Use exactly # (hash + 2 spaces) for all wrap-doc: documentation continuation lines; deviation causes parsing failure in autowrap
Use snake_case for Python-facing method and variable names in .pxd files and DataFrame columns

Files:

  • src/pyOpenMS/pxds/DecoyGenerator.pxd
src/pyOpenMS/**/*.{pyx,pxd}

📄 CodeRabbit inference engine (AGENTS.md)

Always declare default and copy constructors in .pxd files; mark appropriate methods with except + for exception handling and nogil for thread safety when applicable

Files:

  • src/pyOpenMS/pxds/DecoyGenerator.pxd
**/*.{cpp,h,hpp,pyx,pxd}

📄 CodeRabbit inference engine (AGENTS.md)

Add comments in plain English describing the next few lines; maintain at least ~5% of code as comments

Files:

  • src/pyOpenMS/pxds/DecoyGenerator.pxd
**

📄 CodeRabbit inference engine (AGENTS.md)

**: Do not commit secrets, credentials, or .env files to the repository
Never build the project unless explicitly asked, as it is extremely resource-intensive
Do not modify the contrib tree or third-party dependencies without explicit approval from the maintainers
Always run and extend tests when making code changes; do not skip tests
Follow Gitflow workflow: develop features on forks, open PRs against develop branch, use commit message format [TAG1,TAG2] summary with tags like NOP, DOC, COMMENT, API, INTERNAL, FEATURE, FIX, TEST, FORMAT, PARAM, IO, LOG, GUI, RESOURCE, BUILD
Update AUTHORS and CHANGELOG files when making significant contributions; add Fixes #N or `Closes `#N to commit messages for issue tracking
When changing C++ APIs, update corresponding .pxd files and pyOpenMS addons; when adding TOPP tools, register in src/topp/executables.cmake and ToolHandler.cpp; when changing file formats, update FileHandler::NamesOfTypes[] and schemas

Files:

  • src/pyOpenMS/pxds/DecoyGenerator.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
src/pyOpenMS/tests/**/*.py

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Write pyOpenMS tests for new Python bindings

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
src/pyOpenMS/**/*.py

📄 CodeRabbit inference engine (CLAUDE.md)

src/pyOpenMS/**/*.py: Use PeptideIdentificationList type (not Python list) when calling setPeptideIdentifications() in pyOpenMS
Only use valid amino acid letters (A-Z except B, J, O, U, X, Z) with AASequence.fromString() in pyOpenMS - numbers and special characters will fail

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
**/*.py

📄 CodeRabbit inference engine (AGENTS.md)

**/*.py: Use 4-space indentation for Python and Cython files (PEP 8); use Unix line endings (LF)
Use snake_case for Python module names, function names, and variable names per PEP 8

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
🧠 Learnings (9)
📓 Common learnings
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Ensure autowrap annotation format like `# wrap-doc:` is properly indented inside the class block with strict whitespace parsing
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/tests/**/*.py : Write pyOpenMS tests for new Python bindings
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/**/*.h : Add Doxygen comments for new public methods and classes in pyOpenMS bindings
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Use exactly `#  ` (hash + 2 spaces) for all `wrap-doc:` documentation continuation lines; deviation causes parsing failure in autowrap
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Do not add Python-only method declarations to `.pxd` files - they attempt to wrap non-existent C++ methods
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Keep pyOpenMS addons minimal - only add methods that cannot be auto-generated (like `__repr__`, `__str__`), not redundant aliases
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/include/OpenMS/**/*.h : Add Doxygen comments for new public methods and classes
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/tests/class_tests/openms/**/*.cpp : Write unit tests for new functionality
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Do not define new `cdef class` in addon files; only define Python-only methods with proper indentation; keep addons minimal
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/**/*.{pyx,pxd} : Always declare default and copy constructors in `.pxd` files; mark appropriate methods with `except +` for exception handling and `nogil` for thread safety when applicable
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Ensure autowrap annotation format like `# wrap-doc:` is properly indented inside the class block with strict whitespace parsing

Applied to files:

  • src/pyOpenMS/pxds/DecoyGenerator.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Use exactly `#  ` (hash + 2 spaces) for all `wrap-doc:` documentation continuation lines; deviation causes parsing failure in autowrap

Applied to files:

  • src/pyOpenMS/pxds/DecoyGenerator.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Do not add Python-only method declarations to `.pxd` files - they attempt to wrap non-existent C++ methods

Applied to files:

  • src/pyOpenMS/pxds/DecoyGenerator.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/**/*.h : Add Doxygen comments for new public methods and classes in pyOpenMS bindings

Applied to files:

  • src/pyOpenMS/pxds/DecoyGenerator.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/tests/**/*.py : Write pyOpenMS tests for new Python bindings

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/tests/class_tests/openms/**/*.cpp : Write unit tests for new functionality

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/**/*.{pyx,pxd} : Always declare default and copy constructors in `.pxd` files; mark appropriate methods with `except +` for exception handling and `nogil` for thread safety when applicable

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-04T21:35:37.785Z
Learnt from: timosachsenberg
Repo: OpenMS/OpenMS PR: 8588
File: src/pyOpenMS/tests/unittests/test_TargetedQuantitation.py:1-456
Timestamp: 2026-01-04T21:35:37.785Z
Learning: For Python files in the repository, follow PEP 8: use 4-space indentation, avoid tabs, and ensure Unix LF line endings. The 2-space indentation and Unix line endings guideline applies to C/Cython in their respective languages; Python files should adhere to Python style (PEP 8) regardless of other language rules.

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
🪛 Ruff (0.14.11)
src/pyOpenMS/tests/unittests/test_docstring_format.py

257-257: Do not catch blind exception: Exception

(BLE001)


356-356: Unused function argument: name

(ARG001)


438-438: Unused function argument: filename

(ARG001)


846-846: Loop control variable docstring not used within loop body

Rename unused docstring to _docstring

(B007)


866-866: Loop control variable doc_type not used within loop body

Rename unused doc_type to _doc_type

(B007)


896-896: Loop control variable doc_type not used within loop body

Rename unused doc_type to _doc_type

(B007)


911-911: Loop control variable doc_type not used within loop body

Rename unused doc_type to _doc_type

(B007)


911-911: Loop control variable line_num not used within loop body

Rename unused line_num to _line_num

(B007)


936-936: Do not assert False (python -O removes these calls), raise AssertionError()

Replace assert False

(B011)


1329-1329: Use explicit conversion flag

Replace with conversion flag

(RUF010)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: build-wheels-linux-arm
  • GitHub Check: build-wheels-windows
  • GitHub Check: build-wheels-linux
  • GitHub Check: build-wheels-macos
  • GitHub Check: build-and-test (ubuntu-24.04-arm, g++, 13)
  • GitHub Check: build-and-test (ubuntu-24.04, clang++, 17)
  • GitHub Check: build-and-test (windows-2025, cl.exe, 14.44)
  • GitHub Check: build-and-test (macos-14, xcode, 15.4)
  • GitHub Check: build-and-test (ubuntu-24.04, g++, 13)
  • GitHub Check: claude-review
  • GitHub Check: cppcheck-test
🔇 Additional comments (2)
src/pyOpenMS/pxds/DecoyGenerator.pxd (1)

20-20: Docstring polish looks good.
The revised wording and inline code formatting improve clarity without changing semantics.

src/pyOpenMS/tests/unittests/test_docstring_format.py (1)

50-218: Helper utilities look solid.
The path discovery and .pyx docstring extraction helpers are clear and test-friendly.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

@OpenMS OpenMS deleted a comment from claude Bot Jan 16, 2026
timosachsenberg and others added 3 commits January 16, 2026 15:27
- Add explanatory comment to empty except block
- Replace assert False with direct boolean assertion
- Use doc_type and line_num in error messages for better debugging
- Enforce strict '#  ' (hash + two spaces) for wrap-doc continuation
- Add test_single_space_after_hash to verify strict validation
- Make test_wrap_doc_structure_valid fail instead of warn
- Make test_wrap_doc_continuation_format check all pxd files
- Use name parameter in validate_docstring error messages
- Mark intentionally unused _filename parameter

Note: Tests will fail until 42 pxd files are fixed to use proper
wrap-doc format (hash + two spaces for continuation lines).

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Changes to pxd files:
- Fix wrap-doc continuation lines to use '#  ' (hash + two spaces)
- Fix indentation in multi-line wrap-doc blocks
- Convert commented-out code from '#  ' to '##' format to avoid
  confusion with wrap-doc continuations

Changes to test_docstring_format.py:
- Improve wrap-doc block detection to end block when:
  - '##' comment is encountered (commented-out code)
  - Indentation drops by more than 4 spaces (likely separate comment)
- Still flag slight indentation inconsistencies (1-4 spaces)
- Still flag '#text' (no space) and '# text' (single space) as errors

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@src/pyOpenMS/pxds/MassDecomposer.pxd`:
- Around line 20-21: The commented-out method declarations after the wrap-doc
block for exist() (the lines referencing getDecomposition and
getAllDecompositions) can be misparsed as wrap-doc content; update those comment
lines in MassDecomposer.pxd to clearly mark them as non-documentation by
prefixing them with "##" or inserting a blank line/explicit terminator after
exist()'s wrap-doc block so the autowrap parser stops treating them as
documentation for exist() — locate the commented lines mentioning
getDecomposition and getAllDecompositions and change their leading comment
marker accordingly.

In `@src/pyOpenMS/pxds/ProtXMLFile.pxd`:
- Around line 47-48: The comment "#  Not implemented" is ambiguously placed and
may be parsed as wrap-doc for load(); move or reformat it so it clearly belongs
to store(): either relocate the comment to immediately after the declaration of
store(String filename, ProteinIdentification & protein_ids,
PeptideIdentification & peptide_ids, String document_id) except + nogil, or
change its prefix to "##" (or another clear non-wrap-doc marker) so it is not
treated as part of load()'s wrap-doc; ensure the comment sits at the same
indentation level as the store() declaration and refers to store() to avoid
parser misassociation.
🧹 Nitpick comments (2)
src/pyOpenMS/tests/unittests/test_docstring_format.py (2)

493-517: Remove unused variable is_valid_continuation.

The variable is_valid_continuation is assigned but never used. It appears to be vestigial from refactoring—only is_single_space and is_no_space are used for the error check.

🧹 Suggested cleanup
-                    # Check for valid continuation formats
-                    is_valid_continuation = (
-                        next_stripped == '#' or
-                        next_stripped.startswith('#  ') or
-                        next_stripped.startswith('# wrap-')
-                    )
-
                     is_single_space = (

1354-1359: Minor: Use f-string conversion flag for repr().

Per Ruff RUF010, you can use the !r conversion flag instead of calling repr() directly.

🧹 Suggested cleanup
-                    assert not line.startswith('        '), (
-                        f"Docstring not properly dedented: {repr(doc)}"
-                    )
+                    assert not line.startswith('        '), (
+                        f"Docstring not properly dedented: {doc!r}"
+                    )
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7e3e3ef and 75da80b.

📒 Files selected for processing (43)
  • src/pyOpenMS/pxds/AbsoluteQuantitation.pxd
  • src/pyOpenMS/pxds/ArrowExport.pxd
  • src/pyOpenMS/pxds/ChromatogramExtractorAlgorithm.pxd
  • src/pyOpenMS/pxds/DeconvolvedSpectrum.pxd
  • src/pyOpenMS/pxds/FASTAFile.pxd
  • src/pyOpenMS/pxds/FIAMSDataProcessor.pxd
  • src/pyOpenMS/pxds/FLASHDeconvAlgorithm.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/IntegerMassDecomposer.pxd
  • src/pyOpenMS/pxds/IsotopeDistribution.pxd
  • src/pyOpenMS/pxds/IsotopeLabelingMDVs.pxd
  • src/pyOpenMS/pxds/IsotopeModel.pxd
  • src/pyOpenMS/pxds/ItraqConstants.pxd
  • src/pyOpenMS/pxds/KDTreeFeatureNode.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/MRMBatchFeatureSelector.pxd
  • src/pyOpenMS/pxds/MRMFeatureFinderScoring.pxd
  • src/pyOpenMS/pxds/MRMFeatureQCFile.pxd
  • src/pyOpenMS/pxds/MRMIonSeries.pxd
  • src/pyOpenMS/pxds/MapAlignmentAlgorithmKD.pxd
  • src/pyOpenMS/pxds/MascotXMLFile.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MasstraceCorrelator.pxd
  • src/pyOpenMS/pxds/Math.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/OnDiscMSExperiment.pxd
  • src/pyOpenMS/pxds/OpenSwathHelper.pxd
  • src/pyOpenMS/pxds/OpenSwathScoring.pxd
  • src/pyOpenMS/pxds/PScore.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/PeakWidthEstimator.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/RNaseDigestion.pxd
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
  • src/pyOpenMS/pxds/SpectraSTSimilarityScore.pxd
  • src/pyOpenMS/pxds/SpectralDeconvolution.pxd
  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/SpectrumMetaDataLookup.pxd
  • src/pyOpenMS/pxds/TargetedSpectraExtractor.pxd
  • src/pyOpenMS/pxds/TransitionPQPFile.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
✅ Files skipped from review due to trivial changes (31)
  • src/pyOpenMS/pxds/ItraqConstants.pxd
  • src/pyOpenMS/pxds/MRMBatchFeatureSelector.pxd
  • src/pyOpenMS/pxds/SpectraSTSimilarityScore.pxd
  • src/pyOpenMS/pxds/MRMFeatureFinderScoring.pxd
  • src/pyOpenMS/pxds/ArrowExport.pxd
  • src/pyOpenMS/pxds/FASTAFile.pxd
  • src/pyOpenMS/pxds/MascotXMLFile.pxd
  • src/pyOpenMS/pxds/PScore.pxd
  • src/pyOpenMS/pxds/IsotopeModel.pxd
  • src/pyOpenMS/pxds/SpectrumMetaDataLookup.pxd
  • src/pyOpenMS/pxds/DeconvolvedSpectrum.pxd
  • src/pyOpenMS/pxds/AbsoluteQuantitation.pxd
  • src/pyOpenMS/pxds/MRMIonSeries.pxd
  • src/pyOpenMS/pxds/ChromatogramExtractorAlgorithm.pxd
  • src/pyOpenMS/pxds/RNaseDigestion.pxd
  • src/pyOpenMS/pxds/IntegerMassDecomposer.pxd
  • src/pyOpenMS/pxds/TransitionPQPFile.pxd
  • src/pyOpenMS/pxds/KDTreeFeatureNode.pxd
  • src/pyOpenMS/pxds/OnDiscMSExperiment.pxd
  • src/pyOpenMS/pxds/SpectralDeconvolution.pxd
  • src/pyOpenMS/pxds/IsotopeLabelingMDVs.pxd
  • src/pyOpenMS/pxds/Math.pxd
  • src/pyOpenMS/pxds/FLASHDeconvAlgorithm.pxd
  • src/pyOpenMS/pxds/OpenSwathScoring.pxd
  • src/pyOpenMS/pxds/MRMFeatureQCFile.pxd
  • src/pyOpenMS/pxds/TargetedSpectraExtractor.pxd
  • src/pyOpenMS/pxds/IsotopeDistribution.pxd
  • src/pyOpenMS/pxds/FIAMSDataProcessor.pxd
  • src/pyOpenMS/pxds/MapAlignmentAlgorithmKD.pxd
  • src/pyOpenMS/pxds/MasstraceCorrelator.pxd
  • src/pyOpenMS/pxds/OpenSwathHelper.pxd
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/pyOpenMS/pxds/PeakWidthEstimator.pxd
🧰 Additional context used
📓 Path-based instructions (7)
src/pyOpenMS/pxds/**/*.pxd

📄 CodeRabbit inference engine (CLAUDE.md)

src/pyOpenMS/pxds/**/*.pxd: Do not add Python-only method declarations to .pxd files - they attempt to wrap non-existent C++ methods
Ensure autowrap annotation format like # wrap-doc: is properly indented inside the class block with strict whitespace parsing

src/pyOpenMS/pxds/**/*.pxd: Declare default and copy constructors in .pxd files; use cimport not Python import for Cython imports
Use exactly # (hash + 2 spaces) for all wrap-doc: documentation continuation lines; deviation causes parsing failure in autowrap
Use snake_case for Python-facing method and variable names in .pxd files and DataFrame columns

Files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
src/pyOpenMS/**/*.{pyx,pxd}

📄 CodeRabbit inference engine (AGENTS.md)

Always declare default and copy constructors in .pxd files; mark appropriate methods with except + for exception handling and nogil for thread safety when applicable

Files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
**/*.{cpp,h,hpp,pyx,pxd}

📄 CodeRabbit inference engine (AGENTS.md)

Add comments in plain English describing the next few lines; maintain at least ~5% of code as comments

Files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
**

📄 CodeRabbit inference engine (AGENTS.md)

**: Do not commit secrets, credentials, or .env files to the repository
Never build the project unless explicitly asked, as it is extremely resource-intensive
Do not modify the contrib tree or third-party dependencies without explicit approval from the maintainers
Always run and extend tests when making code changes; do not skip tests
Follow Gitflow workflow: develop features on forks, open PRs against develop branch, use commit message format [TAG1,TAG2] summary with tags like NOP, DOC, COMMENT, API, INTERNAL, FEATURE, FIX, TEST, FORMAT, PARAM, IO, LOG, GUI, RESOURCE, BUILD
Update AUTHORS and CHANGELOG files when making significant contributions; add Fixes #N or `Closes `#N to commit messages for issue tracking
When changing C++ APIs, update corresponding .pxd files and pyOpenMS addons; when adding TOPP tools, register in src/topp/executables.cmake and ToolHandler.cpp; when changing file formats, update FileHandler::NamesOfTypes[] and schemas

Files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
src/pyOpenMS/tests/**/*.py

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Write pyOpenMS tests for new Python bindings

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
src/pyOpenMS/**/*.py

📄 CodeRabbit inference engine (CLAUDE.md)

src/pyOpenMS/**/*.py: Use PeptideIdentificationList type (not Python list) when calling setPeptideIdentifications() in pyOpenMS
Only use valid amino acid letters (A-Z except B, J, O, U, X, Z) with AASequence.fromString() in pyOpenMS - numbers and special characters will fail

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
**/*.py

📄 CodeRabbit inference engine (AGENTS.md)

**/*.py: Use 4-space indentation for Python and Cython files (PEP 8); use Unix line endings (LF)
Use snake_case for Python module names, function names, and variable names per PEP 8

Files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
🧠 Learnings (23)
📓 Common learnings
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Ensure autowrap annotation format like `# wrap-doc:` is properly indented inside the class block with strict whitespace parsing
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Use exactly `#  ` (hash + 2 spaces) for all `wrap-doc:` documentation continuation lines; deviation causes parsing failure in autowrap
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/**/*.h : Add Doxygen comments for new public methods and classes in pyOpenMS bindings
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/tests/**/*.py : Write pyOpenMS tests for new Python bindings
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Do not add Python-only method declarations to `.pxd` files - they attempt to wrap non-existent C++ methods
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Keep pyOpenMS addons minimal - only add methods that cannot be auto-generated (like `__repr__`, `__str__`), not redundant aliases
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/include/OpenMS/**/*.h : Add Doxygen comments for new public methods and classes
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/**/*.{pyx,pxd} : Always declare default and copy constructors in `.pxd` files; mark appropriate methods with `except +` for exception handling and `nogil` for thread safety when applicable
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Do not define new `cdef class` in addon files; only define Python-only methods with proper indentation; keep addons minimal
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to ** : When changing C++ APIs, update corresponding `.pxd` files and pyOpenMS addons; when adding TOPP tools, register in `src/topp/executables.cmake` and `ToolHandler.cpp`; when changing file formats, update `FileHandler::NamesOfTypes[]` and schemas
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/**/*.h : Add Doxygen comments for new public methods and classes in pyOpenMS bindings

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Ensure autowrap annotation format like `# wrap-doc:` is properly indented inside the class block with strict whitespace parsing

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Declare default and copy constructors in `.pxd` files; use `cimport` not Python `import` for Cython imports

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Do not add Python-only method declarations to `.pxd` files - they attempt to wrap non-existent C++ methods

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Use exactly `#  ` (hash + 2 spaces) for all `wrap-doc:` documentation continuation lines; deviation causes parsing failure in autowrap

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/**/*.{pyx,pxd} : Always declare default and copy constructors in `.pxd` files; mark appropriate methods with `except +` for exception handling and `nogil` for thread safety when applicable

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2025-06-16T15:48:09.667Z
Learnt from: FreezB11
Repo: OpenMS/OpenMS PR: 7969
File: src/pyOpenMS/pxds/TMTThirtyTwoPlexQuantitationMethod.pxd:4-4
Timestamp: 2025-06-16T15:48:09.667Z
Learning: In OpenMS .pxd files, the established pattern for extern from statements is to include angle brackets inside the string literal, like `cdef extern from "<OpenMS/PATH/TO/FILE.h>" namespace "OpenMS":`. This is consistent across all existing quantitation method .pxd files and other .pxd files in the OpenMS codebase.

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Do not define new `cdef class` in addon files; only define Python-only methods with proper indentation; keep addons minimal

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to src/pyOpenMS/pxds/**/*.pxd : Use snake_case for Python-facing method and variable names in `.pxd` files and DataFrame columns

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/LogConfigHandler.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2026-01-15T17:33:37.767Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-15T17:33:37.767Z
Learning: Applies to ** : When changing C++ APIs, update corresponding `.pxd` files and pyOpenMS addons; when adding TOPP tools, register in `src/topp/executables.cmake` and `ToolHandler.cpp`; when changing file formats, update `FileHandler::NamesOfTypes[]` and schemas

Applied to files:

  • src/pyOpenMS/pxds/SpectrumLookup.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/ProtXMLFile.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/tests/unittests/test_docstring_format.py
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Keep pyOpenMS addons minimal - only add methods that cannot be auto-generated (like `__repr__`, `__str__`), not redundant aliases

Applied to files:

  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/PeptideProteinResolution.pxd
  • src/pyOpenMS/pxds/SimpleTSGXLMS.pxd
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : In pyOpenMS addon files, indent custom methods with 4 spaces without declaring a class - methods are injected into the generated class

Applied to files:

  • src/pyOpenMS/pxds/MassDecomposer.pxd
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Do not declare `cdef class ClassName:` in pyOpenMS addon files - methods are injected as indented code into the generated class

Applied to files:

  • src/pyOpenMS/pxds/MassDecomposer.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
📚 Learning: 2025-06-16T15:49:26.504Z
Learnt from: FreezB11
Repo: OpenMS/OpenMS PR: 7969
File: src/pyOpenMS/pxds/TMTThirtyTwoPlexQuantitationMethod.pxd:1-3
Timestamp: 2025-06-16T15:49:26.504Z
Learning: In OpenMS Python bindings (.pxd files), derived quantitation method classes like TMTThirtyTwoPlexQuantitationMethod only need to declare their constructors. All other public methods (getName, getChannelInformation, getNumberOfChannels, getIsotopeCorrectionMatrix, getReferenceChannel) are inherited from the base IsobaricQuantitationMethod class and don't need to be redeclared explicitly.

Applied to files:

  • src/pyOpenMS/pxds/MetaboTargetedAssay.pxd
  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/include/OpenMS/**/*.h : Add Doxygen comments for new public methods and classes

Applied to files:

  • src/pyOpenMS/pxds/IDMapper.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/**/*.py : Use `PeptideIdentificationList` type (not Python list) when calling `setPeptideIdentifications()` in pyOpenMS

Applied to files:

  • src/pyOpenMS/pxds/IDMapper.pxd
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/**/*.{cpp,h,hpp,cc,cxx} : Use OpenMS data structures (e.g., MSExperiment, FeatureMap, PeptideIdentification)

Applied to files:

  • src/pyOpenMS/pxds/IDMapper.pxd
📚 Learning: 2025-11-18T20:08:08.900Z
Learnt from: timosachsenberg
Repo: OpenMS/OpenMS PR: 8374
File: src/pyOpenMS/pxds/SimpleSVM.pxd:0-0
Timestamp: 2025-11-18T20:08:08.900Z
Learning: In pyOpenMS .pxd files, copy constructors should be declared for wrapped C++ classes (e.g., `ClassName(ClassName&) except + nogil`) even when the C++ class has a deleted copy constructor. This is a standard pyOpenMS/Cython convention required for proper wrapper generation and Python object semantics.

Applied to files:

  • src/pyOpenMS/pxds/PeakGroup.pxd
  • src/pyOpenMS/pxds/FLASHHelperClasses.pxd
📚 Learning: 2026-01-14T18:51:46.097Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-01-14T18:51:46.097Z
Learning: Applies to src/pyOpenMS/addons/**/*.pyx : Do not use `cdef` typed variables for autowrap return values inside `def` methods - use Python type introspection instead

Applied to files:

  • src/pyOpenMS/pxds/ProtXMLFile.pxd
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/tests/**/*.py : Write pyOpenMS tests for new Python bindings

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/tests/class_tests/openms/**/*.cpp : Write unit tests for new functionality

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
📚 Learning: 2026-01-04T21:35:37.785Z
Learnt from: timosachsenberg
Repo: OpenMS/OpenMS PR: 8588
File: src/pyOpenMS/tests/unittests/test_TargetedQuantitation.py:1-456
Timestamp: 2026-01-04T21:35:37.785Z
Learning: For Python files in the repository, follow PEP 8: use 4-space indentation, avoid tabs, and ensure Unix LF line endings. The 2-space indentation and Unix line endings guideline applies to C/Cython in their respective languages; Python files should adhere to Python style (PEP 8) regardless of other language rules.

Applied to files:

  • src/pyOpenMS/tests/unittests/test_docstring_format.py
🪛 GitHub Check: CodeFactor
src/pyOpenMS/tests/unittests/test_docstring_format.py

[notice] 441-558: src/pyOpenMS/tests/unittests/test_docstring_format.py#L441-L558
Complex Method

🪛 Ruff (0.14.11)
src/pyOpenMS/tests/unittests/test_docstring_format.py

259-259: Do not catch blind exception: Exception

(BLE001)


494-494: Local variable is_valid_continuation is assigned to but never used

Remove assignment to unused variable is_valid_continuation

(F841)


1358-1358: Use explicit conversion flag

Replace with conversion flag

(RUF010)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: build-wheels-linux
  • GitHub Check: build-wheels-windows
  • GitHub Check: build-wheels-linux-arm
  • GitHub Check: build-wheels-macos
  • GitHub Check: build-and-test (ubuntu-24.04-arm, g++, 13)
  • GitHub Check: build-and-test (macos-14, xcode, 15.4)
  • GitHub Check: build-and-test (ubuntu-24.04, clang++, 17)
  • GitHub Check: build-and-test (ubuntu-24.04, g++, 13)
  • GitHub Check: build-and-test (windows-2025, cl.exe, 14.44)
  • GitHub Check: claude-review
  • GitHub Check: cppcheck-test
🔇 Additional comments (26)
src/pyOpenMS/pxds/SpectrumLookup.pxd (2)

38-41: LGTM!

The explanatory comment properly documents why the single-argument overload is commented out (Cython inheritance limitation with overloaded methods). The # (hash + 2 spaces) format is consistent with the file conventions.


71-71: LGTM!

The commented-out method with # NAMESPACE # marker follows the established pattern for documenting C++ methods that aren't wrapped for Python exposure.

src/pyOpenMS/pxds/PeakGroup.pxd (1)

12-19: Formatting looks correct.

The wrap-doc block (lines 12-15) is properly terminated by the blank line at line 16. The section comment # Constructors on line 17 uses the standard # format consistently with wrap-doc continuation lines, but won't be parsed as wrap-doc content due to the blank line separator.

src/pyOpenMS/pxds/ProtXMLFile.pxd (1)

15-29: Wrap-doc formatting is correct.

The class-level documentation properly uses # (hash + 2 spaces) for continuation lines and # alone for paragraph breaks, following the autowrap convention. Based on learnings, this format is required for proper parsing.

src/pyOpenMS/pxds/FLASHHelperClasses.pxd (1)

35-37: Consistent section comment formatting.

The # Constructors section comments across all four classes (lines 35, 70, 93, 114) now consistently use the # format. Each is properly separated from the preceding wrap-doc block by a blank line, preventing incorrect parsing.

src/pyOpenMS/pxds/LogConfigHandler.pxd (1)

19-72: Wrap-doc formatting is well-structured.

All three method documentation blocks (parse, configure, setLogLevel) correctly use:

  • # (hash + 2 spaces) for continuation lines
  • # alone for paragraph breaks
  • Proper :param, :raises, and :return RST directives

The extensive documentation for parse() and configure() with examples and parameter descriptions follows best practices for autowrap documentation. Based on learnings, this format is required for proper parsing in autowrap.

src/pyOpenMS/pxds/PeptideProteinResolution.pxd (4)

8-27: LGTM!

The wrap-doc block correctly uses # (hash + two spaces) for all continuation lines, which aligns with the autowrap parsing requirements. The documentation structure and formatting are correct.


32-42: LGTM!

The buildGraph method signature and wrap-doc formatting are correct. Continuation lines properly use # format.


44-53: LGTM!

The resolveGraph method wrap-doc block follows the correct continuation format.


55-82: LGTM!

Both findConnectedComponent and resolveConnectedComponent wrap-doc blocks use proper formatting with # continuation lines.

src/pyOpenMS/pxds/MetaboTargetedAssay.pxd (2)

26-40: LGTM!

The wrap-doc documentation for extractMetaboTargetedAssay properly uses # (hash + two spaces) for continuation lines and follows the required format.


48-69: LGTM!

Both extractMetaboTargetedAssayFragmentAnnotation and pairCompoundWithAnnotatedTDSpectraPairs wrap-doc blocks follow the correct continuation line format.

src/pyOpenMS/pxds/SimpleTSGXLMS.pxd (2)

47-67: LGTM!

The wrap-doc block for the first getXLinkIonSpectrum overload correctly uses # for blank lines and # (hash + two spaces) for content continuation lines, meeting autowrap requirements.


71-88: LGTM!

The second getXLinkIonSpectrum overload wrap-doc block follows the correct continuation format.

src/pyOpenMS/pxds/IDMapper.pxd (3)

29-43: LGTM!

The wrap-doc documentation for the first annotate overload correctly uses # (hash + two spaces) for all continuation lines and properly documents the method parameters and exceptions.


49-112: LGTM!

The wrap-doc blocks for the annotate overloads taking AnnotatedMSRun/FeatureMap and FeatureMap/ConsensusMap parameters follow the correct continuation line format with # .


115-198: LGTM!

The remaining annotate overloads and mapPrecursorsToIdentifications methods have properly formatted wrap-doc blocks with correct # continuation lines.

src/pyOpenMS/tests/unittests/test_docstring_format.py (9)

84-88: Addressed: Empty except block now has explanatory comment.

The empty except block now includes a helpful comment explaining why the exception is silently caught (packaging configurations without __file__). This addresses the previous CodeQL warning appropriately.


247-261: Catching broad Exception is acceptable here for resilience.

While the static analysis flags the blind Exception catch at line 259, this is a reasonable pattern for RST parsing validation where various unexpected errors could occur from docutils internals. The error is captured and appended to the errors list rather than being silently swallowed.

If you want to be more explicit, you could narrow this to specific exceptions, but the current approach is pragmatic for a validation utility.


441-558: Complex method validate_wrap_doc_structure is acceptable given the task.

While static analysis flags this as a complex method, the logic is straightforward state machine parsing for wrap-doc blocks. The method is well-documented with clear comments explaining each condition. Consider extracting helper functions only if this becomes harder to maintain.


1-47: Well-structured test module with appropriate conditional imports.

The module docstring clearly explains the three test categories, and the conditional imports for docutils and pyopenms allow tests to run in different environments (source-only vs. built pyopenms). This is a solid approach for CI flexibility.


565-800: Comprehensive pxd validation test suite.

The TestPxdDocumentation class provides thorough coverage for wrap-doc format validation including:

  • Directory/file existence checks with appropriate skips
  • Essential vs. optional class wrap-doc presence
  • Code block language specifiers
  • Tab detection
  • Backtick balance
  • Structure validation
  • Typo detection
  • Continuation format verification

The tests appropriately skip when the pxds directory is unavailable (build environment). Based on learnings, the strict # (hash + two spaces) enforcement aligns with autowrap requirements.


806-954: Generated docstring validation tests are well-designed.

The TestGeneratedDocstrings class validates autowrap-generated .pyx files, which is the primary CI validation layer. The tests appropriately:

  • Skip when generated files aren't available
  • Check for docstring presence and count
  • Validate core classes exist
  • Check RST validity with acceptable error filtering
  • Verify no tabs and proper string types

The _is_acceptable_error helper at lines 957-974 correctly filters known acceptable patterns from autowrap output.


1054-1129: Unit tests for validation functions provide good coverage.

The TestDocstringValidation class thoroughly tests the validation utilities with both positive and negative test cases for:

  • Valid/invalid RST code blocks
  • Field list formats
  • Javadoc-style detection
  • Unbalanced backticks
  • Tab detection

This ensures the validation logic itself is correct before being applied to actual docstrings.


1131-1235: TestWrapDocStructureValidation unit tests are thorough.

The tests cover important edge cases:

  • Valid multi-line wrap-doc with proper # format
  • Missing space after hash detection
  • Single space (instead of two) detection
  • Inline wrap-doc format acceptance
  • Inconsistent indentation detection
  • Typo detection for common mistakes

These unit tests validate the structure checks that enforce the learnings requirement for # continuation format.


1238-1419: TestPyxDocstringExtraction unit tests are comprehensive.

Good coverage for the docstring extraction logic including:

  • Class and method docstring extraction
  • Single-line and multi-line docstrings
  • Proper dedentation handling
  • Inheritance syntax handling
  • Empty file and no-docstring edge cases

The tests use temporary files appropriately and clean up after themselves.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

Comment on lines +20 to +21
# decomposition_type getDecomposition(ValueType mass) except + nogil
# decompositions_type getAllDecompositions(ValueType mass) except + nogil

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Commented-out declarations may be parsed as wrap-doc content.

Lines 20-21 contain commented-out method declarations using the # wrap-doc continuation format. Since they follow the wrap-doc block for exist() without a clear terminator (like a blank line or ##), the autowrap parser may incorrectly include them in exist()'s documentation.

Consider using ## prefix to clearly mark these as non-documentation comments:

Suggested fix
             #  :param mass: Mass to be checked on decomposing
             #  :return: True, if the decomposition for `mass` exist, otherwise - false

-            #  decomposition_type getDecomposition(ValueType mass) except + nogil
-            #  decompositions_type getAllDecompositions(ValueType mass) except + nogil
+        ## decomposition_type getDecomposition(ValueType mass) except + nogil
+        ## decompositions_type getAllDecompositions(ValueType mass) except + nogil
         DecompositionValueType getNumberOfDecompositions(ValueType mass) except + nogil
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# decomposition_type getDecomposition(ValueType mass) except + nogil
# decompositions_type getAllDecompositions(ValueType mass) except + nogil
# decomposition_type getDecomposition(ValueType mass) except + nogil
# decompositions_type getAllDecompositions(ValueType mass) except + nogil
## decomposition_type getDecomposition(ValueType mass) except + nogil
## decompositions_type getAllDecompositions(ValueType mass) except + nogil
DecompositionValueType getNumberOfDecompositions(ValueType mass) except + nogil
Suggested change
# decomposition_type getDecomposition(ValueType mass) except + nogil
# decompositions_type getAllDecompositions(ValueType mass) except + nogil
# :param mass: Mass to be checked on decomposing
# :return: True, if the decomposition for `mass` exist, otherwise - false
## decomposition_type getDecomposition(ValueType mass) except + nogil
## decompositions_type getAllDecompositions(ValueType mass) except + nogil
DecompositionValueType getNumberOfDecompositions(ValueType mass) except + nogil
🤖 Prompt for AI Agents
In `@src/pyOpenMS/pxds/MassDecomposer.pxd` around lines 20 - 21, The commented-out
method declarations after the wrap-doc block for exist() (the lines referencing
getDecomposition and getAllDecompositions) can be misparsed as wrap-doc content;
update those comment lines in MassDecomposer.pxd to clearly mark them as
non-documentation by prefixing them with "##" or inserting a blank line/explicit
terminator after exist()'s wrap-doc block so the autowrap parser stops treating
them as documentation for exist() — locate the commented lines mentioning
getDecomposition and getAllDecompositions and change their leading comment
marker accordingly.

Comment on lines +47 to 48
# Not implemented
void store(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids, String document_id) except + nogil

@coderabbitai coderabbitai Bot Jan 16, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Ambiguous comment placement may cause parsing issues.

Line 47 # Not implemented uses wrap-doc continuation format (# ) and is indented at the same level as the load() method's wrap-doc block (lines 36-45). The autowrap parser may incorrectly append this comment to load()'s documentation rather than associating it with store().

Consider either:

  1. Moving the comment after the store() declaration as a proper wrap-doc block, or
  2. Using ## to clearly mark it as a non-wrap-doc comment
Suggested fix
-            #  Not implemented
-        void store(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids, String document_id) except + nogil 
+        void store(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids, String document_id) except + nogil
+            ## Not implemented
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Not implemented
void store(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids, String document_id) except + nogil
void store(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids, String document_id) except + nogil
## Not implemented
🤖 Prompt for AI Agents
In `@src/pyOpenMS/pxds/ProtXMLFile.pxd` around lines 47 - 48, The comment "#  Not
implemented" is ambiguously placed and may be parsed as wrap-doc for load();
move or reformat it so it clearly belongs to store(): either relocate the
comment to immediately after the declaration of store(String filename,
ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids, String
document_id) except + nogil, or change its prefix to "##" (or another clear
non-wrap-doc marker) so it is not treated as part of load()'s wrap-doc; ensure
the comment sits at the same indentation level as the store() declaration and
refers to store() to avoid parser misassociation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@timosachsenberg Yep. Those are the false positives I mean. Sometimes a new line and a discontinuation was actually intended.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpfeuffer what do you think about the fix below?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe 😄 It is really complex but yeah, new lines without a hash should not be seen as continuations definitely

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I think I merge this. Might need some updates in the future but already found some true bugs

@OpenMS OpenMS deleted a comment from claude Bot Jan 16, 2026
timosachsenberg and others added 2 commits January 16, 2026 17:05
The wrap-doc validator was incorrectly treating comments like "# private"
or "# protected" that appeared after blank lines as wrap-doc continuation
lines. This caused false positives in 7 pxd files (ModificationsDB, RNaseDB,
ElementDB, Param, RibonucleotideDB, CrossLinksDB, ProteaseDB).

The fix adds tracking of blank lines within wrap-doc blocks. When a blank
line is followed by a single-space comment (like "# private"), the validator
now correctly ends the wrap-doc block instead of flagging it as a format error.

This allows valid multi-paragraph wrap-doc blocks while properly separating
wrap-doc content from subsequent unrelated comments.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Address CodeRabbit review comment: the extract_wrap_doc_from_pxd()
function was accepting single-space continuations "# " which is
inconsistent with the validator that requires two spaces "#  ".

Changes:
- Only accept "#  " (hash + exactly 2 spaces) as continuation lines
- Accept "#" (just hash) for blank lines in docstrings
- Remove the branch that accepted single-space "# " continuations
- Update regex from r'\s*#\s?' to r'\s*#\s{2}' for strict matching
- Add proper break for wrap directive boundaries

This makes extraction consistent with validation and prevents
accidentally extracting unrelated comments as wrap-doc content.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@claude

claude Bot commented Jan 16, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@timosachsenberg
timosachsenberg merged commit f0034b6 into develop Jan 16, 2026
@timosachsenberg
timosachsenberg deleted the feature/docstring-format-tests branch January 16, 2026 17:59
claude Bot pushed a commit that referenced this pull request Jan 18, 2026
Added 19 missing PRs to OpenMS 3.6.0 changelog:

PyOpenMS:
- #8530: Build system modernization with py-build-cmake
- #8633: SpectrumNativeIDParser wrapper
- #8655: Arrow/Parquet export with DataFrame methods (BREAKING: method renames)
- #8661: Build dependency docs
- #8664: Biosaur2Algorithm wrap-inherits
- #8668: wrap-doc documentation
- #8674: Docstring validation tests

TOPP tools:
- #8643: FileInfo FASTA stats
- #8650: FileConverter MSP support
- #8649: PeakPickerHiRes parameter

OpenMS Library:
- #8633: SpectrumNativeIDParser class
- #8655: ArrowExport helper
- #8651, #8656, #8659, #8660, #8662: Performance optimizations

Fixes:
- #8645: DataArray handling in filters
- #8672: Test file correction
- #8678: UniqueIdGenerator seed collision fix

Build System:
- #8675, #8676: Claude CI workflows

Also reorganized misplaced entries from lines 122-129.

Co-authored-by: Timo Sachsenberg <[email protected]>
timosachsenberg added a commit that referenced this pull request Jan 18, 2026
* Add comprehensive changelog for OpenMS 3.6.0

Includes changes from 96 merged PRs since version 3.5.0:

- General: macOS Intel discontinued, Ubuntu 24.04, notarization in CI
- Dependencies: Autowrap >= 0.26.0, Eigen minimum 3.4.0
- PyOpenMS: Pythonic methods (__len__, __str__, __repr__, __hash__),
  DataFrame support, new wrappers, string handling improvements
- TOPP tools: MapAligner spectra transformation, FileInfo improvements,
  IsobaricWorkflow fixes, SageAdapter thread handling
- OpenMS Library: PeakFileOptions, ParamIterator, SpectrumAnnotator
- Breaking changes: Matrix<T> Eigen decoupling, API renames, FileWatcher move
- Bug fixes: NucleicAcidSearchEngine, LogConfigHandler, decoy generation
- Documentation: Targeted Quantitation, parameter annotations, AGENTS.md
- Build: macOS notarization, Parquet support, pytest fixtures

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* Add missing changelog entries for recently merged PRs

Added 19 missing PRs to OpenMS 3.6.0 changelog:

PyOpenMS:
- #8530: Build system modernization with py-build-cmake
- #8633: SpectrumNativeIDParser wrapper
- #8655: Arrow/Parquet export with DataFrame methods (BREAKING: method renames)
- #8661: Build dependency docs
- #8664: Biosaur2Algorithm wrap-inherits
- #8668: wrap-doc documentation
- #8674: Docstring validation tests

TOPP tools:
- #8643: FileInfo FASTA stats
- #8650: FileConverter MSP support
- #8649: PeakPickerHiRes parameter

OpenMS Library:
- #8633: SpectrumNativeIDParser class
- #8655: ArrowExport helper
- #8651, #8656, #8659, #8660, #8662: Performance optimizations

Fixes:
- #8645: DataArray handling in filters
- #8672: Test file correction
- #8678: UniqueIdGenerator seed collision fix

Build System:
- #8675, #8676: Claude CI workflows

Also reorganized misplaced entries from lines 122-129.

Co-authored-by: Timo Sachsenberg <[email protected]>

---------

Co-authored-by: Claude Opus 4.5 <[email protected]>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Timo Sachsenberg <[email protected]>
@timosachsenberg timosachsenberg mentioned this pull request Jun 8, 2026
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