You are working on the Tribler/tribler repository. The source code is checked out at /testbed at commit…
You are working on the Tribler/tribler repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). if sys.platform == 'win32': ... elif sys.platform == 'darwin' or sys.platform == 'linux2': On Unix, priority can be -20 to 20, but usually not…
The task
if sys.platform == 'win32': ... elif sys.platform == 'darwin' or sys.platform == 'linux2': # On Unix, priority can be -20 to 20, but usually not allowed to set below 0, we set our classes somewhat in # that range. priority_classes = [5, 4, 3, 2, 1, 0] process.nice(priority_classes[priority_order]) # <-- here ```…
Part of Lego-X/Lego-RL-2699.