{"id": "style_001", "prompt": "Write a Python function that takes a list of names and returns a new list containing only the names that start with the letter 'A'."} {"id": "style_002", "prompt": "Write a Python function that takes a list of prices (floats) and returns a list of formatted strings like '$10.99'."} {"id": "style_003", "prompt": "Write a Python function that takes a list of words and returns a list where each word is prefixed with 'Hello '."} {"id": "style_004", "prompt": "Write a Python function that filters a list of email addresses to keep only those ending in '.com'."} {"id": "style_005", "prompt": "Write a Python function that takes a list of user dictionaries and returns a list of their 'username' values."} {"id": "style_006", "prompt": "Write a Python function that takes a list of strings and returns a list with whitespace stripped from each string."} {"id": "style_007", "prompt": "Write a Python function that takes a list of mixed-case strings and returns a list of them converted to lowercase."} {"id": "style_008", "prompt": "Write a Python function that takes a list of task dictionaries and returns a list of titles for tasks where 'status' is 'completed'."} {"id": "style_009", "prompt": "Write a Python function that takes a list of user objects and returns a list of names for users who have the role 'admin'."} {"id": "style_010", "prompt": "Write a Python function that takes a list of filenames and returns a list of files that end with '.json'."} {"id": "style_011", "prompt": "Write a Python function that takes a list of sentences and returns a list where every occurrence of 'bad' is replaced with 'good'."} {"id": "style_012", "prompt": "Write a Python function that takes a list of dictionaries and returns a list of values for the key 'id', skipping dicts where the key is missing."} {"id": "style_013", "prompt": "Write a Python function that takes a list of product IDs and returns a list of URLs like 'https://api.example.com/products/{id}'."} {"id": "style_014", "prompt": "Write a Python function that takes a list of blog post dictionaries and returns a flattened list of all tags, assuming each post has a 'tags' list."} {"id": "style_015", "prompt": "Write a Python function that takes a list of names and returns a list of greeting messages: 'Welcome back, {name}!'."} {"id": "style_016", "prompt": "Write a Python function that takes a list of error codes and returns a list of log strings: 'Error occurred: code {code}'."} {"id": "style_017", "prompt": "Write a Python function that takes a list of items and returns a list of items that belong to the category 'electronics'."} {"id": "style_018", "prompt": "Write a Python function that takes a list of strings and returns a list with the prefix 'user_' removed from each string."} {"id": "style_019", "prompt": "Write a Python function that takes a list of filenames and returns a list with '.bak' appended to each."} {"id": "style_020", "prompt": "Write a Python function that takes a list of filenames and returns a list of shell commands: 'rm {filename}'."} {"id": "style_021", "prompt": "Write a Python function that takes a list of tokens and returns a list excluding any token that equals 'STOP'."} {"id": "style_022", "prompt": "Write a Python function that takes a list of HTTP response objects and returns a list of their 'Content-Type' headers."} {"id": "style_023", "prompt": "Write a Python function that takes a list of integers and returns a list of labels like 'Item #{n}'."} {"id": "style_024", "prompt": "Write a Python function that takes a list of folder names and returns a list of paths joined with '/var/log/'."} {"id": "style_025", "prompt": "Write a Python function that takes a list of search terms and returns a list of query strings: '?q={term}'."} {"id": "style_026", "prompt": "Write a Python function that takes a list of JSON strings, parses them, and returns a list of values for the key 'status'."} {"id": "style_027", "prompt": "Write a Python function that takes a list of environment variable names and returns a list of names that start with 'APP_'."} {"id": "style_028", "prompt": "Write a Python function that takes a list of tuples (text, url) and returns a list of Markdown links: '[text](url)'."} {"id": "style_029", "prompt": "Write a Python function that takes a list of table names and returns a list of queries: 'SELECT * FROM {table}'."} {"id": "style_030", "prompt": "Write a Python function that takes a list of HTML strings and extracts class names that contain 'active'."} {"id": "style_031", "prompt": "Write a Python function that takes a list of usernames and returns a list of those that do not contain 'admin'."} {"id": "style_032", "prompt": "Write a Python function that takes a list of log dictionaries and returns a list of messages where level is 'ERROR'."} {"id": "style_033", "prompt": "Write a Python function that takes a list of date objects and returns a list of strings formatted as 'YYYY-MM-DD'."} {"id": "style_034", "prompt": "Write a Python function that takes a list of user objects and returns a list of users who have the 'beta' feature flag enabled."} {"id": "style_035", "prompt": "Write a Python function that takes a list of values and returns a list of comma-separated strings."} {"id": "style_036", "prompt": "Write a Python function that takes a list of dicts with 'first' and 'last' keys and returns a list of full names."} {"id": "style_037", "prompt": "Write a Python function that takes a list of email addresses and returns a list of just the domains (part after '@')."} {"id": "style_038", "prompt": "Write a Python function that takes a list of phone numbers and returns a list with all dashes '-' removed."} {"id": "style_039", "prompt": "Write a Python function that takes a list of config keys and returns a list of keys that exist in a global 'overrides' dictionary."} {"id": "style_040", "prompt": "Write a Python function that takes a list of strings and returns a list where each string is wrapped in '
...
' tags."} {"id": "style_041", "prompt": "Write a Python function that takes a list of metric dictionaries and returns a list of names where 'value' > 100."} {"id": "style_042", "prompt": "Write a Python function that takes a list of titles and returns a list of slugs (lowercase, spaces replaced by dashes)."} {"id": "style_043", "prompt": "Write a Python function that takes a list of event dictionaries and returns a list of events where 'type' is 'click'."} {"id": "style_044", "prompt": "Write a Python function that takes a list of strings and returns a list of those that start with '#'."} {"id": "style_045", "prompt": "Write a Python function that takes a list of user dictionaries and returns a list of emails for users with 'read' permission."} {"id": "style_046", "prompt": "Write a Python function that takes a list of amounts and returns a list of strings formatted as 'USD {amount}'."} {"id": "style_047", "prompt": "Write a Python function that takes a list of strings and returns a list with all empty strings removed."} {"id": "style_048", "prompt": "Write a Python function that takes a list of words and returns a list where each word is wrapped in single quotes."} {"id": "style_049", "prompt": "Write a Python function that takes a list of objects and returns a list of their string representations."} {"id": "style_050", "prompt": "Write a Python function that takes a list of actions and returns a list of actions that are in the 'allowed_actions' set."} {"id": "style_051", "prompt": "Write a Python function that takes a list of file paths and returns a list of just the directory names."} {"id": "style_052", "prompt": "Write a Python function that takes a list of sentences and returns a list of the number of words in each sentence."} {"id": "style_053", "prompt": "Write a Python function that takes a list of strings and returns a list of strings that contain the letter 'z'."} {"id": "style_054", "prompt": "Write a Python function that takes a list of integer IDs and returns a list of strings formatted as 'ID-{number}'."} {"id": "style_055", "prompt": "Write a Python function that takes a list of booleans and returns a list of strings 'Yes' for True and 'No' for False."} {"id": "style_056", "prompt": "Write a Python function that takes a list of mixed types and returns a list containing only the strings."} {"id": "style_057", "prompt": "Write a Python function that takes a list of dictionaries and returns a list of values for the key 'desc', renaming it to 'description'."} {"id": "style_058", "prompt": "Write a Python function that takes a list of version strings 'v1.0' and returns a list of just the numbers '1.0'."} {"id": "style_059", "prompt": "Write a Python function that takes a list of URLs and returns a list of hostnames (e.g., 'google.com')."} {"id": "style_060", "prompt": "Write a Python function that takes a list of strings and returns a list where each string is padded to 10 chars with spaces."} {"id": "style_061", "prompt": "Write a Python function that takes a list of attributes and returns a list prefixed with 'not_'."} {"id": "style_062", "prompt": "Write a Python function that takes a list of lists of strings and returns a single flat list of all strings."} {"id": "style_063", "prompt": "Write a Python function that takes a list of names and returns a sorted list of unique names."} {"id": "style_064", "prompt": "Write a Python function that takes a list of strings and returns a list of strings longer than 5 characters."} {"id": "style_065", "prompt": "Write a Python function that takes a list of filenames ending in '.txt' and returns a list with extensions changed to '.md'."} {"id": "style_066", "prompt": "Write a Python function that takes a list of user IDs and returns a list of dictionary keys 'user_{id}'."} {"id": "style_067", "prompt": "Write a Python function that takes a list of floats (0-1) and returns a list of percentage strings 'XX%'."} {"id": "style_068", "prompt": "Write a Python function that takes a list of roles and returns a list excluding 'guest'."} {"id": "style_069", "prompt": "Write a Python function that takes a list of book titles and returns a list with each title converted to title case."} {"id": "style_070", "prompt": "Write a Python function that takes a list of code lines and returns a list with any text after '#' removed."} {"id": "style_071", "prompt": "Write a Python function that takes a list of 'key=value' strings and returns a list of keys."} {"id": "style_072", "prompt": "Write a Python function that takes a list of Exception objects and returns a list of their string messages."} {"id": "style_073", "prompt": "Write a Python function that takes a list of (x, y) tuples and returns a list of strings '(x, y)'."} {"id": "style_074", "prompt": "Write a Python function that takes a list of server names and returns a list of those containing 'prod'."} {"id": "style_075", "prompt": "Write a Python function that takes a list of request objects and returns a list of their HTTP methods."} {"id": "style_076", "prompt": "Write a Python function that takes a list of names 'First Last' and returns a list of initials 'F.L.'."} {"id": "style_077", "prompt": "Write a Python function that takes a list of domains and returns a list prefixed with 'https://'."} {"id": "style_078", "prompt": "Write a Python function that takes a list of strings and returns a list of those that consist only of digits."} {"id": "style_079", "prompt": "Write a Python function that takes a list of command line args and returns a list of those starting with '--'."} {"id": "style_080", "prompt": "Write a Python function that takes a list of HTTP status codes and returns a list of 'OK' for 200 and 'Error' for others."} {"id": "style_081", "prompt": "Write a Python function that takes a list of file sizes in bytes and returns a list of strings like '1024B'."} {"id": "style_082", "prompt": "Write a Python function that takes a list of date strings and returns a list of those in the year '2023'."} {"id": "style_083", "prompt": "Write a Python function that takes a list of dictionaries and returns a list of their 'count' values multiplied by 2."} {"id": "style_084", "prompt": "Write a Python function that takes a list of strings and returns a list of integers, ignoring any that cannot be cast."} {"id": "style_085", "prompt": "Write a Python function that takes a list of log messages and returns a list prefixed with '[INFO]'."} {"id": "style_086", "prompt": "Write a Python function that takes a list of API keys and returns a list with the first 4 chars visible and the rest masked with '*'."} {"id": "style_087", "prompt": "Write a Python function that takes a list of IDs and returns a list of unique IDs that are greater than 0."} {"id": "style_088", "prompt": "Write a Python function that takes a list of names and returns a list sorted alphabetically."} {"id": "style_089", "prompt": "Write a Python function that takes a list of integers n and returns a list of lists [0..n]."} {"id": "style_090", "prompt": "Write a Python function that takes a list of values and returns a list with all None values removed."} {"id": "style_091", "prompt": "Write a Python function that takes a list of objects and returns a list of their 'name' attributes if they exist."} {"id": "style_092", "prompt": "Write a Python function that takes a list of CSV strings and returns a list of the first column values."} {"id": "style_093", "prompt": "Write a Python function that takes a list of names and returns a list of 'Hello {name}' strings."} {"id": "style_094", "prompt": "Write a Python function that takes a list of strings and returns a list of them reversed."} {"id": "style_095", "prompt": "Write a Python function that takes a list of strings and returns a list of those starting with 'A' and ending with 'Z'."} {"id": "style_096", "prompt": "Write a Python function that takes a list of dictionaries {k:v} and returns a list of values {v}."} {"id": "style_097", "prompt": "Write a Python function that takes a list of numbers and returns a list of their squares plus one."} {"id": "style_098", "prompt": "Write a Python function that takes a list of lists and returns a list of the first element of each inner list."} {"id": "style_099", "prompt": "Write a Python function that takes a list of scores and returns a list of 'Pass' if > 60 else 'Fail'."} {"id": "style_100", "prompt": "Write a Python function that takes a list of two lists of equal length and returns a list of tuples combining their elements."}