Add a small reusable valid assessment factory
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- testing-qa, tooling
調査の方向性
現在の main で tests/conftest.py と pyproject.toml を読み、その後 scripts/check.sh と .github/workflows/checks.yml を調べて、テストと lint の要件を確認します。完全で有効な合成レスポンス、明示的なオーバーライド、レスポンスの検証、プロバイダー内部実装からの独立性を対象とする tests/roadmap/tooling/test_assessment_factory.py を追加します。対象を絞った pytest コマンド、pylint、bash scripts/check.sh で検証します。
索引モデルが issue の本文から書いたものです。
説明
TST-02 · Test infrastructure
Difficulty: intermediate · Status: ready
This is a focused contribution against current main. No unmerged feature PR is required.
Why this is useful
Tests duplicate response dictionaries with inconsistent values
Start here
Source audit: 9d8ac3e01df1. Read these files on current main too, because paths may change after the audit:
Scope and intended output
Add the focused test file tests/roadmap/tooling/test_assessment_factory.py. Change runtime code only if the acceptance criteria explicitly request a behavior fix; otherwise report newly discovered behavior separately.
Acceptance criteria
- Return complete valid synthetic responses with explicit overrides
- Avoid a MagicMock that bypasses response validation
- Keep it independent of provider internals
Verification
uv run pytest tests/roadmap/tooling/test_assessment_factory.py -q
uv run pylint app tests
Create the named focused test file before running its command. Tests must be deterministic, mock external services, and avoid paid calls. Run bash scripts/check.sh before submitting a Python change.
Dependencies
None. Keep the PR based on current upstream main.
Out of scope
- Unrelated refactors, broad formatting, endpoint renames, or extra dependencies without agreement.
- Live cloud provisioning, paid model calls, real private messages, or credentials in fixtures/logs.
- Implementing neighboring roadmap issues in the same PR.
Getting help and submitting
Comment with your intended approach and ask when expected behavior is unclear. Check for an existing PR before starting; there is no deadline for a volunteer contribution. A useful reproduction or partial finding is welcome.
Use the issue's criteria as the review checklist. Include the commands actually run and any limitations. Link the issue; use Fixes only when its entire agreed scope is complete. If CONTRIBUTING.md is not yet on main, the contributor-roadmap PR provides the onboarding guide.
- 主要言語
- Python
- スター
- 3
- フォーク
- 10
- 平均マージ
- 8時間 11分
- マージ済み PR(30日)
- 18
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ashrafee-dev/scamshield-api のほかの issue
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
難易度 2/5 半日 初心者へのやさしさ 84/100
ashrafee-dev/scamshield-api#287 ·
メンテナーはふだん 1 日以内に返信
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
難易度 2/5 半日 初心者へのやさしさ 84/100
ashrafee-dev/scamshield-api#286 ·
メンテナーはふだん 1 日以内に返信
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
ashrafee-dev/scamshield-api#285 ·
メンテナーはふだん 1 日以内に返信
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ashrafee-dev/scamshield-api#283 ·
メンテナーはふだん 1 日以内に返信
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ashrafee-dev/scamshield-api#282 ·
メンテナーはふだん 1 日以内に返信
ashrafee-dev/scamshield-api の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
rpm-software-management/mock#1824 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
jpata/particleflow#520 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue hacktoberfest
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
gridhead/gi-loadouts#699 ·
メンテナーはふだん 13 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
FinanceFlash/unvibecode#206 ·
メンテナーはふだん 1 日以内に返信