Bruce Nduko
All projects
LiveMobile

LeverageX

Productivity and goal-tracking Android app, live on Google Play.

play.google.com/store/apps/details?id=com.leveragex.leveragex
LeverageX screenshot

Problem

Most goal-tracking apps are either too rigid or too shallow to keep people accountable day to day.

What I built

A productivity and goal-tracking Android app. I took it through Google Play Console closed testing all the way to production.

Stack

AndroidGoogle Play Console

The kind of code behind it

1from collections import defaultdict
2from dataclasses import dataclass
3
4@dataclass
5class VerifiedJob:
6 month: str
7 amount: float
8 confidence: float
9
10
11def build_passport(jobs: list[VerifiedJob], min_confidence: float = 0.6) -> dict:
12 trusted = [j for j in jobs if j.confidence >= min_confidence]
13
14 by_month: dict[str, float] = defaultdict(float)
15 for job in trusted:
16 by_month[job.month] += job.amount
17
18 months_active = sorted(by_month.keys())
19 total_verified = sum(by_month.values())
20
21 return {
22 "months_active": months_active,
23 "total_verified_ksh": round(total_verified, 2),
24 "monthly_breakdown": dict(sorted(by_month.items())),
25 "jobs_excluded_low_confidence": len(jobs) - len(trusted),
26 }