Skip to content

Instantly share code, notes, and snippets.

View rpachos's full-sized avatar

Robert Pachos rpachos

  • Shutterstock
  • New York City
View GitHub Profile
@rpachos
rpachos / heal_debug.py
Last active June 30, 2023 18:17
Cobbling Together Challenge Healing Operations to Observe Calculation
from challenge.utils import workout_time_rounding_up
from challenge.progress.workout_time.progress import WorkoutTimeProgressFactory
from engagement.challenge.challenge_progress_service_client import ChallengeProgressServiceClient
from engagement.challenge.challenge_service import ChallengeService
from challenge.progress.workout_time.progress_service import WorkoutTimeProgressService
from engagement.user.peloton_user import PelotonUserFactory
from lib.orm.model import Model
challenge_id = '0f858d53-f9e3-4d77-b3d5-5c243abcd38f'
user_id = 'cb618556-1487-4e70-8246-5c0bf6ea30f0'