# Platform Current Reality Tree

**URL:** <https://forum.thousandbrains.org/t/platform-current-reality-tree/776>\
**Category:** Monty Code\
**Created:** [September 4, 2025, 10:40pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776 "2025-09-04T22:40:51Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)\
**Post date:** [June 3, 2026, 9:05pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776/21 "2026-06-03T21:05:39Z")

</div>

## Current Reality Tree Update - Learning modules no longer have `pre_episode` and `post_episode` methods.

As mentioned in the [Platform Future Reality Tree - #13 by tslominski](https://forum.thousandbrains.org/t/platform-future-reality-tree/818/13) update, the work to remove `pre_episode` and `post_episode` methods from Learning Modules was completed.

 ![Screenshot 2026-06-03 at 16.00.00](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/a/a35d0940cc2288824d022c6e27c955e50331478c.jpeg)

---

<div class="post-metadata">

**Author:** ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)\
**Post date:** [June 3, 2026, 9:15pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776/22 "2026-06-03T21:15:41Z")

</div>

## Current Reality Tree Update - Platform configuration no longer relies on inheritance hierarchy.

As a consequence of migrating all the configuration to use Hydra a while back, we eliminated the use of inheritance hierarchy from configurations. This update removes (146 Platform configuration relies on inheritance hierarchy), as it is no longer true.

 ![Remove outdated entity](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/7/7ac4c2fed32622e23b79dfa28ad3f59166eebbbe.jpeg)

---

<div class="post-metadata">

**Author:** ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)\
**Post date:** [June 3, 2026, 9:32pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776/23 "2026-06-03T21:32:17Z")

</div>

## Current Reality Tree Update - Removal of the subtree (250 Platform uses two quaternion conventions (WXYZ and XYZQ)) Undesirable Effect

As mentioned in the Future Reality Tree [Platform Future Reality Tree - #14 by tslominski](https://forum.thousandbrains.org/t/platform-future-reality-tree/818/14) update, the undesirable effect has been removed, thus eliminating the entire subtree from the Current Reality Tree.

 ![Screenshot 2026-06-03 at 16.30.35](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/3/3ed1f42e206442e0e7f9ef57c3730add71a8172a.jpeg)

---

<div class="post-metadata">

**Author:** ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)\
**Post date:** [June 8, 2026, 2:57pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776/24 "2026-06-08T14:57:26Z")

</div>

## Current Reality Tree Update - Pickled models Undesirable Effects

@sknudstrup highlighted two undesirable effects. These are now added to the Current Reality Tree, but require further elaboration.

(385 Can’t load pickled models if classes change.)  
(386 Can’t load pickled models without tbp.monty in the environment.)

 ![Screenshot 2026-06-08 at 09.55.54](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/4/45f12f73c940837e9586bc2659095eea799c412a.jpeg)

---

<div class="post-metadata">

**Author:** ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)\
**Post date:** [June 9, 2026, 2:41pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776/25 "2026-06-09T14:41:58Z")

</div>

## Current Reality Tree Update - (387 Pretrained models are not often updated.)

In one of the recent meetings, I observed that we hesitate to update pretrained models because of the amount of toil required. This is adjacent and related to the general toil of running and updating benchmarks, but is its own activity.

For now, I documented the Undesirable Effect (387 Pretrained models are not often updated), which will require further elaboration.

 ![387 Pretrained models are not often updated](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/4/4365dcac2e895f0850fca959fbb6d4e65dd4d9eb.jpeg)

---

<div class="post-metadata">

**Author:** ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)\
**Post date:** [June 15, 2026, 8:24pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776/26 "2026-06-15T20:24:09Z")

</div>

## Current Reality Tree Update - (388 Monty uses logging telemetry in the critical path of how learning modules learn.)

When reviewing the code for other reasons, we noticed that we calculate some `stats` properties, place them in the logging code path, but then use them in a non-logging context as part of regular computation. The undesirable effect here is using what’s essentially “logs” to compute with. The fix will be to calculate and retain the properties, then use them for subsequent calculations rather than retrieving them from log data.

 ![UDE: Using logs for calculations](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/2/203ad1f202b8c38e6414d10e0c0b077bdb76e9e4.png)

---

<div class="post-metadata">

**Author:** ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)\
**Post date:** [August 3, 2026, 6:00pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776/27 "2026-08-03T18:00:51Z")

</div>

## Current Reality Tree Update - (198 Experiment context is embedded in the Monty inheritance hierarchy itself.)

In today’s engineering operations meeting, we added two new entities that contribute to (171 Monty system expects to be in an experiment), which ultimately contributes to the Undesirable Effect (UDE 152 Experimental framing is hardcoded into the Platform).

- (198 Experiment context is embedded in the Monty inheritance hierarchy itself.)
- (201 MontyForNoResetEvidenceGraphMatching embeds experiment mode (“no reset”) in the class name itself.)

 ![Screenshot 2026-08-03 at 12.59.43](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/b/b5b1c4dd65bca40a53a2ce3d64fba9fe9c0e853a.jpeg)

---

<div class="post-metadata">

**Author:** ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)\
**Post date:** [September 21, 2026, 4:49pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776/28 "2026-09-21T16:49:05Z")

</div>

## Current Reality Tree Update - (UDE 109 Experiment manages two EnvironmentInterfaces (eval & train).)

We have an existing Undesired Effect (UDE 108 Customizing EnvironmentInterface for new environments is complex.). Recently, we’ve been working through all the contributing factors that make this the case today. As a result, we documented a new contributing factor (UDE 109 Experiment manages two EnvironmentInterfaces (eval & train).)

Much of the existing constraints can be traced to the presence of `experiment_mode` or `mode` property within Monty and its components.

 ![UDE 109](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/3/3ee9e96d1340d0094023746283b3110211ca6295.jpeg)

 ![120 MontyExperiment tracks and exposes experiment_mode state](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/d/dd6346b5c741829b28a9259c4d4aa920d2142ba3.jpeg)

 ![157 Monty class has experiment_mode & primary_target properties](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/5/5a09380500fdeab56892e2762b96f8c3da592f81.jpeg)

---

<div class="post-metadata">

**Author:** ![tslominski](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.thousandbrains.org/tslominski/32/5_2.png) [@tslominski](https://forum.thousandbrains.org/u/tslominski)\
**Post date:** [September 21, 2026, 6:43pm UTC](https://forum.thousandbrains.org/t/platform-current-reality-tree/776/29 "2026-09-21T18:43:25Z")

</div>

## Current Reality Tree Update - (UDE 385 Can’t load pickled models if classes change.) and (UDE 386 Can’t load pickled models without tbp.monty in the environment).

Historically, we’ve run into issues with loading pretrained models after changing class names. This Current Reality Tree update highlights the contributing factors that lead to this problem, specifically, that we pickle the `tbp.monty` object model class as part of the model.

 ![Pickle contributing causes](https://canada1.discourse-cdn.com/flex034/uploads/thousandbrains/original/2X/3/38237fc31a89deef26effcd86dbfc7a769104009.png)

[Previous page](https://forum.thousandbrains.org/t/platform-current-reality-tree/776.md?page=1)
