This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from bigdoor.task.worker.bulk import add_resource_identifier, get_tasks, order_tasks | |
import networkx as nx | |
colors = ['red', 'blue', 'green', 'yellow', 'violet'] | |
task_type_colors = {} | |
def run(): | |
data = json.loads(open('reward.json').read()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"additionalProperties": false, | |
"properties": { | |
"externalId": { | |
"description": "The externalId passed to the service by the caller, if one was provided.", | |
"type": "string" | |
}, | |
"id": { | |
"description": "A unique Id generated by C-SATS.", |
OlderNewer