Constraint checker can miss negative-consumption roots that satisfy the extended FOCs
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reading the constraint checker and the initial-cohort root-finding code involved in the extended FOCs; the issue does not name specific files or tests. Trace which consumption object the checker validates versus the one that can become negative, and use the failing scenario from the anchoring work to verify that infeasible roots are rejected. Done means negative-consumption roots no longer pass the constraint check.
索引モデルが issue の本文から書いたものです。
説明
Splitting this out from #1189 at @marcelolafleur's suggestion.
While working on initial-wealth anchoring in #1189, @marcelolafleur found that when the anchor is updated inside the outer loop, the initial cohorts' root-finding can land on infeasible negative-consumption solutions that nonetheless pass the constraint check. From the PR description:
rescaling the households' initial wealth between outer-loop iterations -- even damped -- drives the initial cohorts' root-finding into infeasible negative-consumption roots that satisfy the extended FOCs and pass the constraint checker.
The gist: a root can satisfy the extended FOCs while implying negative consumption, and the constraint checker watches a different consumption object than the one that goes negative, so these roots are not caught. That means an infeasible solution can slip through silently.
This came up as a side effect of the anchoring work rather than something #1189 needs to fix, but it seems worth a dedicated look. @marcelolafleur offered to add more detail here.
- 主要言語
- Python
- スター
- 85
- フォーク
- 153
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 19
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PSLmodels/OG-Core のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
PSLmodels/OG-Core#1218 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
PSLmodels/OG-Core の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws-samples/sample-per-model-bedrock#795 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
Pretalx reports older version to be the latest release than what is actually installed and availableオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
micropython/micropython#19906 ·
メンテナーはふだん 1 日以内に返信