[W15] Implement conservative replay fills and conserving ledgers

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, rust

Direzione di ricerca

Start by reading docs/rfcs/RFC-0006-deterministic-simulation.md and inspect the blocked issues #14, #18, and #37 for their prerequisites. The issue names no implementation files or tests, so locate the replay and ledger entry points before estimating the work. Done means hypothetical fills do not alter recorded markets, unknown queues and partial fills are explicit, and per-asset flows reconcile with fee and overflow cases verified.

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

Descrizione

area:simulation kind:delivery spec:tracked

Kind: delivery · Milestone: M5 · Accountable role: simulation

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

Specification sources

Requirement obligations and verification

PHO-SIM-04 — Historical replay MUST NOT claim hypothetical orders changed the recorded market or that unobserved queue positions are known.

Verification: Fill-policy audit and impossible-fill negative cases.
Registry milestone: M5; associated gate: G2.

PHO-SIM-05 — Financial simulation MUST conserve per-asset quantities with explicit external flows, charges, settlements and residual positions.

Verification: Double-entry ledger reconciliation and overflow properties.
Registry milestone: M5; associated gate: G2.

Acceptance criteria

  • Separate hypothetical execution from recorded market formation.
  • Represent unknown queue position and partial fills explicitly.
  • Reconcile per-asset ledger flows and retain fee/overflow fault cases.

Parent

#6

Blocked by

  • #14 (W05)
  • #18 (W09)
  • #37 (OQ-07)

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.

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.