[C01] Reject duplicate regime names in forecast fixtures

Aperta
#64 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
json, python, rust
Ambito
data, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di copyleftdev/phobos

Tutte le issue di copyleftdev/phobos

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.