Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Vendor scorecard#183's base-side grid record and apply known gaps in the replay gate

Chiusa
#636 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #637 di @MaxGhenis — integrata

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
json, python
Ambito
testing

Direzione di ricerca

Start with the vendored replay_receipt.v1.json in policyengine.py and its mirrors, then compare them with scorecard main at 71cad306 to see what the new diff.base_events grid record and the tightened measure-year lists require. Read the replay gate's known-gap logic and the decision record d1344-replay-regressions-v1 before changing it. Done means new receipts validate against the refreshed schema and the known-gap check follows the exact base-side rule, with tests covering inert and missing-and-supported cases.

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

Descrizione

Follow-up to #634 and #635 (UK replay gate policy d1344-replay-regressions-v1).

policyengine-scorecard#183 merged as 71cad306. Every replay receipt now carries:

  • the comparison base's own grid record, diff.base_events.<event>, with these fields: staging and run manifest digests, supported years, full_supported_grid_complete, and the inert, missing and unsupported measure-years;
  • the candidate's missing_measure_years and unsupported_measure_years lists.

policyengine.py's vendored replay_receipt.v1.json and its mirrors are closed, so every new receipt is refused until they are refreshed.

Work:

  • Vendor the schema from scorecard main at 71cad306. Extend the mirrors, including the tightened measure-year lists: a non-empty measure_key and unique items.
  • Implement the decision record's exact known-gap test. A candidate measure-year that is inert, or missing and supported, is a known gap only if the base's record for the same event lists it as inert, or missing and supported.
Lingua principale
Python
Stelle
8
Fork
10
Merge medio
1g 1h
PR unite (30g)
50

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 PolicyEngine/policyengine.py

Tutte le issue di PolicyEngine/policyengine.py

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.