Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable定義に適切な期間を使用する #184

Open
Syuparn opened this issue Nov 19, 2023 · 0 comments
Open

Variable定義に適切な期間を使用する #184

Syuparn opened this issue Nov 19, 2023 · 0 comments
Labels
バックエンド OpenFIsca Python API

Comments

@Syuparn
Copy link
Contributor

Syuparn commented Nov 19, 2023

現状Variableはすべて期間 DAY で定義されていますが、その影響で期間を換算する実装がformulaに直接書かれています。

例: 月収 = 収入 / 12

Openfisca本体に期間を換算する機能があるため、制度が定義されている本来の期間に修正します。

例:収入の期間を YEAR にする

期間の換算方法は https://openfisca.org/doc/coding-the-legislation/35_periods.html#calculate-dependencies-for-a-period-different-than-the-variable-s-definition-period

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
バックエンド OpenFIsca Python API
Projects
Status: No status
Development

No branches or pull requests

1 participant