Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Sales word disagrees with the rate shown at 30 and 100 per day

クローズ
#12 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@bercedev がすでに取り組んでいます。

2026年10月21日 から。

  • #16 @bercedev による — オープン

評価

難易度
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 の本文から書いたものです。

説明

bug good first 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

  1. 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.
  2. Pick the word from the value Rate shows, in both SalesWord and Reasons. The sales score itself can stay on the raw value; only the words need to match the number.
  3. 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hazeliscoding/gil-sweep のほかの issue

hazeliscoding/gil-sweep の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。