Skip to content

Say in the Attestation Docstring That a Tick on Each Side Still Counts - #3232

Merged
ptr727 merged 1 commit into
developfrom
feature/attestation-docstring
Oct 19, 2026
Merged

ptr727 merged 1 commit into
developfrom
feature/attestation-docstring

Conversation

@ptr727

@ptr727 ptr727 commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Summary

This answers Copilot's P2 on promotion #3231. Once #3229 removed the span mask in front of attestation(), a trusted marker on a line of its own between two stray ticks attests, as GitHub renders it. The docstring still said a marker "in a span" vouches for nothing. It now says a marker quoted inline or in a code block vouches for nothing, and that a tick on each side of the marker's own line opens no span, so the marker still counts.

Verification

  • The change is docstring-only. ruff, ruff format, the pr_review suite, and the prose gate with sentence-length are clean, and the pre-commit gate passed at commit.
  • The local strict review checked each claim against ATTESTATION, strip_fences, and the TestAttestationReadings rows, and raised no findings.

🤖 Generated with Claude Code

A marker on a line of its own between two stray ticks opens no span, since the line ends the
paragraph, so it attests, and the docstring now says so rather than implying a span refuses it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 19, 2026 16:46
@ptr727

ptr727 commented Oct 19, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head c7a68e51b10ca9960538280c79bca3429f173f3c, the content this pull request carries at that commit against develop, and it recorded 0 findings.

Copilot AI 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.

🟢 Approval recommended

Documentation-only change with no unresolved findings.

No open issues 🎉

What changed in this PR

Updates the attestation() docstring to clarify Markdown rendering behavior around quoted markers and stray ticks.

Changes:

  • Documents that inline and fenced quotations do not attest.
  • Clarifies that surrounding ticks do not suppress standalone markers.
File Summary
scripts/​pr_review.py Updates the attestation() docstring.

Review effort: Lite

@codecov

codecov Bot commented Oct 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.55%. Comparing base (f7ea5f2) to head (c7a68e5).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3232   +/-   ##
========================================
  Coverage    65.55%   65.55%           
========================================
  Files           17       17           
  Lines         9782     9782           
========================================
  Hits          6413     6413           
  Misses        3369     3369           
Flag Coverage Δ
python-3.13 65.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f4400fde-6691-4469-a582-91de034144b7
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@ptr727
ptr727 merged commit f1e5727 into develop Oct 19, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/attestation-docstring branch October 19, 2026 16:57
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