[C01] Reject duplicate regime names in forecast fixtures

未關閉
#64 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
56/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
json, python, rust
領域
data, testing

研究方向

Start with schemas/forecast.schema.json, community/pilot/PROTOCOL.md, and fixtures/index.json; locate the forecast fixture validation and its semantic check for duplicate regime names. Add a negative fixture with duplicate names and otherwise valid probabilities, then reproduce the expected failure and the unexpected pass when that check is removed in an isolated mutation. Record exact commands and expected and observed output; run the listed submission checks.

由索引模型根據 Issue 內容生成。

描述

area:governance good first issue help wanted kind:challenge pilot:community-001 spec:tracked

Kind: challenge · Milestone: M0 · Accountable role: governance

This is planned work. Completion does not imply a passed research gate.

Specification sources

Requirement obligations and verification

PHO-FOR-04 — A forecast MUST identify target, horizon, distribution or probability, uncertainty, freshness, validity, evidence and abstention reasons.

Verification: Forecast contract validation and invalid-probability cases.
Registry milestone: M3; associated gate: G4.

Acceptance criteria

  • Add a negative forecast fixture with duplicate regime names but otherwise valid probabilities summing to one. Register it in fixtures/index.json. Show that removing the duplicate-name semantic check makes the negative fixture unexpectedly pass. Keep the mutation isolated; do not weaken the real checker.
  • Provide exact reproduction commands and expected/observed output.
  • Keep the change scoped; preserve negative evidence and existing normative requirements.

Parent

#1

Evidence required before closure

  • Exact artifact/source revision and reproduction commands.
  • Observed results, failures, uncertainty and qualification limits.
  • Independent review where the specification requires it.
  • Specification/ADR updates for consequential decisions.

No issue closure authorizes a holdout read, live order, or automatic scientific promotion.

Submission

Run python3 -m pip install -r requirements-dev.txt, then make check github-check pilot-check. Link this issue in a focused PR, or use the Challenge submission form. Include commands, expected/observed output, discovery source and human/agent involvement (unknown is valid). Do not send private prompts or credentials.

This task is part of the disclosed COMMUNITY-PILOT-001. Both arms use identical acceptance standards; no scientific promotion follows from a contribution.

主要語言
Python
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

copyleftdev/phobos 的其他 Issue

查看 copyleftdev/phobos 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。