Skip to content

Commit 8c923db

Browse files
committedApr 27, 2016
Rename amount_recharged into amount_recharges
1 parent fd03fd0 commit 8c923db

File tree

8 files changed

+134
-134
lines changed

8 files changed

+134
-134
lines changed
 

‎bandicoot/recharge.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929

3030
@recharges_grouping
31-
def amount_recharged(recharges):
31+
def amount_recharges(recharges):
3232
"""
3333
Returns the distribution of amount recharged on the mobile phone.
3434
"""

‎bandicoot/tests/samples/manual/A.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"percent_pareto_durations": {"allweek": {"allday": {"call": 1.0}}},
2828
"frequent_antennas": {"allweek": {"allday": 2.0}},
2929

30-
"amount_recharged": {"allweek": {"allday": {"mean": 4.4}}},
30+
"amount_recharges": {"allweek": {"allday": {"mean": 4.4}}},
3131
"percent_pareto_recharges": {"allweek": {"allday": 0.6}},
3232
"number_of_recharges": {"allweek": {"allday": 5}}
3333
}

‎bandicoot/tests/samples/regressions/ego.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"reporting__attributes_path": "samples/attributes",
66
"reporting__recharges_path": "samples/attributes",
77
"reporting__version": "0.4.0",
8-
"reporting__code_signature": "e56f6c4a25443e4d7b70f568faf87f28603af9e2",
8+
"reporting__code_signature": "7b35bec9ffc41ee3013a66f98a7032bcf605734f",
99
"reporting__groupby": "week",
1010
"reporting__split_week": true,
1111
"reporting__split_day": true,

‎bandicoot/tests/samples/regressions/empty_user.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"reporting__attributes_path": null,
66
"reporting__recharges_path": null,
77
"reporting__version": "0.4.0",
8-
"reporting__code_signature": "e56f6c4a25443e4d7b70f568faf87f28603af9e2",
8+
"reporting__code_signature": "7b35bec9ffc41ee3013a66f98a7032bcf605734f",
99
"reporting__groupby": "week",
1010
"reporting__split_week": true,
1111
"reporting__split_day": true,

‎bandicoot/tests/samples/regressions/manual_a.json

+127-127
Large diffs are not rendered by default.

‎bandicoot/tests/samples/regressions/manual_a_orange_network.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"reporting__attributes_path": "samples/attributes",
66
"reporting__recharges_path": "samples/attributes",
77
"reporting__version": "0.4.0",
8-
"reporting__code_signature": "e56f6c4a25443e4d7b70f568faf87f28603af9e2",
8+
"reporting__code_signature": "7b35bec9ffc41ee3013a66f98a7032bcf605734f",
99
"reporting__groupby": "week",
1010
"reporting__split_week": true,
1111
"reporting__split_day": true,

‎bandicoot/tests/samples/regressions/sample_user.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"reporting__attributes_path": null,
66
"reporting__recharges_path": null,
77
"reporting__version": "0.4.0",
8-
"reporting__code_signature": "e56f6c4a25443e4d7b70f568faf87f28603af9e2",
8+
"reporting__code_signature": "7b35bec9ffc41ee3013a66f98a7032bcf605734f",
99
"reporting__groupby": null,
1010
"reporting__split_week": true,
1111
"reporting__split_day": true,

‎bandicoot/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def all(user, groupby='week', summary='default', network=False,
152152

153153
if user.has_recharges:
154154
functions += [
155-
(bc.recharge.amount_recharged, summary_type),
155+
(bc.recharge.amount_recharges, summary_type),
156156
(bc.recharge.interevent_time_recharges, summary_type),
157157
(bc.recharge.percent_pareto_recharges, scalar_type),
158158
(bc.recharge.number_of_recharges, scalar_type),

0 commit comments

Comments
 (0)