[C01] Reject duplicate regime names in forecast fixtures

Offen
#64 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
56/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
json, python, rust
Bereich
data, testing

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus copyleftdev/phobos

Alle Issues in copyleftdev/phobos

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.