{"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":"1b8b8fb5-bf2c-57e2-983c-0a5f61068928","task_key":"full--train--839","task_revision_id":"1","upstream_id":"839","short_description":"Write a function to sort the tuples alphabetically by the first item of each…","config":"full","split":"train","body":"{\"test_list\":\"['assert sort_tuple([(\\\"Amana\\\", 28), (\\\"Zenat\\\", 30), (\\\"Abhishek\\\", 29),(\\\"Nikhil\\\", 21), (\\\"B\\\", \\\"C\\\")]) == [(\\\\'Abhishek\\\\', 29), (\\\\'Amana\\\\', 28), (\\\\'B\\\\', \\\\'C\\\\'), (\\\\'Nikhil\\\\', 21), (\\\\'Zenat\\\\', 30)]', 'assert sort_tuple([(\\\"aaaa\\\", 28), (\\\"aa\\\", 30), (\\\"bab\\\", 29), (\\\"bb\\\", 21), (\\\"csa\\\", \\\"C\\\")]) == [(\\\\'aa\\\\', 30), (\\\\'aaaa\\\\', 28), (\\\\'bab\\\\', 29), (\\\\'bb\\\\', 21), (\\\\'csa\\\\', \\\\'C\\\\')]', 'assert sort_tuple([(\\\"Sarala\\\", 28), (\\\"Ayesha\\\", 30), (\\\"Suman\\\", 29),(\\\"Sai\\\", 21), (\\\"G\\\", \\\"H\\\")]) == [(\\\\'Ayesha\\\\', 30), (\\\\'G\\\\', \\\\'H\\\\'), (\\\\'Sai\\\\', 21), (\\\\'Sarala\\\\', 28), (\\\\'Suman\\\\', 29)]']\",\"text\":\"Write a function to sort the tuples alphabetically by the first item of each tuple.\"}","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":[]}