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

FB-001: engine.run(start, end) silently drops the end date [silent-wrong]

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend, databases

調査の方向性

Issue では engine.py:129 の日付フィルターが示されており、get_available_dates() が "YYYY-MM-DD 00:00:00" 形式のタイムスタンプを返すと書かれています。まずそのフィルターと、run() が start と end をどのように受け取るかを読み、次に再現用の利用可能な日付値を確認してください。run(d, d) がその日を含み、期限の期間が1日早く終了しなくなれば完了です。

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

説明

bug

Severity: silent-wrong (all modes, including period="day") · Source: BUGS_FASTBT.md (2026-10-09, re-confirmed 2026-10-11 by findings consolidation B04)

engine.py:129 filters start_date <= d <= end_date as strings, but get_available_dates() returns "YYYY-MM-DD 00:00:00". "2025-07-10 00:00:00" <= "2025-07-10" is False, so the end date is excluded.

Repro (nifty_full.vortex, verified 2026-10-09): [d for d in dates if '2025-07-04' <= d <= '2025-07-10'] gives 07-04, 07-07, 07-08, 07-09 — expiry 07-10 is missing.

Impact: day mode silently skips the last day; run(d, d) runs zero days. In expiry mode the period is truncated: the position is force-closed (EOD_FORCE) at 15:30 the day before expiry.

Workaround: pass end + " 23:59:59".
Fix: compare on str(d)[:10], or normalise the dates once in run().

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

環境構築

はじめの一歩

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

uberdeveloper/fastbt のほかの issue

uberdeveloper/fastbt の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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