ab46a26d588968cea6cedae0e98b5a169b3026c2,jarbas/dashboard/admin/__init__.py,ReimbursementSummaryModelAdmin,get_cached_context,#ReimbursementSummaryModelAdmin#Any#Any#,187
Before Change
high=Max("total")
)
high = summary_range.get("high", 0)
low = summary_range.get("low", 0)
context = {
"period": period,
"summary": tuple(queryset),
After Change
"period": period,
"period_key": period_key,
"low": min(totals, default=0),
"high": max(totals, default=0)
}
context = {
"period": period,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: okfn-brasil/serenata-de-amor
Commit Name: ab46a26d588968cea6cedae0e98b5a169b3026c2
Time: 2019-02-16
Author: cuducos@users.noreply.github.com
File Name: jarbas/dashboard/admin/__init__.py
Class Name: ReimbursementSummaryModelAdmin
Method Name: get_cached_context
Project Name: deepfakes/faceswap
Commit Name: 0e76422805a8eb4e1adef214be9af5357221606c
Time: 2019-06-26
Author: 36920800+torzdf@users.noreply.github.com
File Name: plugins/train/trainer/_base.py
Class Name: Batcher
Method Name: set_preview_feed
Project Name: facebookresearch/ParlAI
Commit Name: 7bcaa0e12886d21110e51212ab266e7ad8a0b1a0
Time: 2020-09-28
Author: EricMichaelSmith@users.noreply.github.com
File Name: parlai/crowdsourcing/tasks/acute_eval/acute_eval_blueprint.py
Class Name: AcuteEvalBlueprint
Method Name: get_initialization_data