Skip to content
Closed
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
55 changes: 28 additions & 27 deletions doscience.py
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
from multiprocessing import Pool

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

## get funding and build a team
funded = False
while not funded:
proposal = gen_proposal(my_new_idea).submit()
wait(SIX_MONTHS)
funded = proposal.was_funded

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

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

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

## get funding and build a team
funded = False
while not funded:
proposal = gen_proposal(my_new_idea).submit()
wait(SIX_MONTHS)
funded = proposal.was_funded

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

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