Skip to content

Conversation

@Error323
Copy link
Collaborator

Summary

Deze PR implementeert de volledige Participatiewet inclusief:

  • Participatiebanen (Article 10a-10d)
  • Reïntegratie ondersteuning
  • Tegenprestatie verplichting

En bevat ook:

  • Behave feature tests voor alle drie de onderdelen
  • Schema validatie fixes voor alle YAML files

Changes

  • ✨ Volledige Participatiewet implementatie voor 2025-01-01
  • ✨ Conversie van service_references naar sources pattern
  • ✨ Behave feature tests met realistische scenario's
  • 🐛 Schema validatie fixes:
    • Fixed valid_from dates (quoted strings voor schema compliance)
    • Added required description fields to all select_on items
    • Added required type fields to all select_on items
    • Fixed invalid UUID in tegenprestatie YAML

Test Results

Alle tests slagen:

  • 4 features passed
  • 14 scenarios passed
  • 153 steps passed
  • 0 failures

Schema validatie: ✅ Passed

🤖 Generated with Claude Code

Error323 and others added 5 commits October 28, 2025 22:52
Add implementation of Besluit bijstandverlening zelfstandigen 2004 (Bbz 2004)
Article 23, which regulates assistance for starting entrepreneurs.

Key changes per Staatsblad 2025, 220:
- Initial assistance period reduced from 36 to 18 months
- Extension to 36 months possible after viability reassessment
- Extension also possible for medical/social reasons

Implementation details:
- Service references to KVK for entrepreneur verification
- Viability assessments required at 6, 12, and 24 months
- Output includes eligibility, duration, and reassessment dates
- Fully validated against schema v0.1.6

Files added:
- laws/besluit_bijstandverlening_zelfstandigen/SZW-2025-07-01.yaml
- laws/besluit_bijstandverlening_zelfstandigen/README.md

Related laws: Handelsregisterwet (KVK), Werkloosheidswet (UWV)
BWB-ID: BWBR0015711

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Implements 8 comprehensive test scenarios for beginnende zelfstandigen bijstand:
- Standard 18-month assistance period (new 2025-07-01 duration)
- 36-month extensions via viability review or medical/social reasons
- Rejection cases (inactive business, failed viability)
- Various business structures (eenmanszaak, VOF)

Note: Date arithmetic operations (einddatum_bijstand, volgende_herbeoordelingsdatum)
are documented but not tested as ADD_MONTHS operation is not yet supported by platform.

All 8 scenarios passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Voegt drie nieuwe subdomeinen toe aan de Participatiewet:

1. **reintegratie/** (SZW-2025-01-01.yaml)
   - Implementeert artikel 7: recht op re-integratie ondersteuning
   - Implementeert artikel 9: arbeidsverplichtingen
   - Implementeert artikel 10: re-integratie voorzieningen
   - Outputs: is_gerechtigd_reintegratie, heeft_arbeidsverplichting, is_vrijgesteld_tegenprestatie

2. **participatiebanen/** (SZW-2025-01-01.yaml)
   - Implementeert artikel 10a: participatieplaatsen (max 24 maanden)
   - Implementeert artikel 10b: beschut werk
   - Implementeert artikel 10c-10d: loonkostensubsidie
   - Outputs: is_gerechtigd_participatieplaats, is_gerechtigd_beschut_werk,
              is_gerechtigd_loonkostensubsidie, loonkostensubsidie_bedrag

3. **tegenprestatie/** (SZW-2025-01-01.yaml)
   - Implementeert artikel 9.1.c: tegenprestatie verplichting
   - Implementeert artikel 9.3 en 9a: vrijstellingen
   - Implementeert artikel 8a: gemeentelijke verordening
   - Outputs: heeft_tegenprestatie_verplichting, is_vrijgesteld_tegenprestatie, reden_vrijstelling

Alle YAML bestanden:
- Voldoen aan schema v0.1.6
- Hebben correcte service references naar BRP, UWV, Belastingdienst
- Hebben uitgebreide legal_basis documentatie
- Zijn gevalideerd met ./script/validate.py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Convert all three Participatiewet YAML files from service_references to sources pattern
- Add feature tests for reintegratie, participatiebanen, and tegenprestatie
- Fix ALL/AND operation syntax in IF conditions throughout YAML files
- Replace calculated LEEFTIJD with inline SUBTRACT_DATE operations
- Correct loonkostensubsidie calculation expected value in test

All 9 scenarios (3 features × 3 scenarios) now pass successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add quotes around valid_from dates to prevent YAML date parsing
- Add description and type fields to all source_reference select_on items
- Fix UUID in tegenprestatie to be valid version 4 UUID

All three YAML files now pass schema validation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Error323 added a commit to MinBZK/poc-machine-law that referenced this pull request Oct 29, 2025
…on fixes

Updates submodule to include:
- Schema validation fixes for Participatiewet YAML files
- Quoted valid_from dates for schema compliance
- Added required description and type fields to select_on items
- Fixed invalid UUID

Related PR: MinBZK/regelrecht-laws#16

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Changed Participatiewet YAML files to use unquoted dates for consistency:
- participatiebanen/SZW-2025-01-01.yaml
- reintegratie/SZW-2025-01-01.yaml
- tegenprestatie/SZW-2025-01-01.yaml

This matches the format used by all other YAML files in the repository.
Both Python and Go implementations handle unquoted dates correctly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants