Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix typos and grammar #4183

Merged
merged 8 commits into from
Jan 9, 2025

Conversation

Marcofann
Copy link
Contributor

@Marcofann Marcofann commented Jan 6, 2025

This pull request addresses several minor grammar and punctuation issues in multiple ADR (Architectural Decision Record) documents. The changes improve clarity, correctness, and consistency across the documentation. Below are the details of the updates:

Summary of Changes:

  1. ADR-005-QGB-Reduce-State-Usage:

    • Improved terminology: Replaced "confirms" with "confirmations" to ensure consistency.
  2. ADR-009-Non-Interactive-Default-Rules-for-Reduced-Padding:

    • Added a missing comma after "Therefore" for proper punctuation.
  3. ADR-011-Optimistic-Blob-Size-Independent-Inclusion-Proofs-and-PFB-Fraud-Proofs:

    • Fixed a missing closing parenthesis in a mathematical context.

Rationale:

  • These changes enhance the readability and professionalism of the documentation.
  • Correct grammar and punctuation are critical for clear communication, especially in technical and architectural documents.

@Marcofann Marcofann requested a review from a team as a code owner January 6, 2025 12:42
@Marcofann Marcofann requested review from rootulp and rach-id and removed request for a team January 6, 2025 12:42
Copy link
Contributor

coderabbitai bot commented Jan 6, 2025

📝 Walkthrough

Walkthrough

This pull request involves minor documentation updates across several Architecture Decision Records (ADRs) related to the Quantum Gravity Bridge (QGB) and Celestia's message handling. The changes primarily focus on improving clarity through terminology refinements, updating status information, and providing more detailed explanations of technical design considerations. The modifications span documents addressing validator set confirmations, data commitments, state usage reduction, and message padding rules.

Changes

File Change Summary
docs/architecture/adr-002-qgb-valset.md Minor text modification: Changed "confirms" to "confirmations"
docs/architecture/adr-003-qgb-data-commitments.md Minor terminology update from "confirms" to "confirmations"
docs/architecture/adr-005-qgb-reduce-state-usage.md Significant update deprecating current QGB design, elaborating on state usage reduction strategy
docs/architecture/adr-009-non-interactive-default-rules-for-reduced-padding.md Modified message padding alignment rules and added detailed explanations
docs/architecture/adr-011-optimistic-blob-size-independent-inclusion-proofs-and-pfb-fraud-proofs.md Updated status, clarified PFB inclusion proof details, expanded optimization discussions

Possibly related PRs

Suggested labels

external

Suggested reviewers

  • cmwaters
  • rach-id
  • evan-forbes
  • rootulp
  • ninabarbakadze

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
docs/architecture/adr-003-qgb-data-commitments.md (1)

15-15: Consider rephrasing for clarity and professionalism.

The cross-reference to ADR-005 is valuable, but the phrasing could be more direct and professional.

Consider this revision:

-PS: The `ValsetConfirm` have been updated in `adr-005-qgb-reduce-state-usage`. Please take a look at it to know how we will be handling the confirmations.
+Note: For details on handling confirmations, refer to the updated `ValsetConfirm` implementation in `adr-005-qgb-reduce-state-usage`.
🧰 Tools
🪛 LanguageTool

[style] ~15-~15: To make your writing clearer, consider a more direct alternative.
Context: ...adr-005-qgb-reduce-state-usage`. Please take a look at it to know how we will be handl...

(TAKE_A_LOOK)

docs/architecture/adr-002-qgb-valset.md (1)

15-15: Consider rephrasing for clarity and professionalism.

For consistency with other ADR documents and improved clarity, the cross-reference could be rephrased.

Consider this revision:

-PS: The `ValsetConfirm` has been updated in `adr-005-qgb-reduce-state-usage`. Please take a look at it to know how we will be handling the confirmations.
+Note: For details on handling confirmations, refer to the updated `ValsetConfirm` implementation in `adr-005-qgb-reduce-state-usage`.
🧰 Tools
🪛 LanguageTool

[style] ~15-~15: To make your writing clearer, consider a more direct alternative.
Context: ...adr-005-qgb-reduce-state-usage`. Please take a look at it to know how we will be handl...

(TAKE_A_LOOK)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eb46175 and 3835446.

📒 Files selected for processing (5)
  • docs/architecture/adr-002-qgb-valset.md (1 hunks)
  • docs/architecture/adr-003-qgb-data-commitments.md (1 hunks)
  • docs/architecture/adr-005-qgb-reduce-state-usage.md (1 hunks)
  • docs/architecture/adr-009-non-interactive-default-rules-for-reduced-padding.md (1 hunks)
  • docs/architecture/adr-011-optimistic-blob-size-independent-inclusion-proofs-and-pfb-fraud-proofs.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/architecture/adr-002-qgb-valset.md

[style] ~15-~15: To make your writing clearer, consider a more direct alternative.
Context: ...adr-005-qgb-reduce-state-usage`. Please take a look at it to know how we will be handl...

(TAKE_A_LOOK)

docs/architecture/adr-003-qgb-data-commitments.md

[style] ~15-~15: To make your writing clearer, consider a more direct alternative.
Context: ...adr-005-qgb-reduce-state-usage`. Please take a look at it to know how we will be handl...

(TAKE_A_LOOK)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: Summary
🔇 Additional comments (3)
docs/architecture/adr-005-qgb-reduce-state-usage.md (1)

39-39: LGTM! Clear and well-structured explanation.

The sentence effectively explains the concept of gossiping confirmations and attestations in a separate P2P network.

docs/architecture/adr-011-optimistic-blob-size-independent-inclusion-proofs-and-pfb-fraud-proofs.md (1)

81-81: LGTM! Well-formatted mathematical explanation.

The mathematical notation and explanation for calculating proof size are clear and consistent.

docs/architecture/adr-009-non-interactive-default-rules-for-reduced-padding.md (1)

67-67: LGTM! Clear mathematical explanation.

The explanation about finding a message where the number of rows is log(n) of the message size is well-structured and mathematically sound.

@rootulp rootulp changed the title Fix grammar and punctuation in ADR documents docs: fix typos and grammar Jan 6, 2025
rootulp
rootulp previously approved these changes Jan 6, 2025
docs/architecture/adr-002-qgb-valset.md Outdated Show resolved Hide resolved
@rootulp rootulp enabled auto-merge (squash) January 6, 2025 14:20
auto-merge was automatically disabled January 7, 2025 12:10

Head branch was pushed to by a user without write access

@celestia-bot celestia-bot requested a review from rootulp January 7, 2025 12:11
tiendn added a commit to tiendn/celestia-app that referenced this pull request Jan 7, 2025
Fixed the capitalization of "Linux" in the release notes to enhance readability and maintain consistency in documentation. This change aligns with previous efforts to improve the clarity of the project's documentation.
tiendn added a commit to tiendn/celestia-app that referenced this pull request Jan 7, 2025
Corrected a minor typo in the Docker image publishing instructions to improve clarity. The word "create publish" was changed to "publish" for grammatical accuracy. This change enhances the readability of the documentation without affecting functionality.
rootulp
rootulp previously approved these changes Jan 7, 2025
@@ -36,7 +36,7 @@ This way, we will always have a fixed-sized state, issue defining this: [Prune t

### Separate P2P network

This would mean gossiping about the confirms and attestations in a separate P2P network.
This would mean gossiping about the confirmations and attestations in a separate P2P network.
Copy link
Collaborator

Choose a reason for hiding this comment

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

You missed reverting this instance

Suggested change
This would mean gossiping about the confirmations and attestations in a separate P2P network.
This would mean gossiping about the confirms and attestations in a separate P2P network.

@ninabarbakadze ninabarbakadze merged commit 73d4caf into celestiaorg:main Jan 9, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants