Quality checks #36

Closed
opened 3 years ago by mpeltriaux · 1 comments
Owner

Status quo

quality_check() is a method, which can be found for Intervention, EMA and Compensation model, but does not have proper implementation, yet.

ToDo

Add quality check functions:

Intervention

  1. registration_date set
  2. binding_date set
  3. geometry set
  4. title set
  5. process_type set
  6. laws not empty
  7. file numbers set
  8. registration_office set
  9. conservation_office set
  10. handler set
  11. revocation NOT set
  12. Has at least 1 compensation or 1 payment or 1 deduction

Compensation

  1. geometry set
  2. amount surface before_states must be equal to after_states
  3. before_states and after_states not be empty
  4. actions not empty

EMA

Same as for Compensation

EcoAccount

Same as for Compensation, extended by

  1. deductable_surfaceset
  2. registration_date set
  3. conservation_office set
  4. file number set
# Status quo `quality_check()` is a method, which can be found for Intervention, EMA and Compensation model, but does not have proper implementation, yet. # ToDo Add quality check functions: ## Intervention 1. `registration_date` set 1. `binding_date` set 1. `geometry` set 1. `title` set 1. `process_type` set 1. `laws` not empty 1. file numbers set 1. `registration_office` set 1. `conservation_office` set 1. `handler` set 1. `revocation` **NOT** set 1. Has at least **1** compensation **or** **1** payment **or** **1** deduction ## Compensation 1. `geometry` set 1. amount surface `before_states` must be **equal** to `after_states` 1. `before_states` and `after_states` not be empty 1. `actions` not empty ## EMA Same as for Compensation ## EcoAccount Same as for Compensation, extended by 1. `deductable_surface`set 1. `registration_date` set 1. `conservation_office` set 1. file number set
mpeltriaux added the
enhancement
label 3 years ago
mpeltriaux self-assigned this 3 years ago
mpeltriaux referenced this issue from a commit 3 years ago
mpeltriaux referenced this issue from a commit 3 years ago
mpeltriaux referenced this issue from a commit 3 years ago
mpeltriaux referenced this issue from a commit 3 years ago
mpeltriaux referenced this issue from a commit 3 years ago
mpeltriaux referenced this issue from a commit 3 years ago
mpeltriaux referenced this issue from a commit 3 years ago
Poster
Owner

Merged in #37

# Merged in #37
mpeltriaux closed this issue 3 years ago
Sign in to join this conversation.
Loading…
There is no content yet.