Task: Migrate the market and configuration documents

Table of Contents

This page documents a task in the Decide the XML strategy for ORE documents story. It captures the goal, current status, acceptance, and any notes or results.

1. Goal

Move curve configuration, today's market, pricing engines, stress testing and the ORE run document. Curve configuration alone is the largest single mapper, so it is the test of whether the table shape generalises.

2. Status

Field Value
State DONE
Parent story Decide the XML strategy for ORE documents
Now Nothing.
Waiting on Nothing.
Next Nothing.
Last touched 2026-10-17

3. Acceptance

  • Each of the five families is read and written through the codec.
  • Their mappers are deleted in the same change.
  • The corpus round-trip harness passes for each family's documents.

4. Plan

(Implementation strategy. Written when work starts; key decisions are distilled into the parent story's * Decisions at close, but the plan itself stays — it is the historical record of what we did.)

5. Measurements

Every number this task claims about a tree, with the command that produced it and the commit it was measured at. A number without both is not a measurement, because a clean-up record describes a tree and trunk moves under a branch: a consumer count, a gate's component count and a suite's size all change with no code changing, and the reader of a bare number cannot tell which tree it came from. Where the raw output matters, put it in an evidence/ file beside the task and name that file in the Command column.

What Value Command Commit
       

6. Notes

7. Test Scenarios

Manual QA scenarios (scaffolded via compass add test_scenario) that verify this task. Link new ones here as they're created; the scenario doc itself links back via its "Verifies task" field.

Scenario State Notes
     

8. PRs

PR Title
#3489 [ore] Read and write pricing engines through the codec
#3532 [ore] Generate the curve configuration table
#3544 [ore] Read and write the curve configuration through the codec
#3545 [ore] Generate the stress testing table
#3547 [ore] Generate the run document table
#3548 [ore] Read and write the run document through the codec
#3563 [ore] Read and write today's market through the codec

9. Review

Comment summary File Decision Notes
       

10. Result

This task was done inside the reference data task. Its PRs are listed there.

All five families are on the codec. Curve configuration landed in #3532 and #3544. Pricing engines landed in #3489. The ORE run document landed in #3547 and #3548. Today's market landed in #3563.

Stress testing is the exception to the acceptance wording. Its table was generated in #3545 and the harness proves it, but nothing in the product reads the stress test XML, so there is no projection to write. The old stress testing mapper had no caller and was deleted. The census records this.

Emacs 29.3 (Org mode 9.6.15)