[W15] Implement conservative replay fills and conserving ledgers

未關閉
#24 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
python, rust

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
Python
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

copyleftdev/phobos 的其他 Issue

查看 copyleftdev/phobos 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。