Repository navigation
fix: PR #7 のコードレビューで見つかった問題を修正 - #8
Merged
Merged
Conversation
- ホールドアウト・★ の予測区間の分位点を線形走査から二分探索に変え、推定の不確実性が大きいと止まる問題を修正。 予測件数が求まらない場合は判定しない - 変曲S字型+変化点の変曲点を、ln ψ > b₁τ のとき τ + (ln ψ − b₁τ)/b₂ とする(以前は常に ln ψ/b₁) - χ² 検定ができない場合(10 日未満など)に p=1.0 を返して適合性の判定で「パス」に数えていた問題を修正(NaN を返す) - 発見数に効かないパラメータ(FRE の η・D など)を IsDetectionParameter で表し、発見数だけの Fisher 情報行列では固定する。 FRE モデルのホールドアウトが常に Poisson 変動だけの区間になっていた - マルチスタートの既定の生成関数が全開始点に同じシードを渡していた問題を修正 - 収束日の区間の「≥」を、総数・残りバグ数と同じく張り付いた割合だけで判定する - CMA-ES で評価がすべて失敗したときに Converged=true になる問題を修正 - モデル平均化でも変化点 τ を固定して Fisher 情報行列を計算する(変化点モデルがあるとモデル内の分散が抜けていた) - Fisher の表で固定したパラメータを「固定」と表示する(以前は SE=NaN [NaN, NaN]) - GWO の仕上げの Nelder-Mead を設定ファイルの設定で作る、工数の σ̂ をブートストラップで 1 回だけ計算する、 Fisher→ln の標準誤差の計算を共通化する、Excel の表示名の比較に定数を使う Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
マージ済みの PR #7 を
/code-review xhighでレビューし、見つかった 13 件をすべて修正します。テストは 192 → 202 件で、すべて通っています。修正内容
正しさ
IsDetectionParameterを追加し、発見数だけの Fisher 情報行列では固定する(DetectionLikelihoodMask)。χ² の自由度もこれから数えるSE=NaN [NaN, NaN]と表示されていた整理
OptimizerFactoryから作るLogStandardErrorにまとめる(ホールドアウトと ★ で重複していた)テスト
dotnet test tests/BugConvergenceTool.Tests:202 件すべて成功。回帰テストはReviewFixTests.csとInflectionSParameterizationTests.csに追加--ci --pi -d --holdout 5 --change-point --maを実行し、エラーがないことを確認🤖 Generated with Claude Code