Benchmark: promptisääntö — update-testidatan pitää sisältää kaikki pakolliset kentät
qwen3-coder:30b users 6/7: test_update_user lähetti luontipaiva=None NOT NULL -kenttään. Uusi sääntö estää tämän.
This commit is contained in:
@@ -196,6 +196,7 @@ RULES:
|
||||
- SQLAlchemy 2.0: DeclarativeBase + Mapped + mapped_column (not Column())
|
||||
- Python type unions: str | None (not Optional[str])
|
||||
- Tests: unique descriptive data per test, NOT generic "test_title" strings
|
||||
- Tests: PUT/update test data MUST include ALL required (non-nullable) fields, not just the field being updated
|
||||
- Absolute imports only (from models import ..., from schemas import ...)
|
||||
- NO markdown fences inside file content — just raw code
|
||||
- Only test endpoints that exist in main.py — no extra tests`;
|
||||
|
||||
Reference in New Issue
Block a user