Esta página foi traduzida por máquina e ainda não foi revisada por uma pessoa. O inglês é a referência; correções são bem-vindas no GitHub. GitHub

Cookwala / SDK e cenários

Perfil de rascunho

SDK e cenários

Um cliente, as mesmas 25 operações, em 13 idiomas, contra qualquer hub Cookwala. 101 cenários mostram o que fazer, passo a passo, com a linha de comando, o código em cada idioma e a saída gravada; cada um é executado contra o hub de referência antes de ser publicado.

Idiomas

Cada cliente é um cliente HTTP leve: a biblioteca de referência é executada no hub, portanto, um cliente em qualquer linguagem obtém exatamente o comportamento que os vetores de conformance testam. Os pacotes ainda não foram publicados em registries; instale a partir do repositório.

  1. 001 · A dry run refuses koshari on a robot with no oil thermometer
    developer · Robôs para pessoas · beginner
  2. 002 · Parse a food bank's SMS day: offer, claim, handover with a partial rejection
    food bank · Ajude a acabar com a fome · beginner
  3. 003 · A grocer receives constraints, never the household's facts
    developer · Robôs para pessoas, Torne as pessoas mais saudáveis · intermediate
  4. 004 · Hash a recipe and see that the same document always gives the same hash
    developer · Robôs para pessoas · beginner
  5. 005 · Read what a device says about itself: capabilities, safety limits, conformance, recalls
    appliance maker · Robôs para pessoas · beginner
  6. 006 · List the demo devices, the operation vocabulary and the recipes a hub can plan
    developer · Robôs para pessoas · beginner
  7. 007 · Convert kitchen units, and see that volume to mass needs a density
    home cook · Torne as pessoas mais saudáveis · beginner
  8. 008 · Validate documents against the schemas and read the errors for a broken one
    recipe publisher · Torne as pessoas mais saudáveis · beginner
  9. 009 · Ask the sensor ladder which rung a device can satisfy for simmering, sauteing and deep frying
    robot maker · Robôs para pessoas · beginner
  10. 010 · Allow or forbid model estimates and watch the rungs change
    researcher · Robôs para pessoas · beginner
  11. 011 · The same recipe with and without a person in the kitchen
    home cook · Robôs para pessoas · beginner
  12. 012 · Six example recipes dry-run on the kitchen robot with thermometers
    kitchen operator · Ajude a acabar com a fome, Robôs para pessoas · beginner
  13. 013 · Kofta on the oven, salad on the arm, koshari on the fryer robot
    appliance maker · Ajude a acabar com a fome, Robôs para pessoas · beginner
  14. 014 · A V0 imported recipe is refused on a robot and assigned to a person when one is present
    recipe publisher · Ajude a acabar com a fome · beginner
  15. 015 · The five presets of the home-page demo, from the SDK
    developer · Robôs para pessoas · beginner
  16. 016 · Read a recipe as a document: yield, allergens, steps, end conditions and a critical control point
    teacher · Torne as pessoas mais saudáveis · beginner
  17. 017 · Read the reference registry: five pointers, nothing third-party
    registry operator · Robôs para pessoas · beginner
  18. 018 · An execution request with the wrong recipe hash is refused; the right hash still needs a person
    agent builder · Robôs para pessoas · intermediate
  19. 019 · Convert quantities read from a recipe document
    home cook · Torne as pessoas mais saudáveis · beginner
  20. 020 · Check a simmer trace against its envelope: inside, left it, missed the target
    developer · Robôs para pessoas · beginner
  21. 021 · Water boils lower at altitude: the same trace at sea level and at 1,500 m
    researcher · Robôs para pessoas, Torne as pessoas mais saudáveis · beginner
  22. 022 · A deep-fry trace inside the band, one that runs hot, and the limit that cuts heat at 200 degC
    robot maker · Robôs para pessoas · beginner
  23. 023 · An oven trace against the bake envelope and a recipe target
    appliance maker · Robôs para pessoas · beginner
  24. 024 · A saute trace, and why sauteing is never left alone
    home cook · Robôs para pessoas · beginner
  25. 025 · A recipe target outside its operation's envelope is invalid whatever the readings
    recipe publisher · Torne as pessoas mais saudáveis, Robôs para pessoas · beginner
  26. 026 · The boiling ladder rung by rung: thermometer, boil detector, estimate, time
    robot maker · Robôs para pessoas · beginner
  27. 027 · Operations that never fall back to time: toasting, reducing, cutting
    researcher · Robôs para pessoas · beginner
  28. 028 · The refusals an agent sees when nobody is home
    agent builder · Robôs para pessoas · beginner
  29. 029 · missing_capability: what an appliance cannot do, and what accepted means when a person does the rest
    appliance maker · Robôs para pessoas · beginner
  30. 030 · missing_sensor_no_fallback: the one refusal a person present cannot lift
    robot maker · Robôs para pessoas · beginner
  31. 031 · Compare two devices on the same recipe: same plan length, different rungs
    developer · Robôs para pessoas · beginner
  32. 032 · The smart oven and its core probe: the kofta recipe, the ladder, the limit
    appliance maker · Torne as pessoas mais saudáveis, Robôs para pessoas · beginner
  33. 033 · A counter arm makes salad: washing alone, cutting with a person nearby
    home cook · Torne as pessoas mais saudáveis, Robôs para pessoas · beginner
  34. 034 · The fryer robot plans koshari with every heat step verified by a sensor
    robot maker · Ajude a acabar com a fome, Robôs para pessoas · beginner
  35. 035 · Ask the device what it can do, then dry-run against its own answer
    agent builder · Robôs para pessoas · intermediate
  36. 036 · Knife work: what the vocabulary says, what the ladder says, what the dry run says
    teacher · Robôs para pessoas, Torne as pessoas mais saudáveis · beginner
  37. 037 · Hot holding: the trace, the band, the two-hour limit
    food safety officer · Torne as pessoas mais saudáveis · beginner
  38. 038 · Cold chain in the kitchen: chilling and marinating traces
    dietitian · Torne as pessoas mais saudáveis · beginner
  39. 039 · Operations without a thermal envelope: mixing, cutting, peeling
    developer · Robôs para pessoas · beginner
  40. 040 · Start an execution and read its status as it advances
    developer · Robôs para pessoas · beginner
  41. 041 · Stop a run and read the log it leaves behind
    kitchen operator · Robôs para pessoas · beginner
  42. 042 · Resume a waiting run with If-Match set to the current seq
    kitchen operator · Robôs para pessoas · beginner
  43. 043 · A resume with a stale seq is answered with 412 Precondition Failed
    developer · Robôs para pessoas · beginner
  44. 044 · Retrying a start with the same Idempotency-Key never starts a second pot
    agent builder · Robôs para pessoas · beginner
  45. 045 · A run is refused before anything heats when no person is present
    robot maker · Robôs para pessoas · beginner
  46. 046 · A request for a recipe the hub does not hold is refused
    developer · Robôs para pessoas · beginner
  47. 047 · A request whose recipeHash differs from the hub's copy is refused
    recipe publisher · Robôs para pessoas · beginner
  48. 048 · An agent whose mandate lacks the start_cooking scope is refused
    agent builder · Robôs para pessoas · beginner
  49. 049 · A malformed request gets a Problem, a well-formed one gets a status
    developer · Robôs para pessoas · beginner
  50. 050 · The same execution id with a new Idempotency-Key is a 409 conflict
    developer · Robôs para pessoas · beginner
  51. 051 · Report an anonymous incident to a catalog
    food safety officer · Torne as pessoas mais saudáveis, Robôs para pessoas · beginner
  52. 052 · Read the recall list and try to verify the example recall
    regulator · Torne as pessoas mais saudáveis · beginner
  53. 053 · Read what the reference hub claims to conform to
    certifier · Robôs para pessoas · beginner
  54. 054 · Verify signed documents against key records: ok, tampered, revoked, unknown, unsigned
    insurer · Robôs para pessoas · beginner
  55. 055 · Hash a recipe and compare it with the hash field the file carries
    recipe publisher · Torne as pessoas mais saudáveis · beginner
  56. 056 · Read the safety limits a device enforces locally
    regulator · Robôs para pessoas, Torne as pessoas mais saudáveis · beginner
  57. 057 · Stop works at every moment and a stopped run stays stopped
    robot maker · Robôs para pessoas · beginner
  58. 058 · An execution log records steps and verification, never people
    researcher · Torne as pessoas mais saudáveis, Robôs para pessoas · beginner
  59. 059 · What an insurer can read after a run: the log, its limits pack, and incident reports
    insurer · Robôs para pessoas · beginner
  60. 060 · A farm offers produce by SMS with the harvest date
    farmer · Ajude a acabar com a fome · beginner
  61. 061 · Claim an offer in full or by the kilogram
    food bank · Ajude a acabar com a fome · beginner
  62. 062 · Record a handover: all accepted, partly accepted, or all rejected
    food bank · Ajude a acabar com a fome · beginner
  63. 063 · Rejection reason codes, part one: TEMP, DATE, PACK, ALLERG, QTY
    food safety officer · Torne as pessoas mais saudáveis, Ajude a acabar com a fome · beginner
  64. 064 · Rejection reason codes, part two: PEST, SPACE, TRANSPORT, LATE, OTHER
    kitchen operator · Ajude a acabar com a fome · beginner
  65. 065 · Record a distribution and its per-meal menu by SMS
    school program · Ajude a acabar com a fome, Torne as pessoas mais saudáveis · beginner
  66. 066 · HELP, CANCEL and the errors a gateway must answer
    developer · Ajude a acabar com a fome · beginner
  67. 067 · The checks a gateway applies to an OFFER before listing it
    food safety officer · Torne as pessoas mais saudáveis, Ajude a acabar com a fome · beginner
  68. 068 · Check the Cairo food bank's recorded offer against the rule packs
    food bank · Ajude a acabar com a fome · beginner
  69. 069 · A school offer that includes whole nuts: the audience decides
    school program · Torne as pessoas mais saudáveis, Ajude a acabar com a fome · beginner
  70. 070 · A relief offer with hot rice at 52 °C is blocked by two packs
    kitchen operator · Ajude a acabar com a fome, Torne as pessoas mais saudáveis · beginner
  71. 071 · A farm offer reaches a robot kitchen: from SMS to a dry run
    robot maker · Robôs para pessoas, Ajude a acabar com a fome · beginner
  72. 072 · The per-meal nutrients a MENU message carries and the packs read
    dietitian · Torne as pessoas mais saudáveis · beginner
  73. 073 · Validate documents against the Humanitarian Profile schema
    developer · Ajude a acabar com a fome · beginner
  74. 074 · Care rules: which food classes are blocked for everyone, which depend on the group
    food safety officer · Torne as pessoas mais saudáveis · beginner
  75. 075 · The impact summary: every measure says how it was obtained
    regulator · Ajude a acabar com a fome · beginner
  76. 076 · Temperature readings decide: one offer passes, one is blocked
    insurer · Torne as pessoas mais saudáveis, Ajude a acabar com a fome · beginner
  77. 077 · Rule packs are documents: validate them, hash them, apply one
    certifier · Torne as pessoas mais saudáveis, Ajude a acabar com a fome · beginner
  78. 078 · Arabic-Indic and Persian digits work in every command
    food bank · Ajude a acabar com a fome · beginner
  79. 079 · A food bank's day as the Cairo flow records it: offer, claim, handover, distribution
    regulator · Ajude a acabar com a fome, Torne as pessoas mais saudáveis · beginner
  80. 080 · A delivery runner receives the window and the door, nothing else
    developer · Robôs para pessoas, Torne as pessoas mais saudáveis · beginner
  81. 081 · A meal-planning agent receives eleven constraints and zero facts
    agent builder · Robôs para pessoas, Torne as pessoas mais saudáveis · intermediate
  82. 082 · A device maker sees firmware only while a consent grant stands
    appliance maker · Robôs para pessoas · intermediate
  83. 083 · An insurer receives a device fault summary and nothing about the home
    insurer · Robôs para pessoas · intermediate
  84. 084 · A food program and a dataset receive nothing from a home
    school program · Ajude a acabar com a fome, Torne as pessoas mais saudáveis · beginner
  85. 085 · A second robot learns where not to move, never when people are home
    robot maker · Robôs para pessoas · intermediate
  86. 086 · Three travel rules: never, derived, consented, and a consent that cannot override never
    regulator · Torne as pessoas mais saudáveis, Robôs para pessoas · intermediate
  87. 087 · Validate a household context and the roles file, and hash the context
    developer · Robôs para pessoas, Torne as pessoas mais saudáveis · beginner
  88. 088 · Your home as a grocer, a neighbour's robot and an insurer would see it
    home cook · Torne as pessoas mais saudáveis, Robôs para pessoas · beginner
  89. 089 · One allergy becomes two constraints for a grocer and one for a planner
    dietitian · Torne as pessoas mais saudáveis · beginner
  90. 090 · Read the reference registry: six entries, all verified by DNS TXT
    registry operator · Robôs para pessoas, Ajude a acabar com a fome · beginner
  91. 091 · A directory entry points at a conformance report by hash
    registry operator · Robôs para pessoas · intermediate
  92. 092 · The hub's self-declared claim and the reference report with 137 vectors
    certifier · Robôs para pessoas · intermediate
  93. 093 · Fifty-seven operations, thirty-two with envelopes, one legacy placeholder
    developer · Robôs para pessoas · beginner
  94. 094 · Validate a demand signal and a supply signal
    farmer · Ajude a acabar com a fome · beginner
  95. 095 · Validate a relief kitchen and its production run
    kitchen operator · Ajude a acabar com a fome, Torne as pessoas mais saudáveis · beginner
  96. 096 · Recipe text is data: the plan is built from the process graph, not the words
    agent builder · Robôs para pessoas · intermediate
  97. 097 · An agent request without start_cooking in its mandate is refused
    agent builder · Robôs para pessoas · advanced
  98. 098 · Read a recipe's steps in English and Arabic, exporting nothing
    researcher · Torne as pessoas mais saudáveis, Ajude a acabar com a fome · beginner
  99. 099 · Validate a recipe, see an invalid one fail, and publish its hash
    recipe publisher · Torne as pessoas mais saudáveis · beginner
  100. 100 · A recall through a mirror: verify against the issuer, never the relay
    food safety officer · Torne as pessoas mais saudáveis, Robôs para pessoas · intermediate
  101. 101 · A halal authority certifies a meal, re-certifies it later, and a second authority certifies it too
    certifier · Torne as pessoas mais saudáveis · intermediate