sootool.policy_diff
Compare two policy versions to identify changes in bracket tax rates and key values by year range or draft versus current enacted version; returns an error when required comparison data is missing.
Instructions
정책 두 버전의 구간별 세율과 주요 값 변경을 비교한다. year_from 과 year_to 로 연도 간 비교하거나 draft_id 로 초안과 현재 시행본을 비교한다. 인자가 모자라거나 비교할 시행본이 없으면 error 필드로 알린다. 변경 이력은 sootool.policy_history 를 쓴다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| domain | Yes | ||
| year_to | No | ||
| draft_id | No | ||
| year_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| error | No | ||
| changes | No | ||
| summary | No | ||
| vs_year | No | ||
| current_year | No |