{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"humaneval-plus","formal_name":"HumanEval+","introduction":"HumanEval+ keeps the 164 original HumanEval problems and multiplies their tests by roughly 80×. It exists because the original suite was loose enough to pass implementations that were actually wrong.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://github.com/evalplus/evalplus","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"30c13cac-f50c-5d36-9292-6581cd17d508","task_key":"default--test--30c13cac-f50c-5d36-9292-6581cd17d508","task_revision_id":"2","upstream_id":"","short_description":"import math","config":"default","split":"test","body":"{\"entry_point\":\"max_fill\",\"prompt\":\"import math\\n\\ndef max_fill(grid, capacity):\\n    \\\"\\\"\\\"\\n    You are given a rectangular grid of wells. Each row represents a single well,\\n    and each 1 in a row represents a single unit of water.\\n    Each well has a corresponding bucket that can be used to extract water from it, \\n    and all buckets have the same capacity.\\n    Your task is to use the buckets to empty the wells.\\n    Output the number of times you need to lower the buckets.\\n\\n    Example 1:\\n        Input: \\n            grid : [[0,0,1,0], [0,1,0,0], [1,1,1,1]]\\n            bucket_capacity : 1\\n        Output: 6\\n\\n    Example 2:\\n        Input: \\n            grid : [[0,0,1,1], [0,0,0,0], [1,1,1,1], [0,1,1,1]]\\n            bucket_capacity : 2\\n        Output: 5\\n    \\n    Example 3:\\n        Input: \\n            grid : [[0,0,0], [0,0,0]]\\n            bucket_capacity : 5\\n        Output: 0\\n\\n    Constraints:\\n        * all wells have the same length\\n        * 1 <= grid.length <= 10^2\\n        * 1 <= grid[:,1].length <= 10^2\\n        * grid[i][j] -> 0 | 1\\n        * 1 <= capacity <= 10\\n    \\\"\\\"\\\"\\n\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://github.com/evalplus/evalplus","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}