You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup.md
+13-14
Original file line number
Diff line number
Diff line change
@@ -24,45 +24,46 @@ To run the tool simply do:
24
24
python run.py
25
25
26
26
The execution is controlled and parameterized by the configuration file
27
-
`config.yml` as follows.
27
+
`config.yaml` as follows:
28
28
29
-
`metrics` defines the metrics that should be computed in the analysis. By
30
-
defaultall supported metrics are included here (to add support for a new metric
29
+
`metrics` defines the metrics that will be computed in the analysis. By
30
+
default, [all supported metrics](https://blockchain-technology-lab.github.io/tokenomics-decentralization/metrics) are included here (to add support for a new metric
`execution_flags` defines various flags that control the data handling:
38
+
`execution_flags` defines various flags that control the data handling (all set to false by default):
39
39
40
-
*`force_map_addresses`: the address helper data from the directory
40
+
*`force_map_addresses`: if set to true, the address helper data from the directory
41
41
`mapping_information` is re-computed; you should set this flag to true if the
42
42
data has been updated since the last execution for the given ledger
43
-
*`force_map_balances`: the balance data of the ledger's addresses is
43
+
*`force_map_balances`: is set to true, the balance data of the ledger's addresses is
44
44
recomputed; you should set this flag to true if the data has been updated
45
45
since the last execution for the given ledger
46
-
*`force_analyze`: the computation of a metric is recomputed; you should set
46
+
*`force_analyze`: if set to true, the computation of a metric is recomputed; you should set
47
47
this flag to true if any type of data has been updated since the last
48
48
execution for the given ledger
49
49
50
50
`analyze_flags` defines various analysis-related flags:
51
51
52
52
*`clustering`: a boolean that determines whether addresses will be clustered into entities
53
-
(as defined in the mapping information). If set to False, no clustering takes
53
+
(as defined in the mapping information). If set to false, no clustering takes
54
54
place and the addresses are treated as distinct entities.
55
-
*`top_limit_type`: a string of two values (`absolute` or `percentage`) that
55
+
*`top_limit_type`: a string that can take one of two values (`absolute` or `percentage`) that
56
56
enables applying a threshold on the addresses that will be considered
57
57
*`top_limit_value`: the value of the top limit that should be applied; if 0,
58
58
then no limit is used (regardless of the value of `top_limit_type`); if the
59
59
type is `absolute`, then the `top_limit_value` should be an integer (e.g., if
60
60
set to 100, then only the 100 wealthiest entities/addresses will be considered
61
61
in the analysis); if the type is `percentage` the the `top_limit_value` should
62
-
be an integer (e.g., if set to 0.50, then only the top 50% of wealthiest
62
+
be a value between 0 and 1 (e.g., if set to 0.50, then only the top 50% of wealthiest
63
63
entities/addresses will be considered)
64
64
*`exclude_contract_addresses`: a boolean value that enables the exclusion of
65
65
contract addresses from the analysis
66
+
*`exclude_below_fees`: a boolean value that enables the exclusion of addresses, the balance of which at the analyzed point in time was less than the average transaction fee
66
67
*`exclude_below_usd_cent`: a boolean value that enables the exclusion of
67
68
addresses, the balance of which at the analyzed point in time was less than
68
69
$0.01 (based on the historical price information in the directory
@@ -88,6 +89,4 @@ contain the mapping information and analyzed data. The first entry in the output
88
89
directories is also used to store the output files of the analysis and the
89
90
plots.
90
91
91
-
Finally, `plot_parameters` contains various parameters that control the type and
92
-
data that will be produced as plots.
93
-
...
92
+
Finally, `plot_parameters` contains various parameters that control whether plots will be produced for the results and for which configurations.
0 commit comments