Accept a custom scheduling strategy in ReplayRecordingOptions
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- csharp
- Ambito
- distributed-systems, testing
Direzione di ricerca
Start by reading ReplayRecordingOptions, RecordCluster, and RecordClusterEntry, then trace how the scheduler strategy name and seed are written into the artifact. Check the replay recording tests for coverage of scheduler metadata. Done means an optional strategy factory can wrap the runtime's seeded strategy before the first step and the artifact records the resulting strategy's name.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
ReplayRecordingOptions selects a built-in policy through ReplaySchedulingPolicy. A consumer which needs a custom ISimulationSchedulingStrategy must therefore assign SimulationScheduler.SchedulingStrategy inside the recorded callback. The artifact then names seeded-random as its strategy (scheduler.strategy, with its schedule seed), although every recorded decision came from the custom strategy. Exact replay still works, because it consumes the recorded decisions, but the artifact misdescribes the run that produced them.
Proposal. Add an optional strategy factory to ReplayRecordingOptions, for example Func<ISimulationSchedulingStrategy, ISimulationSchedulingStrategy>, which receives the runtime's seeded strategy so a custom strategy can delegate to it. Record the resulting strategy's Name in the artifact's scheduler section. RecordCluster and RecordClusterEntry would apply the factory before the first step.
Consumer. Clog's conformance kit (ReubenBond/clog#365) explores the schedules of small concurrent windows with WindowSchedulingStrategy. Inside a window it follows a choice vector, and outside every window it delegates to the seeded strategy. Today the driver swaps the strategy inside RecordCluster's callback.
- Lingua principale
- C#
- Stelle
- 0
- Fork
- 0
- Merge medio
- 2h 32m
- PR unite (30g)
- 23
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ReubenBond/Clockwork
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ReubenBond/Clockwork#73 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
ReubenBond/Clockwork#70 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
ReubenBond/Clockwork#78 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 43/100
ReubenBond/Clockwork#76 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
ReubenBond/Clockwork#69 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ReubenBond/Clockwork
Issue simili
-
[Bug]: Threading.Analyzers 0.7.79 does not load on the .NET 10 SDK (CS9057), CHT rules silently offApertabug regression threading
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
CryptoHives/Foundation#362 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: 本地歌词翻译显示错误Apertabug need-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Fervent-Tempo/AF-Media-Bar#321 ·
-
a-corriger documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 87/100
christian-raj/S-Aloha#345 ·
-
bug 要トリアージ
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
worldInstancedOccluderNode reads its appendix count as one byte, but it is a VLQForse già presa @spuddeh l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno