1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 04:32:43 +01:00
phorge-phorge/src/applications/fact/chart
epriestley 769e745a3f In charts, make "min" and "max" into pure functions and formally mark pure functions as pure
Summary:
Depends on D20814. Currently, "min()" and "max()" are still "min(f, n)". This is no longer consistent with the construction of functions a function-generators that are composed at top level.

Turn them into "min(n)" and "max(n)" (i.e., not higher-order functions).

Then, mark all the functions which are pure mathematical functions and not higher-order as "pure". These functions have no function parameters and do not reference external data. For now, this distinction has no immediate implications, but it will simplify the next change (which tracks where data came from when it originated from an external source -- these pure functions never have any source information, since they only apply pure mathematical transformations to data).

Test Plan: Loaded a burnup chart, nothing seemed obviously broken.

Subscribers: yelirekim

Differential Revision: https://secure.phabricator.com/D20815
2019-09-17 09:28:23 -07:00
..
PhabricatorAccumulateChartFunction.php Roughly support stacked area charts 2019-05-22 05:19:41 -07:00
PhabricatorChartAxis.php Select the domain (X-axis range) for charts before pulling data 2019-04-18 13:11:17 -07:00
PhabricatorChartDataQuery.php Separate the "configuration" and "evaluation" phases of chart functions 2019-05-19 16:54:53 -07:00
PhabricatorChartDataset.php Automatically select the range for charts in a general way 2019-05-22 05:36:58 -07:00
PhabricatorChartDisplayData.php Automatically select the range for charts in a general way 2019-05-22 05:36:58 -07:00
PhabricatorChartFunction.php Provide chart function labels over the wire instead of making them up 2019-05-22 05:22:59 -07:00
PhabricatorChartFunctionArgument.php Replace the chart in Maniphest Reports with a chart driven by Facts 2019-05-22 04:44:10 -07:00
PhabricatorChartFunctionArgumentParser.php Render charts from storage instead of just one ad-hoc hard-coded chart 2019-05-22 04:31:48 -07:00
PhabricatorChartFunctionLabel.php Provide chart function labels over the wire instead of making them up 2019-05-22 05:22:59 -07:00
PhabricatorChartInterval.php Wrap "<min, max>" chart domain pairs in an "Interval" class 2019-05-22 05:28:49 -07:00
PhabricatorChartStackedAreaDataset.php In stacked area charts, group nearby points so they don't overlap 2019-09-17 09:26:54 -07:00
PhabricatorComposeChartFunction.php Separate the "configuration" and "evaluation" phases of chart functions 2019-05-19 16:54:53 -07:00
PhabricatorConstantChartFunction.php In charts, make "min" and "max" into pure functions and formally mark pure functions as pure 2019-09-17 09:28:23 -07:00
PhabricatorCosChartFunction.php In charts, make "min" and "max" into pure functions and formally mark pure functions as pure 2019-09-17 09:28:23 -07:00
PhabricatorFactChartFunction.php Wrap "<min, max>" chart domain pairs in an "Interval" class 2019-05-22 05:28:49 -07:00
PhabricatorHigherOrderChartFunction.php Wrap "<min, max>" chart domain pairs in an "Interval" class 2019-05-22 05:28:49 -07:00
PhabricatorMaxChartFunction.php In charts, make "min" and "max" into pure functions and formally mark pure functions as pure 2019-09-17 09:28:23 -07:00
PhabricatorMinChartFunction.php In charts, make "min" and "max" into pure functions and formally mark pure functions as pure 2019-09-17 09:28:23 -07:00
PhabricatorPureChartFunction.php In charts, make "min" and "max" into pure functions and formally mark pure functions as pure 2019-09-17 09:28:23 -07:00
PhabricatorScaleChartFunction.php In charts, make "min" and "max" into pure functions and formally mark pure functions as pure 2019-09-17 09:28:23 -07:00
PhabricatorShiftChartFunction.php In charts, make "min" and "max" into pure functions and formally mark pure functions as pure 2019-09-17 09:28:23 -07:00
PhabricatorSinChartFunction.php In charts, make "min" and "max" into pure functions and formally mark pure functions as pure 2019-09-17 09:28:23 -07:00
PhabricatorSumChartFunction.php Separate the "configuration" and "evaluation" phases of chart functions 2019-05-19 16:54:53 -07:00