HF RL Explorer

Task: Sharing Global Variables Between Threads in Python

Task: Sharing Global Variables Between Threads in Python: a task in Terminal-Lego-15k (Harbor dataset). You need to fix and complete a Python script that demonstrates how to properly share a global variable between multiple threads. The current implementation has issues that prevent the threads…

The task

You need to fix and complete a Python script that demonstrates how to properly share a global variable between multiple threads. The current implementation has issues that prevent the threads from correctly reading and modifying a shared global variable.

Part of PrimeIntellect/Terminal-Lego-15k.