Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions doscience.py
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
from multiprocessing import Pool

## exploration and discovery
try:
from PriorExperience import insight,serendipity
my_new_idea = gen_ideas(insight,serendipity,NewTechnology)
from PriorExperience import insight,serendipity
my_new_idea = gen_ideas(insight,serendipity,NewTechnology)
except:
my_new_idea = copy.copy(somebody_elses_idea)

Expand All@@ -11,13 +13,15 @@
proposal = gen_proposal(my_new_idea).submit()
wait(SIX_MONTHS)
funded = proposal.was_funded
from multiprocessing import Pool
grads = Pool(5) ; postdocs = Pool(3) ; undergrads = Pool(8)

grads = Pool(5)
postdocs = Pool(3)
undergrads = Pool(8)

## do the work and write it up
results = get_data(grads,postdocs,undergrads,proposal.cash).findresult()
paper = results.write_paper()
paper.submit(journal="Science") # this will be accepted without revision
results = get_data(grads,postdocs,undergrads,proposal.cash).findresult()
paper = results.write_paper()
paper.submit(journal="Science") # this will be accepted without revision

## reap rewards
cv_item = collect_prize(type="Nobel",thank=",".join([x.name for x in grads]))
cv_item = collect_prize(type="Nobel",thank=",".join([x.name for x in grads]))