test(backend): cover timestamp normalization across timezone offsets

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

@Sneha-Anand1910 がすでに取り組んでいます。

2026年7月29日 から。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
fastapi, python
領域
backend, testing

調査の方向性

まず backend/secuscan/finding_intelligence.py から調べ、経過時間の計算箇所を見つけてから、対応するバックエンドの単体テストまたは統合テストを特定してください。Z と明示的なタイムゾーンオフセットで表した同等のタイムスタンプを対象とする、焦点を絞った自動テストケースを追加し、既存の動作に対するカバレッジを維持しながら、期待される安全な動作を検証してください。対象の pytest ファイルと、直接関連するテストスイートを実行してください。

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

説明

area:backend good first issue level:beginner priority:low type:testing

Summary

Add focused tests for equivalent timestamps using Z and explicit offsets so recency calculations stay stable.

Scope

  • Suggested file: backend/secuscan/finding_intelligence.py
  • Add or extend the matching backend unit or integration test.
  • Keep the change focused on the documented edge case.

Acceptance criteria

  • The regression case is reproducible in an automated test.
  • The expected safe behavior is asserted explicitly.
  • Existing behavior remains covered.
  • The focused test passes locally.

Verification

Run the affected pytest file and any directly related suite.

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

環境構築

はじめの一歩

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

utksh1/SecuScan のほかの issue

utksh1/SecuScan の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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