Add a small reusable valid assessment factory
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- testing-qa, tooling
Hướng nghiên cứu
Đọc tests/conftest.py và pyproject.toml trên main hiện tại, sau đó kiểm tra scripts/check.sh và .github/workflows/checks.yml để nắm các yêu cầu về test và lint. Thêm tests/roadmap/tooling/test_assessment_factory.py bao quát các response tổng hợp đầy đủ và hợp lệ, các override tường minh, việc xác thực response và tính độc lập với các thành phần nội bộ của provider. Xác minh bằng lệnh pytest tập trung, pylint và bash scripts/check.sh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 3
- Fork
- 10
- Merge trung bình
- 8 giờ 11 phút
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ashrafee-dev/scamshield-api
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 84/100
ashrafee-dev/scamshield-api#287 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 84/100
ashrafee-dev/scamshield-api#286 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
ashrafee-dev/scamshield-api#285 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ashrafee-dev/scamshield-api#283 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs contributor-roadmap difficulty:beginner documentation good first issue help wanted status:ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ashrafee-dev/scamshield-api#282 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ashrafee-dev/scamshield-api
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
NVIDIA/earth2studio#1241 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
docs(types): update the collection binding note now that typed collections shipped in pycubrid 1.9.0Đang mởdocumentation priority: low size: S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
cubrid-lab/sqlalchemy-cubrid#768 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
--csv-bom was never wired up: PR #850 added an unused helper parameter, so #846 is not fixedĐang mởbug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Broken link in index.rstĐang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
ansys/pydpf-core#3547 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OktoLabsAI/okto-pulse#114 ·
Maintainer thường phản hồi trong vòng 1 ngày