/tg/ Station 13 - Modules - TypesVar Details - Proc Details

scientific_paper

Scientific paper datum for retrieval and re-reading. A lot of the variables are there for fluff & flavor.

Vars

abstractAbstract.
authorThe principal author of our paper.
et_aliaWhether this paper is co-authored or not.
experiment_pathExperiment typepath.
gainsThe coop and funding gains from the paper.
partner_pathThe selected sponsor for our paper. Pathtype form.
tierDerived from tracked_variable. Used for indexing and to reduce duplicates. Only one paper can be published in each tier for each experiment.
titleThe title of our paper.
tracked_variableThe main "score" of a particular experiment.

Procs

allowed_to_publish
calculate_gainsCalculate the gains of an experiment. Gain calculation follows a sigmoid curve. f(x) = L / (1+e^(-k(x-xo))) L is the upper limit. This should be the gain variable * 2. k is the steepness. x0 is the midpoint. x is our tracked variable. Returns the expected value of that tier.
calculate_tierDetermine which tier can we publish at. Lower limit for an allowed tier is 10% of gain. Empty list if none are allowed.
clone_intoClones into a new paper type. Important (non-fluff) variables will be carried over and should be cleaned with set_experiment by whoever is calling this.
return_gistReturns the formatted, readable gist of our paper in a list.
set_amount
set_experimentExperiment -> Tier -> Gains Experiment -> Partners -> Gains Changing anything in the chain means those following it should be recounted.
set_partner
set_tierSets a tier for us. Nulls the tier when called without args. Re-counts the amount.

Var Details

abstract

Abstract.

author

The principal author of our paper.

et_alia

Whether this paper is co-authored or not.

experiment_path

Experiment typepath.

gains

The coop and funding gains from the paper.

partner_path

The selected sponsor for our paper. Pathtype form.

tier

Derived from tracked_variable. Used for indexing and to reduce duplicates. Only one paper can be published in each tier for each experiment.

title

The title of our paper.

tracked_variable

The main "score" of a particular experiment.

Proc Details

allowed_to_publish

calculate_gains

Calculate the gains of an experiment. Gain calculation follows a sigmoid curve. f(x) = L / (1+e^(-k(x-xo))) L is the upper limit. This should be the gain variable * 2. k is the steepness. x0 is the midpoint. x is our tracked variable. Returns the expected value of that tier.

calculate_tier

Determine which tier can we publish at. Lower limit for an allowed tier is 10% of gain. Empty list if none are allowed.

clone_into

Clones into a new paper type. Important (non-fluff) variables will be carried over and should be cleaned with set_experiment by whoever is calling this.

clone_into your own typepath will be like a normal clone.

If you want to subtype this, do it in a way that doesn't mess with the type change.

return_gist

Returns the formatted, readable gist of our paper in a list.

set_amount

set_experiment

Experiment -> Tier -> Gains Experiment -> Partners -> Gains Changing anything in the chain means those following it should be recounted.

Used when assigning an experiment to a specific paper. Failing to provide a proper path, a tracked variable, or a correct data should null every non-fluff data. Implement this in the children procs.

set_partner

set_tier

Sets a tier for us. Nulls the tier when called without args. Re-counts the amount.