comp_req__kvs__value_get_api says get value returns the default value, but the team agreed it does not
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 86/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
要件名は comp_req__kvs__value_get_api です。issue にはそのファイルが記載されていません。まずリポジトリ内でその要件を検索し、現在の文面を Kvs::GetValue と Rust get_value について説明されている動作と照らし合わせて読んでください。要件をチームで合意された内容に合わせて更新し、キーが書き込まれていない場合に get value がデフォルト値を返すという記述がなくなったことを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Description
The requirement comp_req__kvs__value_get_api says:
if a key was never written, get value returns its default value.
The team agreed on something else: get value returns an error, and the user reads the default value with get default value.
Both implementations work the way the team agreed. Please change the requirement text.
comp_req__kvs__value_get_api: The component shall provide a capability to retrieve the in-memory value associated with a key, returning the default value (see comp_req__kvs__value_default) when the key has not been explicitly written.
How it works today
If a key was never written, get value returns the error KeyNotFound.
This is also true when the key has a default value.
To get the default value, the user calls get default value.
C++ (Kvs::GetValue in score/kvs/kvs.cpp) and Rust (get_value in score/kvs/rust_kvs/kvs.rs) both work like this.
History
#417 (2026-09-18): removed the default value from get value in C++ and Rust
#383 (2026-10-02): in a review, Piotr asked if get value should return the default value. umaucher answered that the team agreed in the FT meeting that it should not: "the 'normal' get is not defining any error handling and the 'user' needs to decide ... so e.g. requesting the default instead".
#541 (2026-10-23): added the current requirement text. It brings the default value back, so it does not match #417 or the agreement.
Acceptance Criteria
Requirtement text should match the team agreement
- 主要言語
- Python
- スター
- 6
- フォーク
- 49
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 63
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-score/reference_integration のほかの issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
eclipse-score/reference_integration#460 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
eclipse-score/reference_integration#430 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
eclipse-score/reference_integration#494 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
eclipse-score/reference_integration#458 ·
メンテナーはふだん 1 日以内に返信
-
os_images as a dev dependency再び着手できるかも @odra が 43 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
eclipse-score/reference_integration#409 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
eclipse-score/reference_integration の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
hugohe3/ppt-master#366 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 89/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4716 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
pcqpcq/open-source-android-apps#619 ·
メンテナーはふだん 1 日以内に返信
-
contribution Windows 主机
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Lee-xeo/Claude-Cage#1519 ·
メンテナーはふだん 1 日以内に返信