{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"mbpp","formal_name":"MBPP","introduction":"Mostly Basic Python Problems asks for a short Python function from a one-sentence description, checked by assertions. The sanitized split is the hand-verified subset.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://huggingface.co/datasets/google-research-datasets/mbpp","indexing_mode":"index","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[],"history":"","construction":"","limitations":"","saturation":"","scores":[]}},"task_id":"3bbde4d6-2fbc-5c50-8449-99ce2f9d2e43","task_key":"sanitized--test--255","task_revision_id":"4","upstream_id":"255","short_description":"Write a function that takes in a list and length n, and generates all…","config":"sanitized","split":"test","body":"{\"prompt\":\"Write a function that takes in a list and length n, and generates all combinations (with repetition) of the elements of the list and returns a list with a tuple for each combination.\",\"test_list\":\"['assert combinations_colors( [\\\"Red\\\",\\\"Green\\\",\\\"Blue\\\"],1)==[(\\\\'Red\\\\',), (\\\\'Green\\\\',), (\\\\'Blue\\\\',)]', 'assert combinations_colors( [\\\"Red\\\",\\\"Green\\\",\\\"Blue\\\"],2)==[(\\\\'Red\\\\', \\\\'Red\\\\'), (\\\\'Red\\\\', \\\\'Green\\\\'), (\\\\'Red\\\\', \\\\'Blue\\\\'), (\\\\'Green\\\\', \\\\'Green\\\\'), (\\\\'Green\\\\', \\\\'Blue\\\\'), (\\\\'Blue\\\\', \\\\'Blue\\\\')]', 'assert combinations_colors( [\\\"Red\\\",\\\"Green\\\",\\\"Blue\\\"],3)==[(\\\\'Red\\\\', \\\\'Red\\\\', \\\\'Red\\\\'), (\\\\'Red\\\\', \\\\'Red\\\\', \\\\'Green\\\\'), (\\\\'Red\\\\', \\\\'Red\\\\', \\\\'Blue\\\\'), (\\\\'Red\\\\', \\\\'Green\\\\', \\\\'Green\\\\'), (\\\\'Red\\\\', \\\\'Green\\\\', \\\\'Blue\\\\'), (\\\\'Red\\\\', \\\\'Blue\\\\', \\\\'Blue\\\\'), (\\\\'Green\\\\', \\\\'Green\\\\', \\\\'Green\\\\'), (\\\\'Green\\\\', \\\\'Green\\\\', \\\\'Blue\\\\'), (\\\\'Green\\\\', \\\\'Blue\\\\', \\\\'Blue\\\\'), (\\\\'Blue\\\\', \\\\'Blue\\\\', \\\\'Blue\\\\')]']\"}","display_format":"text","language":"","answer_status":"published","assets":[],"source_url":"https://huggingface.co/datasets/google-research-datasets/mbpp","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}