(seconds)
| 77 | return {} |
| 78 | |
| 79 | def duration_formatter(seconds): |
| 80 | hours = seconds // 3600 |
| 81 | minutes = (seconds % 3600) // 60 |
| 82 | seconds = seconds % 60 |
| 83 | if hours > 0: |
| 84 | return f"{int(hours):02d}h:{int(minutes):02d}m:{int(seconds):02d}s" |
| 85 | elif minutes > 0: |
| 86 | return f"{int(minutes):02d}m:{int(seconds):02d}s" |
| 87 | else: |
| 88 | return f"{int(seconds):02d}s" |
| 89 | |
| 90 | def calculate_depth(sub_questions: list): |
| 91 | try: |
no outgoing calls
no test coverage detected