HF RL Explorer

Task: Extract a Subset of Key-Value Pairs from a Dictionary

Task: Extract a Subset of Key-Value Pairs from a Dictionary: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Python solution that elegantly extracts a subset of key-value pairs from a larger dictionary. The goal is to find the most efficient and elegant way to create a new…

The task

You need to create a Python solution that elegantly extracts a subset of key-value pairs from a larger dictionary. The goal is to find the most efficient and elegant way to create a new dictionary containing only specific keys from the original dictionary.

Part of PrimeIntellect/Terminal-Lego-15k.