Skip to content

feat(staking): add stake calculation page #1961

Open
coalus wants to merge 3 commits intoton-org:mainfrom
coalus:docs/stake-calculation-article
Open

feat(staking): add stake calculation page #1961
coalus wants to merge 3 commits intoton-org:mainfrom
coalus:docs/stake-calculation-article

Conversation

@coalus
Copy link
Contributor

@coalus coalus commented Mar 13, 2026

resolves #1960

@github-actions
Copy link
Contributor

Skipping AI review because this PR is from a fork. A maintainer can start the review by commenting /review in this PR.

@novusnota
Copy link
Collaborator

/review

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thanks for the updates to ecosystem/staking/stake-calculation.mdx: I’ve left several suggestions to align the description, headings, and examples with the documentation style guide—please apply the inline suggestions where they make sense.

Comment on lines +1 to +5
---
title: "Stake calculation"
sidebarTitle: "Stake calculation"
description: "How MyTonCtrl computes the stake amount for each election round, including inputs, priority rules, safety reserves, and network limit guards."
---
Copy link
Contributor

Choose a reason for hiding this comment

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

[HIGH] Description uses how‑to style marketing framing

The frontmatter description line (L4) uses the phrase “How MyTonCtrl computes the stake amount for each election round, including inputs, priority rules, safety reserves, and network limit guards.” This “How …” construction reads like a how‑to or marketing headline rather than a neutral summary, which conflicts with the style rule banning marketing‑style or promotional language in technical content. The page itself is structured as an explanation/reference of stake calculation rules, so the description should use neutral, factual phrasing that matches the doc type. See the style rule on marketing and promotional language for examples of neutral alternatives (https://github.com/ton-org/docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L180-L196).

Suggested change
---
title: "Stake calculation"
sidebarTitle: "Stake calculation"
description: "How MyTonCtrl computes the stake amount for each election round, including inputs, priority rules, safety reserves, and network limit guards."
---
---
title: "Stake calculation"
sidebarTitle: "Stake calculation"
description: "Stake calculation rules in MyTonCtrl, including inputs, priority order, safety reserves, and network stake limits."
---

Please leave a reaction 👍/👎 to this suggestion to improve future reviews for everyone!

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd argue that the description itself is redundant regardless of its contents — we try to avoid it on most pages and describe things in plain text instead. Alas, there are scarce descriptions out in the docs, but they are mostly historical baggage that will be removed in the future.

Comment on lines +44 to +46
## Priority cascade

MyTonCtrl evaluates stake sources in a fixed priority order. The first rule that produces a value wins; later rules are skipped.
Copy link
Contributor

Choose a reason for hiding this comment

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

[HIGH] Priority cascade heading not clearly procedural

The section heading ## Priority cascade introduces content that describes an ordered procedure MyTonCtrl follows to compute stake, but the heading itself is a short noun phrase that does not clearly signal behavior or a task. For procedure sections, the style guide prefers imperative or behavior-focused headings instead of bare concepts, to help readers quickly identify what the system does or what happens in that section. Using a more explicit, action-oriented heading improves scannability in the page and table of contents.

Suggested change
## Priority cascade
MyTonCtrl evaluates stake sources in a fixed priority order. The first rule that produces a value wins; later rules are skipped.
## How the priority cascade works
MyTonCtrl evaluates stake sources in a fixed priority order. The first rule that produces a value wins; later rules are skipped.

Please leave a reaction 👍/👎 to this suggestion to improve future reviews for everyone!

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.

[Ecosystem > Staking > Stake calculation] Add stake calculation explanation page

2 participants