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

feat(cli): forest-cli f3 powertable get-proportion #5028

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

hanabi1224
Copy link
Contributor

@hanabi1224 hanabi1224 commented Dec 3, 2024

Summary of changes

Changes introduced in this pull request:

  • implement forest-cli f3 powertable get-proportion

Lotus output:

➜  lotus git:(master) lotus f3 pt gp 1179 1167
{
  "Instance": 43254,
  "FromEC": false,
  "PowerTable": {
    "CID": "bafy2bzacebf32gcvjz7qy65yz634ekyng5hknegnytda7z6wfm5seoaqebbj4",
    "ScaledTotal": 65524
  },
  "ScaledSum": 15,
  "Proportion": 0.0002289237531286246
}

Forest output:

➜  lotus git:(master) forest-cli f3 pt gp 1179 1167
{
  "Instance": 43254,
  "FromEC": false,
  "PowerTable": {
    "CID": "bafy2bzacebf32gcvjz7qy65yz634ekyng5hknegnytda7z6wfm5seoaqebbj4",
    "ScaledTotal": 65524
  },
  "ScaledSum": 15,
  "Proportion": 0.0002289237531286246
}

Reference issue to close (if applicable)

Closes #4994

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation. All new code adheres to the team's documentation standards,
  • I have added tests that prove my fix is effective or that my feature works (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

@hanabi1224 hanabi1224 marked this pull request as ready for review December 3, 2024 08:41
@hanabi1224 hanabi1224 requested a review from a team as a code owner December 3, 2024 08:41
@hanabi1224 hanabi1224 requested review from lemmih and elmattic and removed request for a team December 3, 2024 08:41
@elmattic elmattic added this pull request to the merge queue Dec 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 3, 2024
@hanabi1224 hanabi1224 added this pull request to the merge queue Dec 3, 2024
Merged via the queue into main with commit 180e57c Dec 3, 2024
40 checks passed
@hanabi1224 hanabi1224 deleted the hm/cli-f3-pt-gt branch December 3, 2024 12:10
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.

[F3] port lotus f3 powertable get-proportion CLI command
3 participants