Sales word disagrees with the rate shown at 30 and 100 per day
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- csharp
調査の方向性
Read src/GilSweep.Core/Sweep/OpportunityScorer.cs and the existing cases in tests/GilSweep.Tests/Core/OpportunityScoringTests.cs. Add coverage for 29.6, 30, 99.6, and 100, then update both SalesWord and Reasons to use the value displayed by Formatting.Rate. Done when the expected words match the table and dotnet test --project tests/GilSweep.Tests and dotnet format --verify-no-changes pass.
索引モデルが issue の本文から書いたものです。
説明
OpportunityScorer.SalesWord and OpportunityScorer.Reasons (src/GilSweep.Core/Sweep/OpportunityScorer.cs) pick "sells slowly / steadily / quickly" from the raw VelDay, but the number shown next to the word comes from Formatting.Rate(VelDay), which is rounded. A velocity just under 30 or 100 rounds up to the edge but keeps the lower word. It's the same defect as #4, one level up.
VelDay |
Shows | Should show |
|---|---|---|
| 29.6 | 30 sold per day: sells slowly | 30 sold per day: sells steadily |
| 99.6 | 100 sold per day: sells steadily | 100 sold per day: selling quickly |
That line is in the Market screen's signals. The Sweep screen shows the same word as a reason ("↓ Sells slowly"), built separately in Reasons, so both need to change together or the two screens will disagree.
To do
- Add cases for 29.6 and 99.6 to
tests/GilSweep.Tests/Core/OpportunityScoringTests.cs, plus 30 and 100 (which already work), and watch the first two fail. - Pick the word from the value
Rateshows, in bothSalesWordandReasons. The sales score itself can stay on the raw value; only the words need to match the number. - Run the whole suite. The characterization tests pin v1's output; if one fails, say so here before changing it.
Done when each row shows its "Should show" text, and dotnet test --project tests/GilSweep.Tests and dotnet format --verify-no-changes pass.
- 主要言語
- C#
- スター
- 0
- フォーク
- 1
- 平均マージ
- 8時間 5分
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hazeliscoding/gil-sweep のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hazeliscoding/gil-sweep#25 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
enhancement later
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
hazeliscoding/gil-sweep#42 ·
メンテナーはふだん 1 日以内に返信
-
enhancement later
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
hazeliscoding/gil-sweep#40 ·
メンテナーはふだん 1 日以内に返信
hazeliscoding/gil-sweep の issue をすべて見る
似ている issue
-
area-multitenancy area-security p1-recommended priority-high technical-debt
難易度 2/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
help wanted needs-unity ready for a contributor
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eyalgolan/statecraft-israel#1542 ·
メンテナーはふだん 1 日以内に返信
-
kind/enhancement Provider Upgrade pulumi/pulumi-azure R1 Task
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pulumi/pulumi-azure#3669 ·
-
[BUG] FromCString causes 1 byte OOB read in native code対応中かも @mattleibow が今日担当しました。 オープンtype/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mono/SkiaSharp#5426 · リアクション 1 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信