skillopt-sleep: max_tokens_per_night is defaulted and documented but never enforced
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
Read skillopt_sleep/config.py and skillopt_sleep/budget.py, then trace the cycle entry point to see how model calls and report.md are handled. Decide whether to enforce the configured token cap through Budget or remove the unused setting and its documentation; done means the chosen behavior is consistent and the reported configuration no longer promises an unenforced cap.
索引モデルが issue の本文から書いたものです。
説明
What happens
skillopt_sleep/config.py defines "max_tokens_per_night": 400_000 under the budgets section, and skillopt_sleep/budget.py has a Budget controller that "stops cleanly when exhausted and reports what it skipped". Nothing connects them on main: the key is never read outside DEFAULTS, and Budget( is never constructed. A night's spend is therefore bounded only by max_tasks_per_night, edit_budget and the number of fan-out skill groups, while the config suggests a token cap.
How to check
Version: main at 343db229dbd5ddaf9df6b1d5540d8bcdb2604d5c (uv tool install from git), Python 3.14, macOS.
P=$(python -c 'import skillopt_sleep, os; print(os.path.dirname(skillopt_sleep.__file__))')
rg -n 'max_tokens_per_night' "$P" # only config.py DEFAULTS
rg -n 'Budget\(' "$P" # only the class definition in budget.py
This was also noted in passing in the closed feedback issue #57 ("max_tokens_per_night exists, but no real budget enforcement"); that issue was closed for its other points, and the budget is still not enforced at 343db229.
Request
Either wire max_tokens_per_night (and optionally a wall-clock cap) into the cycle through Budget, stopping before the next model call once it is spent and saying so in report.md, or remove the key from DEFAULTS and the docs so users do not rely on it.
- 主要言語
- Python
- スター
- 18.2k
- フォーク
- 1.7k
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/SkillOpt のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
メンテナーはふだん 2 日以内に返信
-
Clarification on Rollout Timeouts, Inference Concurrency, and Their Impact on SkillOpt Evaluationオープン
難易度 4/5 3〜5日 初心者へのやさしさ 12/100
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 32/100
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
メンテナーはふだん 2 日以内に返信
-
Same unconfined `predictions/<item_id>` path pattern remains in four benchmark rollouts対応中かも @adongwanai が 6 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
microsoft/SkillOpt の issue をすべて見る
似ている issue
-
customer-reported question
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Azure/azure-sdk-for-python#49548 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
btclib-org/btclib-wallet#409 ·
メンテナーはふだん 1 日以内に返信
-
Phase 2 PSA Capability & Career Profile
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bcgov/digital-journeys#2310 ·
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fastmachinelearning/hls4ml#1582 ·
メンテナーはふだん 3 日以内に返信
-
Sort modelsオープンenhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信