[engine] mode chooses the review: "llm" (default, unchanged), "classifier" (Jev alone, no LLM) or "combined" (Jev, then the LLM with Jev's flagged units as hints in the user prompt). werkrevisor splits each changed PR document into ##/### sections and #### Scenario units, asks Jev once per unit with the operator's questions, and maps every answer to a problem value: each question asks for a problem, a score runs from "no problem" to "worst problem". A clear spec problem is RED, a doubtful one or an oversized unit YELLOW, a Jev error ERROR. The hints carry file, line, scenario id, question and value, but no PR text. tools/jev-eval measures the questions offline on local PR documents. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
62 lines
1.6 KiB
Markdown
62 lines
1.6 KiB
Markdown
# PR#900: Hinweis auf auslaufende SEPA-Mandate
|
|
|
|
## Relevante Links (Hostsharing-intern)
|
|
|
|
- Taiga-Story: https://plan.example.org/us/900
|
|
|
|
## Das Problem
|
|
|
|
Ein SEPA-Mandat läuft ab, ohne dass die Verwaltung es merkt.
|
|
Danach scheitert die nächste Lastschrift.
|
|
|
|
## Die Szenarien
|
|
|
|
### Feature: Auslaufende SEPA-Mandate anzeigen
|
|
|
|
#### Background
|
|
|
|
- Ein Mandat *läuft aus*, wenn sein Gültigkeitsende in den nächsten 30 Tagen liegt.
|
|
|
|
#### Scenario#900.01: Ein auslaufendes Mandat erscheint in der Liste
|
|
|
|
… damit die Verwaltung rechtzeitig ein neues Mandat einholt.
|
|
|
|
- **Given** ein Mandat, dessen Gültigkeitsende in 10 Tagen liegt
|
|
- **and** ein Mandat, das noch ein Jahr gilt
|
|
- **When** die Verwaltung `GET /api/hs/office/sepamandates?expiring=true` aufruft
|
|
- **Then** antwortet die API mit `200 OK`
|
|
und die Liste enthält nur das erste Mandat
|
|
|
|
##### Verified by
|
|
|
|
<!-- generated by tools/generate-verified-by -->
|
|
- [HsOfficeScenarioTests.shouldListExpiringMandates](../../src/test/java/HsOfficeScenarioTests.java)
|
|
|
|
#### Scenario: Ein abgelaufenes Mandat erscheint nicht
|
|
|
|
- **Given** ein Mandat, dessen Gültigkeitsende gestern war
|
|
- **When** die Verwaltung die auslaufenden Mandate abfragt
|
|
- **Then** fehlt das Mandat in der Liste
|
|
|
|
##### Verified by
|
|
|
|
- [HsOfficeScenarioTests.shouldNotListExpiredMandates](../../src/test/java/HsOfficeScenarioTests.java)
|
|
|
|
Text nach Verified by gehört dem Generator.
|
|
|
|
## Die Lösung
|
|
|
|
Die Abfrage filtert nach `validity`:
|
|
|
|
```sql
|
|
## Not a heading
|
|
#### Scenario#900.99: not a scenario either
|
|
select * from hs_office.sepamandate;
|
|
```
|
|
|
|
#### Hinweis zur Zeitzone
|
|
|
|
Das Gültigkeitsende zählt in der Zeitzone Europe/Berlin.
|
|
|
|
## Anhänge
|