Get weights of direct & indirect delegations
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- elixir, graphql
調査の方向性
lib/liquid_voting/voting_weight.ex から始めて update_vote_weight(vote) を更新し、次に委任データと Absinthe クエリのエントリポイントを確認します。直接委任の重みと間接委任の重みを分離する、データベースのコアクエリと計算を定義し、ユーザーについて合計、直接、間接の値を公開します。#56 で説明されているユーザー向けの要件を値が満たせば完了です。
索引モデルが issue の本文から書いたものです。
説明
We wish to show a user (of Decidim, in #56) the user's voting weight, which may increase (from a base of 1) due to delegations 'received'.
We also wish to show the user how much of this voting weight is due to direct delegations (delegations where the user has been chosen as a delegate), and how much is due to indirect delegations (voting weight delegated to someone earlier in a delegation chains that have been passed on to the user though subsequent delegation(s)).
Thus, we need absinthe queries / a query that will return these values for a given user.
This will also involve developing separate core functions to perform the needed db queries & calculations. Note that currently, update_vote_weight(vote) in lib/liquid_voting/voting_weight.ex does not differentiate between direct and indirect delegations.
- 主要言語
- Elixir
- スター
- 17
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
liquidvotingio/api のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
liquidvotingio/api#250 ·
-
Proposal collection reference field再び着手できるかも @oliverbarnes が 1978 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
liquidvotingio/api#245 · コメント 3 件 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
liquidvotingio/api#237 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
liquidvotingio/api#234 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
liquidvotingio/api#230 ·
liquidvotingio/api の issue をすべて見る
似ている issue
-
P2 testing
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
beyond-all-reason/teiserver#1622 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
phoenixframework/phoenix_template#15 · コメント 1 件 ·
-
L: javascript T: bug 🐞
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dependabot/dependabot-core#16397 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wintermeyer/vutuv#2297 ·
メンテナーはふだん 1 日以内に返信