/**********************************************
PROJECT ANALYSIS EQUATION
**********************************************/
the project analysis equation is currently:
W = GW (dG * I * P * T * A * Ex * En)/(Yr * $)
where the parameters are defined as follows:
GW [0,1] = global weighting, a parameter to reflect the priority level of
this project with respect to the collective high level
strategy (note: strategy part of the site to be
implemented in the future; for now this factor is not counted)
dG [0,1] = the incremental (delta) difference the project makes in achieving
your goals
I [0,1] = your interest in doing the project
P [0,1] = the probability of the project succeeding
T [0,1] = the timeliness of the project (now versus later)
A [0,1] = your comparative advantage in working on the project
(skills you bring, would it get done without you, etc.)
Ex [0,1] = externalities (social, environmental).
En [0,1] = the enabling role that this project will have for other
projects or for your skillset, experience, or contacts
(which in turn contributes to your ability to better
implement future projects)
HH [yrs] = estimated time needed to implement the project
$ [$] = estimated money needed to implement the project
W [1/] = the final weighting of the project, as calculated from the
above values.
/**********************************************
DATA STRUCTURES
**********************************************/
the project analysis module implements a new database table with the
following information (in addition to the standard node information
such author, comments, last updated times, etc.
note that the 'project name' and 'decscription' fields make use of the
standard node 'title' and 'body' fields respectively. these listed
below are additional:
table: projectanalysis
FIELD NAME DATA TYPE
----------------------|----------
summary TEXT
global_weighting DOUBLE
del_goals DOUBLE
interest DOUBLE
probability DOUBLE
timeliness DOUBLE
advantage DOUBLE
externality DOUBLE
enabling DOUBLE
time DOUBLE
money DOUBLE
weighting DOUBLE
/**********************************************
Structure of a "Create Project" Node:
**********************************************/
Project Name ('title')
Summary
Description ('body)
Project Analysis Parameters
/**********************************************
IMPLEMENTED SO FAR
**********************************************/
-new project creation and DB interaction
-basic menu, permission hooks
-project display and basic theming
/**********************************************
TODO
**********************************************/
____bugs:_______
-on project form submit, get a blank page.
-on new project submit, header info error:
"warning: cannot modify header information - headers already sent by
(output started at /var/www/drupal/drupal_theme_dev/sites/all/modules/
custom/projectanalysis/projectanalysis.module:6) in /var/www/drupal/
drupal_theme_dev/includes/common.inc on line 311."
-textfield doesnt display properly.
-when editing an existing project, existing parameter values do not
show up!
-overall editing of existing projects is screwy/causes errors. (DB
query error)
-comment submission also leads to blank page.
-and header errors (same as above)
________features:_______
-add 'make project public to all registered users' checkbox/DB field
-validate the form submission
parameters as decimals [0.0,1.0]
summary exists and is less than 200 words
that nid, vid combo DN exist already (to prevent multiple
submissions of the same project by clicking "submit" too many times)
-fix location of fielset "input format" on project submission form
page (should be at the bottom)
-create view of all my projects
-create view of all public projects
-theming: make it look more like an equation when you are filling in
the parameters.
-optional fields to add in rationale/reminder for why you chose a
value that you did for a certain parameter.
-pop up parameter names when you hover over the number
-colour code according to priority
-create a graph of the relative weightings of the projects
-popup and/or collapsible explanations of the parameters
-is there a better way to implement projectanalyis_update() such that
it only updates what's been changed?
-allow users to "follow" other projects.
Page Information
|
Wiki Information
|
Recent PBwiki Blog Posts |