Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Raise the simulation cache memory warning to 16 GiB

オープン 初心者向け
#549 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@anth-volk がすでに取り組んでいます。

2026年9月30日 から。

  • #550 @anth-volk による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

現在のPolicyEngine.pyリリース系列で、共有シミュレーションキャッシュの8 GiBおよび32 GiBのしきい値と、それらの警告状態の処理を検索します。最初のしきい値とGiBの表記を更新し、関連するキャッシュテストを実行するか、次の受け入れ基準を満たすテストカバレッジを追加します。16 GiBと32 GiBの警告はそれぞれ1回だけ発生し、キャッシュをクリアするとそれらがリセットされること。

索引モデルが issue の本文から書いたものです。

説明

Problem

The shared simulation cache currently logs its first process memory warning at 8 GiB. The deployed society simulation workers are expected to use substantially more memory, so the 8 GiB warning creates noise before the actionable threshold.

Proposed change

  • Raise the first warning threshold from 8 GiB to 16 GiB.
  • Retain the 32 GiB warning.
  • Use GiB consistently in names and log messages.
  • Base the change on the current PolicyEngine.py release line rather than creating a 5.2.x maintenance release.

Acceptance criteria

  • No warning is emitted below 16 GiB.
  • Each threshold is logged once until the cache is cleared.
  • Clearing the cache resets warning state.
主要言語
Python
スター
8
フォーク
9
平均マージ
15時間 28分
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PolicyEngine/policyengine.py のほかの issue

PolicyEngine/policyengine.py の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。