Your task is to set up a small Python project at /home/user/myproject with a working Makefile that includes…
Your task is to set up a small Python project at /home/user/myproject with a working Makefile that includes…: a task in Repo2RLEnv DataArc terminal synthesis (Envs-FORGE-linked code) (Harbor dataset). def compute stats(numbers): n = len(numbers) if n == 0: return {'count': 0, 'sum': 0, 'mean': 0…
The task
def compute_stats(numbers): n = len(numbers) if n == 0: return {'count': 0, 'sum': 0, 'mean': 0, 'min': 0, 'max': 0} total = sum(numbers) return { 'count': n, 'sum': total, 'mean': total / n, 'min': min(numbers), 'max': max(numbers), }
Part of FineEnvs/repo2rlenv-dataarc.