{"id":"compute.graph--portableGraphSchedule","name":"portableGraphSchedule","owner":"yeho","package":"compute.graph","kind":"thing","signature":"external thing portableGraphSchedule","description":"A portable graph schedule record carrying graphName, policy, deterministicOrder, steps, graphCacheKey, and related state.","context":"Describe compute work as an explicit graph with package-owned validation and scheduling metadata.","parameters":[],"returns":"void","members":[{"name":"graphName","kind":"field","type":"text","description":"Stores graph name as text.","signature":"text graphName","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"policy","kind":"field","type":"portableSchedulePolicy","description":"Stores policy as portableSchedulePolicy.","signature":"portableSchedulePolicy policy","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"deterministicOrder","kind":"field","type":"list of text","description":"Stores deterministic order as list of text.","signature":"list of text deterministicOrder","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"steps","kind":"field","type":"list of portableScheduleStep","description":"Stores steps as list of portableScheduleStep.","signature":"list of portableScheduleStep steps","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"graphCacheKey","kind":"field","type":"text","description":"Stores graph cache key as text.","signature":"text graphCacheKey","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"decisionSchema","kind":"field","type":"text","description":"Stores decision schema as text.","signature":"text decisionSchema","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"portableGraphSchedule","kind":"constructor","parameters":[{"name":"graphName","type":"text","description":"Graph name."},{"name":"policy","type":"portableSchedulePolicy","description":"Policy."},{"name":"deterministicOrder","type":"list of text","description":"Deterministic order."},{"name":"steps","type":"list of portableScheduleStep","description":"Steps."},{"name":"graphCacheKey","type":"text","description":"Graph cache key."}],"returns":"void","signature":"portableGraphSchedule(text graphName, portableSchedulePolicy policy, list of text deterministicOrder, list of portableScheduleStep steps, text graphCacheKey)","description":"Portable graph schedule.","tags":["thing","constructor","compute.graph"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.graph"],"exampleId":"method-Describe-7","updated":"2026-09-09"}],"tags":["compute","compute.graph","cpu","graph","method","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/graph/portable_contract.yh","line":220,"sha256":"7d368be12911192817194c8170d8f193f9b1b7d33e85834c9f44df101d82cf76"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use portableGraphSchedule","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.graph\n\n// Describe compute work as an explicit graph with package-owned validation and scheduling metadata.\nportableGraphSchedule sample = portableGraphSchedule(\"graph Name\", portableSchedulePolicy(\"mode\", true, true, true, true), [], [], \"graph Cache Key\")\nConsole.Log(Text.From(sample.graphName))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__portablegraphschedule\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.buffer\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/buffer\"\n\n[[dependencies]]\npackage = \"compute.device\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/device\"\n\n[[dependencies]]\npackage = \"compute.graph\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/graph\"\n\n[[dependencies]]\npackage = \"compute.kernels\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/kernels\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"9de10ce6a6dc8e39489b4af2655e122a6f7fff644d334e875a8106477f679aa0","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-7","title":"portableGraphSchedule.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.graph\n\n// Describe.\nportableGraphSchedule instance = portableGraphSchedule(\"graph Name\", portableSchedulePolicy(\"mode\", true, true, true, true), [], [], \"graph Cache Key\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__portablegraphschedule\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.buffer\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/buffer\"\n\n[[dependencies]]\npackage = \"compute.device\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/device\"\n\n[[dependencies]]\npackage = \"compute.graph\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/graph\"\n\n[[dependencies]]\npackage = \"compute.kernels\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/kernels\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"d6a17d805f9518e722ff89fd06716e36b322e0632342d55dee0c95f79d22bc09","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["graphName","policy","deterministicOrder","steps","graphCacheKey","decisionSchema","portableGraphSchedule","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.graph--portableGraphSchedule","json":"https://demonhunterlabs.com/reference/items/compute.graph--portableGraphSchedule.json","markdown":"https://demonhunterlabs.com/reference/text/compute.graph--portableGraphSchedule.md"}
