Ignore:
Timestamp:
09/24/26 17:43:19 (5 days ago)
Author:
Stefan <trsunovstefan@…>
Branches:
main
Children:
0cee8ec
Parents:
a531b45
Message:

Wiki docs, phase 6 and phase 7 added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/P1-ConceptualModel/ERModelAIUsage.md

    ra531b45 ref1c1c7  
    283283white `(255,255,255)`, matching `ERModel_v02.png`.
    284284
    285 > **Student action required.** Open `ERModel_v03.xml` in TerraER and read it
    286 > end to end before submission — see the note at the end of
    287 > [ERModel](ERModel.md). Everything else in this session's diff is already
    288 > applied to the docs and to `server/`.
     285
     286### Session 4 — 2026-09-24 (Claude Opus 5.5): v04 after P7
     287
     288**Prompts (student, verbatim):**
     289> But this order_events is added after Phase 7 right? can we add that too?
     290
     291> can you make the ERmodel again with TerraER file to update it? and tell that after P7 we added this
     292
     293> Make it with a white background like earier versions
     294
     295**Response (AI, summarised):**
     296
     297- Explained that the P7 changes must also appear in P1 and P2, since both must describe the
     298  current data structure.
     299- Built `ERModel_v04.xml` in TerraER's own file format by taking `ERModel_v03.xml` unchanged
     300  and appending the new elements with the same XML structure TerraER uses:
     301  - the attribute `reserved_balance` on `Users`;
     302  - the attribute `filled_quantity` on `Orders`;
     303  - the relationships `FillsBuy` and `FillsSell` (Orders 1 : N MarketTrades, partial);
     304  - the entity set `OrderEvents` (key `id`, `event_type`, `quantity`, `price`,
     305    `status_after`, `created_at`) with `Logs` (Orders 1 : N OrderEvents, total on
     306    OrderEvents).
     307- Rendered `ERModel_v04.png` with TerraER 3.14's own drawing classes (loading the `.xml`
     308  exactly as TerraER does and using its image export), on a white background and trimmed like
     309  the earlier versions.
     310- Updated [ERModel](ERModel.md) (title v.04, new attribute rows, the `OrderEvents` section, the
     311  three relationships, and a v04 history entry stating these were added after P7).
     312
     313**What I decided:** to add the P7 structure to the ER model. The new elements are placed
     314automatically, so the layout can be tidied by hand in TerraER.
Note: See TracChangeset for help on using the changeset viewer.