Spaces:
Running
Running
File size: 1,461 Bytes
07fd4da | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | TEST_QUERIES = [
{
"query": "What are mutable default arguments in Python?",
"relevant_chunk_ids": [885, 3761, 3661]
},
{
"query": "What is a Python closure?",
"relevant_chunk_ids": [3968, 394, 1933, 654, 300, 305, 827]
},
{
"query": "What is the purpose of the __enter__ method in context managers?",
"relevant_chunk_ids": [1537, 1538, 1539, 1540, 1542, 1533, 3352]
},
{
"query": "How do Python decorators work internally?",
"relevant_chunk_ids": [3584, 3587, 1542, 3345, 4009, 1965, 1077]
},
{
"query": "How does Python’s garbage collection work?",
"relevant_chunk_ids": [554, 1967, 1968, 1970, 467, 3594]
},
{
"query": "How does variable scoping work in nested functions?",
"relevant_chunk_ids": [312, 3942, 3967, 3968, 3741, 3742]
},
{
"query": "What is the difference between list and tuple in Python?",
"relevant_chunk_ids": [897, 898, 3598]
},
{
"query": "What is the difference between multiprocessing and multithreading?",
"relevant_chunk_ids": [2325, 3076, 3077, 2326, 2328]
},
{
"query": "Why should we avoid using mutable default arguments?",
"relevant_chunk_ids": [885, 3594]
},
{
"query": "Why does modifying a list inside a function affect the original list?",
"relevant_chunk_ids": [897, 898, 3595]
}
]
|