From 25c271acb4f85b90c0110418e3aada89ac146382 Mon Sep 17 00:00:00 2001 From: ASohraB <123218209+ASohraB@users.noreply.github.com> Date: Sat, 4 Feb 2023 00:44:03 +0000 Subject: [PATCH 01/23] c1ab --- Example1Hello.py | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Example1Hello.py diff --git a/Example1Hello.py b/Example1Hello.py new file mode 100644 index 0000000..077ae24 --- /dev/null +++ b/Example1Hello.py @@ -0,0 +1,41 @@ +from python_actr import * +class MyEnv(Model): + pass +class MyAgent(ACTR): + goal=Buffer() + retrieve=Buffer() + memory=Memory(retrieve) + + def init(): + memory.add('count 0 1') + memory.add('count 1 2') + memory.add('count 2 3') + memory.add('count 3 4') + memory.add('count 4 5') + memory.add('count 5 6') + memory.add('count 6 7') + memory.add('count 7 8') + goal.set('add 5 2 count:None sum:None') + def initializeAddition(goal='add ?num1 ?num2 count:None?count sum:None?sum'): + goal.modify(count=0,sum=num1) + memory.request('count ?num1 ?next') + + def terminateAddition(goal='add ?num1 ?num2 count:?num2 sum:?sum'): + goal.set('result ?sum') + #print (sum) + + def incrementSum(goal='add ?num1 ?num2 count:?count!?num2 sum:?sum', + retrieve='count ?sum ?next'): + goal.modify(sum=next) + memory.request('count ?count ?n2') + + def incrementCount(goal='add ?num1 ?num2 count:?count sum:?sum', + retrieve='count ?count ?next'): + goal.modify(count=next) + memory.request('count ?sum ?n2') + +tim = MyAgent() +subway=MyEnv() +subway.agent=tim +log_everything(subway) +subway.run() \ No newline at end of file From b4a0ced986568dd81c5cd331a82a392043ad96ab Mon Sep 17 00:00:00 2001 From: ASohraB <123218209+ASohraB@users.noreply.github.com> Date: Sat, 4 Feb 2023 01:02:00 +0000 Subject: [PATCH 02/23] AddingExample1 --- Example1Hello.py | 42 ++++++++++-------------------------------- 1 file changed, 10 insertions(+), 32 deletions(-) diff --git a/Example1Hello.py b/Example1Hello.py index 077ae24..1faea54 100644 --- a/Example1Hello.py +++ b/Example1Hello.py @@ -1,40 +1,18 @@ +#!pip install python_actr #uncomment this if needed from python_actr import * class MyEnv(Model): pass class MyAgent(ACTR): - goal=Buffer() - retrieve=Buffer() - memory=Memory(retrieve) - - def init(): - memory.add('count 0 1') - memory.add('count 1 2') - memory.add('count 2 3') - memory.add('count 3 4') - memory.add('count 4 5') - memory.add('count 5 6') - memory.add('count 6 7') - memory.add('count 7 8') - goal.set('add 5 2 count:None sum:None') - def initializeAddition(goal='add ?num1 ?num2 count:None?count sum:None?sum'): - goal.modify(count=0,sum=num1) - memory.request('count ?num1 ?next') - - def terminateAddition(goal='add ?num1 ?num2 count:?num2 sum:?sum'): - goal.set('result ?sum') - #print (sum) - - def incrementSum(goal='add ?num1 ?num2 count:?count!?num2 sum:?sum', - retrieve='count ?sum ?next'): - goal.modify(sum=next) - memory.request('count ?count ?n2') - - def incrementCount(goal='add ?num1 ?num2 count:?count sum:?sum', - retrieve='count ?count ?next'): - goal.modify(count=next) - memory.request('count ?sum ?n2') + goal = Buffer() # Creating the goal buffer for the agent + def init(): # this rule fires when the agent is instantiated. + goal.set("helloworld") # set goal buffer to direct program flow + def bread_bottom(goal="helloworld"): # if goal="helloworld" , fire rule + print ("Hello World!") + goal.set("stop") # set goal buffer to direct program flow + #def stop_production(goal="stop"): + #self.stop() # stop the agent -tim = MyAgent() +tim = MyAgent() subway=MyEnv() subway.agent=tim log_everything(subway) From 6cc0e3e46a8dd3cecc8fd3095e211a241076b6b9 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 10:10:09 -0400 Subject: [PATCH 03/23] Update Example1Hello.py --- Example1Hello.py | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Example1Hello.py b/Example1Hello.py index 1faea54..9d86ab8 100644 --- a/Example1Hello.py +++ b/Example1Hello.py @@ -11,9 +11,32 @@ def bread_bottom(goal="helloworld"): # if goal="helloworld" , fire rule goal.set("stop") # set goal buffer to direct program flow #def stop_production(goal="stop"): #self.stop() # stop the agent + +celscilist = { +'dd':{'x':{'followers': 400}}, +'jp':{'x':{'followers': 300}}, +'sh':{'x':{'followers': 200}}, +'gs':{'x':{'followers': 100}} +} +class celsci(): + + def fame(x): + y="low" + if x>300: + y= 'high' + return y + +def checkfame(x): + person = celsci.fame(celscilist[x]['x']['followers']) + return person + +for person in celscilist: + #dh=ic(person,checkfame(person)) + print(person,checkfame(person)) + tim = MyAgent() subway=MyEnv() subway.agent=tim log_everything(subway) -subway.run() \ No newline at end of file +subway.run() From c4149566140a31d88d97aac871e3b072e05e90b4 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 10:32:02 -0400 Subject: [PATCH 04/23] Create csdh.py --- python_actr/csdh.py | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 python_actr/csdh.py diff --git a/python_actr/csdh.py b/python_actr/csdh.py new file mode 100644 index 0000000..72fc550 --- /dev/null +++ b/python_actr/csdh.py @@ -0,0 +1,42 @@ +#!pip install python_actr #uncomment this if needed +#from python_actr import * +class MyEnv(Model): + pass +class MyAgent(ACTR): + goal = Buffer() # Creating the goal buffer for the agent + def init(): # this rule fires when the agent is instantiated. + goal.set("helloworld") # set goal buffer to direct program flow + def bread_bottom(goal="helloworld"): # if goal="helloworld" , fire rule + print ("Hello World!") + goal.set("stop") # set goal buffer to direct program flow + #def stop_production(goal="stop"): + #self.stop() # stop the agent + +celscilist = { +'dd':{'x':{'followers': 400}}, +'jp':{'x':{'followers': 300}}, +'sh':{'x':{'followers': 200}}, +'gs':{'x':{'followers': 100}} +} + +class celsci(): + + def fame(x): + y="low" + if x>300: + y= 'high' + return y + +def checkfame(x): + person = celsci.fame(celscilist[x]['x']['followers']) + return person + +for person in celscilist: + #dh=ic(person,checkfame(person)) + print(person,checkfame(person)) + +tim = MyAgent() +subway=MyEnv() +subway.agent=tim +log_everything(subway) +subway.run() From 807d733ced73b367fa5562343e5f20b767ec97a3 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 10:34:33 -0400 Subject: [PATCH 05/23] Update csdh.py --- python_actr/csdh.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/python_actr/csdh.py b/python_actr/csdh.py index 72fc550..ebdb8dd 100644 --- a/python_actr/csdh.py +++ b/python_actr/csdh.py @@ -1,16 +1,16 @@ -#!pip install python_actr #uncomment this if needed -#from python_actr import * -class MyEnv(Model): - pass -class MyAgent(ACTR): - goal = Buffer() # Creating the goal buffer for the agent - def init(): # this rule fires when the agent is instantiated. - goal.set("helloworld") # set goal buffer to direct program flow - def bread_bottom(goal="helloworld"): # if goal="helloworld" , fire rule - print ("Hello World!") - goal.set("stop") # set goal buffer to direct program flow - #def stop_production(goal="stop"): - #self.stop() # stop the agent +##!pip install python_actr #uncomment this if needed +##from python_actr import * +#class MyEnv(Model): +# pass +#class MyAgent(ACTR): +# goal = Buffer() # Creating the goal buffer for the agent +# def init(): # this rule fires when the agent is instantiated. +# goal.set("helloworld") # set goal buffer to direct program flow +# def bread_bottom(goal="helloworld"): # if goal="helloworld" , fire rule +# print ("Hello World!") +# goal.set("stop") # set goal buffer to direct program flow +# #def stop_production(goal="stop"): +# #self.stop() # stop the agent celscilist = { 'dd':{'x':{'followers': 400}}, @@ -35,8 +35,8 @@ def checkfame(x): #dh=ic(person,checkfame(person)) print(person,checkfame(person)) -tim = MyAgent() -subway=MyEnv() -subway.agent=tim -log_everything(subway) -subway.run() +#tim = MyAgent() +#subway=MyEnv() +#subway.agent=tim +#log_everything(subway) +#subway.run() From f5fb20b4a742f0ebf24b82379135d1b13f393707 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 10:35:07 -0400 Subject: [PATCH 06/23] Update __init__.py --- python_actr/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python_actr/__init__.py b/python_actr/__init__.py index 2da751b..de2ec0e 100644 --- a/python_actr/__init__.py +++ b/python_actr/__init__.py @@ -5,3 +5,4 @@ from .display import display from .actr import * from . import version +from . import csdh From 92052e255ff9d123dad7a5ec28326b462725dbde Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:16:42 -0400 Subject: [PATCH 07/23] Update csdh.py --- python_actr/csdh.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/python_actr/csdh.py b/python_actr/csdh.py index ebdb8dd..44767ae 100644 --- a/python_actr/csdh.py +++ b/python_actr/csdh.py @@ -12,15 +12,14 @@ # #def stop_production(goal="stop"): # #self.stop() # stop the agent -celscilist = { -'dd':{'x':{'followers': 400}}, -'jp':{'x':{'followers': 300}}, -'sh':{'x':{'followers': 200}}, -'gs':{'x':{'followers': 100}} -} class celsci(): - + celscilist = { + 'dd':{'x':{'followers': 400}}, + 'jp':{'x':{'followers': 300}}, + 'sh':{'x':{'followers': 200}}, + 'gs':{'x':{'followers': 100}} + } def fame(x): y="low" if x>300: From f321733f5a70fb21559f10d5aff22f80db8e4a00 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:39:29 -0400 Subject: [PATCH 08/23] Update csdh.py --- python_actr/csdh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_actr/csdh.py b/python_actr/csdh.py index 44767ae..f1f8388 100644 --- a/python_actr/csdh.py +++ b/python_actr/csdh.py @@ -13,7 +13,7 @@ # #self.stop() # stop the agent -class celsci(): +class Celsci: celscilist = { 'dd':{'x':{'followers': 400}}, 'jp':{'x':{'followers': 300}}, From 9f8b0111e6a22ec5ee5f5832db27a18a77f0ad7a Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:46:21 -0400 Subject: [PATCH 09/23] Update model.py --- python_actr/model.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/python_actr/model.py b/python_actr/model.py index f45f80c..c24c900 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -40,7 +40,18 @@ def log_everything(model,log=None): if isinstance(v,Model) and v.parent is model: log_everything(v,getattr(log,k)) - +class Celsci: + celscilist = { + 'dd':{'x':{'followers': 400}}, + 'jp':{'x':{'followers': 300}}, + 'sh':{'x':{'followers': 200}}, + 'gs':{'x':{'followers': 100}} + } + def fame(x): + y="low" + if x>300: + y= 'high' + return y class Model: __converted=False From 540e68262b609588fb4b694749bf73ef858d17ee Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:50:54 -0400 Subject: [PATCH 10/23] Update model.py --- python_actr/model.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/python_actr/model.py b/python_actr/model.py index c24c900..b1f796d 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -41,13 +41,13 @@ def log_everything(model,log=None): if isinstance(v,Model) and v.parent is model: log_everything(v,getattr(log,k)) class Celsci: - celscilist = { + celscilist1 = { 'dd':{'x':{'followers': 400}}, 'jp':{'x':{'followers': 300}}, 'sh':{'x':{'followers': 200}}, 'gs':{'x':{'followers': 100}} } - def fame(x): + def fame1(x): y="low" if x>300: y= 'high' @@ -59,6 +59,12 @@ class Model: _auto_run_start=True name='top' + celscilist = { + 'dd':{'x':{'followers': 400}}, + 'jp':{'x':{'followers': 300}}, + 'sh':{'x':{'followers': 200}}, + 'gs':{'x':{'followers': 100}} + } def __init__(self,log=None,**keys): @@ -67,7 +73,13 @@ def __init__(self,log=None,**keys): self.__init_log=log for k,v in list(keys.items()): setattr(self,k,v) - + + def fame(x): + y="low" + if x>300: + y= 'high' + return y + #getitem added by sterling def __getitem__(self,item): return getattr(self,item) From 2efdc889dd310913d9ff2f9288ad3502bea20b39 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:21:30 -0400 Subject: [PATCH 11/23] Update model.py --- python_actr/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_actr/model.py b/python_actr/model.py index b1f796d..a5251db 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -57,7 +57,7 @@ class Model: __converted=False _convert_methods=True _auto_run_start=True - name='top' + name='top2' celscilist = { 'dd':{'x':{'followers': 400}}, From eef225120d836e45bc0961af71849d58e18fc5e5 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:42:24 -0400 Subject: [PATCH 12/23] Update csdh.py --- python_actr/csdh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_actr/csdh.py b/python_actr/csdh.py index f1f8388..ed096a2 100644 --- a/python_actr/csdh.py +++ b/python_actr/csdh.py @@ -27,10 +27,10 @@ def fame(x): return y def checkfame(x): - person = celsci.fame(celscilist[x]['x']['followers']) + person = celsci.fame(celsci.celscilist[x]['x']['followers']) return person -for person in celscilist: +for person in celsci.celscilist: #dh=ic(person,checkfame(person)) print(person,checkfame(person)) From fdaf6868a2257f0d98d206082a40d476b09273c9 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:46:06 -0400 Subject: [PATCH 13/23] Update csdh.py --- python_actr/csdh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python_actr/csdh.py b/python_actr/csdh.py index ed096a2..2839088 100644 --- a/python_actr/csdh.py +++ b/python_actr/csdh.py @@ -20,6 +20,7 @@ class Celsci: 'sh':{'x':{'followers': 200}}, 'gs':{'x':{'followers': 100}} } + asname="aso" def fame(x): y="low" if x>300: From f59c7b4aed68fa6e0192fb4ebca9303ae576f642 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:48:53 -0400 Subject: [PATCH 14/23] Update csdh.py --- python_actr/csdh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_actr/csdh.py b/python_actr/csdh.py index 2839088..d18b237 100644 --- a/python_actr/csdh.py +++ b/python_actr/csdh.py @@ -28,10 +28,10 @@ def fame(x): return y def checkfame(x): - person = celsci.fame(celsci.celscilist[x]['x']['followers']) + person = Celsci.fame(Celsci.celscilist[x]['x']['followers']) return person -for person in celsci.celscilist: +for person in Celsci.celscilist: #dh=ic(person,checkfame(person)) print(person,checkfame(person)) From 07a632f3346a5a681ce04f6a0b5498a6e7e5bb98 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 13:04:51 -0400 Subject: [PATCH 15/23] Update __init__.py --- python_actr/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_actr/__init__.py b/python_actr/__init__.py index de2ec0e..fc65d6f 100644 --- a/python_actr/__init__.py +++ b/python_actr/__init__.py @@ -5,4 +5,4 @@ from .display import display from .actr import * from . import version -from . import csdh +from .csdh import Celsci From 7974b3493ef638d593c17a53043e47eaf2e07770 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 15:36:36 -0400 Subject: [PATCH 16/23] Update model.py --- python_actr/model.py | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/python_actr/model.py b/python_actr/model.py index a5251db..3ea83dd 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -40,32 +40,12 @@ def log_everything(model,log=None): if isinstance(v,Model) and v.parent is model: log_everything(v,getattr(log,k)) -class Celsci: - celscilist1 = { - 'dd':{'x':{'followers': 400}}, - 'jp':{'x':{'followers': 300}}, - 'sh':{'x':{'followers': 200}}, - 'gs':{'x':{'followers': 100}} - } - def fame1(x): - y="low" - if x>300: - y= 'high' - return y class Model: __converted=False _convert_methods=True _auto_run_start=True - name='top2' - - celscilist = { - 'dd':{'x':{'followers': 400}}, - 'jp':{'x':{'followers': 300}}, - 'sh':{'x':{'followers': 200}}, - 'gs':{'x':{'followers': 100}} - } - + name='top' def __init__(self,log=None,**keys): #print("this happens") @@ -74,11 +54,7 @@ def __init__(self,log=None,**keys): for k,v in list(keys.items()): setattr(self,k,v) - def fame(x): - y="low" - if x>300: - y= 'high' - return y + #getitem added by sterling def __getitem__(self,item): From d91e373796cab4e1d64389f6b6d7783cd0513771 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 21:31:43 -0400 Subject: [PATCH 17/23] Update model.py --- python_actr/model.py | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/python_actr/model.py b/python_actr/model.py index 3ea83dd..6ab92eb 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -40,12 +40,34 @@ def log_everything(model,log=None): if isinstance(v,Model) and v.parent is model: log_everything(v,getattr(log,k)) +celscilist = { +'dd':{'x':{'followers': 700}}, +'jp':{'x':{'followers': 300}}, +'sh':{'x':{'followers': 200}}, +'gs':{'x':{'followers': 100}} +} +class celsci(): + + def fame(x): + y="low" + if x>300: + y= 'high' + return y + +def checkfame(x): + person = celsci.fame(celscilist[x]['x']['followers']) + return person + +for person in celscilist: + #dh=ic(person,checkfame(person)) + print(person,checkfame(person)) + class Model: __converted=False _convert_methods=True _auto_run_start=True - name='top' + name='top1' def __init__(self,log=None,**keys): #print("this happens") @@ -55,6 +77,7 @@ def __init__(self,log=None,**keys): setattr(self,k,v) + #getitem added by sterling def __getitem__(self,item): From 8570e947b4319808bddca742faa42e4401eb55df Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 21:47:46 -0400 Subject: [PATCH 18/23] Update model.py --- python_actr/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_actr/model.py b/python_actr/model.py index 6ab92eb..92c3a84 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -48,7 +48,7 @@ def log_everything(model,log=None): } class celsci(): - + ax11="ax22" def fame(x): y="low" if x>300: From b753396833db1ac4f68febc865263498eb821175 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 21:50:49 -0400 Subject: [PATCH 19/23] Update model.py --- python_actr/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_actr/model.py b/python_actr/model.py index 92c3a84..a69f8f6 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -47,7 +47,7 @@ def log_everything(model,log=None): 'gs':{'x':{'followers': 100}} } -class celsci(): +class celsci: ax11="ax22" def fame(x): y="low" From b1dd62a02725543ae6bc64ede1dd861a54e3a35c Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 21:54:44 -0400 Subject: [PATCH 20/23] Update model.py --- python_actr/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_actr/model.py b/python_actr/model.py index a69f8f6..16f4a80 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -47,7 +47,7 @@ def log_everything(model,log=None): 'gs':{'x':{'followers': 100}} } -class celsci: +class Celsci: ax11="ax22" def fame(x): y="low" From 10c3989f16d7f3d1a03c78497ce5309f83213504 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 22:00:36 -0400 Subject: [PATCH 21/23] Update model.py --- python_actr/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_actr/model.py b/python_actr/model.py index 16f4a80..1f7e3f1 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -67,7 +67,7 @@ class Model: __converted=False _convert_methods=True _auto_run_start=True - name='top1' + name='top3' def __init__(self,log=None,**keys): #print("this happens") From c49e5630e00b84664d38384602ed57a023ca3723 Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 22:04:17 -0400 Subject: [PATCH 22/23] Update model.py --- python_actr/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_actr/model.py b/python_actr/model.py index 1f7e3f1..99a5307 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -56,7 +56,7 @@ def fame(x): return y def checkfame(x): - person = celsci.fame(celscilist[x]['x']['followers']) + person = Celsci.fame(celscilist[x]['x']['followers']) return person for person in celscilist: From 679d95bd426ef45da7d6cf71291fbb15036d607b Mon Sep 17 00:00:00 2001 From: Ahmad Sohrabi <123218209+ASohraB@users.noreply.github.com> Date: Fri, 20 Oct 2023 22:06:27 -0400 Subject: [PATCH 23/23] Update model.py --- python_actr/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_actr/model.py b/python_actr/model.py index 99a5307..a573eb5 100644 --- a/python_actr/model.py +++ b/python_actr/model.py @@ -67,7 +67,7 @@ class Model: __converted=False _convert_methods=True _auto_run_start=True - name='top3' + name='top4' def __init__(self,log=None,**keys): #print("this happens")