Skip to content

Instantly share code, notes, and snippets.

@dfischer
Forked from calroc/six_step_reframe.py
Created May 16, 2022 04:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dfischer/2b210b49868c875c2300a17a82b424c2 to your computer and use it in GitHub Desktop.
Save dfischer/2b210b49868c875c2300a17a82b424c2 to your computer and use it in GitHub Desktop.
This is Python pseudocode for the deprecated Six Step Reframe pattern.
from nlp import unconscious_connection
behavior = 'some behaviour you want to change'
urmind = unconscious_connection()
G = urmind.get_generative_part()
I = urmind.intention_of(behavior)
new_behaviors = []
while len(new_behaviors) < 3:
b = G.generate_behavior_for_(I)
if I.expected_efficacy(b) > I.expected_efficacy(behavior):
new_behaviors.append(b)
if I.utilize(new_behaviors):
urmind.commit(I)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment