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

Ambiguous tax ranges in Part 2:Gift tax calculator exercise. Specify inclusive/exclusive boundaries

オープン 初心者向け
#21 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
72/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
静か
技術スタック
javascript
領域
documentation

調査の方向性

Part 2: Gift tax calculator の演習の説明から始め、そこに示されている値の範囲を解答の境界表記と比較してください。各境界が包含的か排他的かを明確にし、その後、既存のテストコードを実行して、文書化された範囲に一貫性が保たれていることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

In Part 2 : Gift tax calculator exercise the boundaries of value ranges are ambigious. This part of the problem description "If the total value of the gifts you receive from the same donor in the course of 3 years is €5,000 or more, you must pay gift tax." implies that the first boundary is inclusive and the second is exclusive (since the second boundary is repeated as the frst one in the following ranges so that must be exclusive : ex: (50 - 100] ). But the solution of the exercise has used second boundary as the inclusive boundary rather than the first one (ex: [50 - 100)). The test code works fine in both cases but the clarity can be improved throug clear indication of the ranges ( either (50-100] or [50 - 100] ).

主要言語
JavaScript
スター
81
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

rage/programming-26 のほかの issue

rage/programming-26 の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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