No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

107 líneas
16KB

  1. {
  2. "about": "Retrieval benchmark (spec AC-04, section 18): a fixed corpus of a fictional freight company, labelled queries and pass thresholds. Thresholds were set before the first measurement and must not be lowered to make a run pass; change them only with a recorded decision. Paraphrase queries deliberately share no content word with their target after stemming, so they measure semantic recall; exact queries name identifiers that only lexical matching resolves reliably; none queries have no relevant item.",
  3. "thresholds": {
  4. "hybrid_exact_hit_at_5": 0.9,
  5. "hybrid_paraphrase_hit_at_5": 0.7,
  6. "hybrid_none_false_positive_rate_max": 0.2,
  7. "hybrid_mrr_not_below_lexical": true,
  8. "evidence_on_every_result": true
  9. },
  10. "memories": [
  11. {"key": "m01", "type": "decision", "title": "Ledger service uses port 7431", "content": "The kestrel-ledger service listens on TCP port 7431 inside the cluster; the public gateway forwards /ledger to it."},
  12. {"key": "m02", "type": "constraint", "title": "Invoices must be retained for seven years", "content": "Tax law requires keeping every issued invoice PDF and its line items for seven years after the fiscal year closes. Never purge invoice rows earlier."},
  13. {"key": "m03", "type": "lesson", "title": "Error KF-2291 means the carrier token expired", "content": "When the carrier API answers KF-2291, the OAuth token for that carrier has expired. Refresh it with carrier-auth rotate before retrying; retrying blindly locks the account after five attempts."},
  14. {"key": "m04", "type": "procedural", "title": "Rotating the warehouse database password", "content": "Run vaultctl rotate wh-db, wait for the sidecar to reload (about 40 seconds), then restart the picker workers one zone at a time."},
  15. {"key": "m05", "type": "preference", "title": "Release notes are written in plain English", "content": "The operations team wants release notes without internal jargon, one sentence per change, grouped by customer impact."},
  16. {"key": "m06", "type": "semantic", "title": "Dock scheduler runs every 15 minutes", "content": "The dock-scheduler cron job assigns trucks to loading bays every 15 minutes, using the arrival estimates from the telematics feed."},
  17. {"key": "m07", "type": "lesson", "title": "Cold storage alarms after power dips", "content": "Short power dips reset the freezer controllers in zone C; their alarm thresholds revert to factory defaults (-5 C) and must be set back to -22 C manually."},
  18. {"key": "m08", "type": "decision", "title": "Shipment events go through the exchange fanout-shipments", "content": "All shipment status changes are published to the message exchange fanout-shipments; consumers must be idempotent because messages can be delivered twice."},
  19. {"key": "m09", "type": "semantic", "title": "Customs declarations use HS codes", "content": "Each line item on an export declaration carries a six-digit Harmonized System (HS) code; the customs module validates it against the tariff table each night."},
  20. {"key": "m10", "type": "solution", "title": "Fixing duplicate labels from printer PX-40", "content": "The PX-40 thermal printers print a label twice when the spooler times out. Set spool_timeout_ms to 8000 in printer.ini; the default 2000 is too low on the warehouse Wi-Fi."},
  21. {"key": "m11", "type": "constraint", "title": "No customer addresses in logs", "content": "Logs must never contain delivery addresses, phone numbers or names of recipients; mask them with the redact helper before logging."},
  22. {"key": "m12", "type": "procedural", "title": "Onboarding a new carrier", "content": "Create the carrier record, upload its rate card CSV, run the rate-card validator, then enable the carrier in staging for one week before production."},
  23. {"key": "m13", "type": "lesson", "title": "Route optimizer slow on Mondays", "content": "The route optimizer takes three times longer on Mondays because weekend orders pile up; start the Monday batch at 04:00 instead of 06:00."},
  24. {"key": "m14", "type": "decision", "title": "Prices are stored in integer cents", "content": "All monetary amounts are stored as integer cents with an ISO 4217 currency code; floating point is never used for money."},
  25. {"key": "m15", "type": "semantic", "title": "Pallet weight limit is 1200 kg", "content": "Standard pallets may carry at most 1200 kg; heavier loads need the reinforced pallet type RP-2 and a forklift with the heavy-load permit."},
  26. {"key": "m16", "type": "preference", "title": "Dates in the UI use day-month-year", "content": "Customers in Europe asked for dates shown as 31.12.2026; the UI formats dates with the user's locale and falls back to day-month-year."},
  27. {"key": "m17", "type": "lesson", "title": "Barcode scanners need firmware 5.2", "content": "Handheld scanners on firmware older than 5.2 drop GS1 DataMatrix codes with a leading FNC1; update them through the device manager before peak season."},
  28. {"key": "m18", "type": "constraint", "title": "Hazardous goods need a second check", "content": "Any shipment flagged as dangerous goods (UN number present) must be checked by a second certified employee before the truck leaves."},
  29. {"key": "m19", "type": "procedural", "title": "Restoring the tracking database", "content": "Stop the tracking API, restore the latest snapshot with pgrestore-tracking, replay the log to the incident time, then start the API and run the consistency report."},
  30. {"key": "m20", "type": "semantic", "title": "Returns window is 30 days", "content": "Consumers can return parcels within 30 days of delivery; the returns portal creates a prepaid label and a refund is issued after the warehouse inspects the item."},
  31. {"key": "m21", "type": "decision", "title": "Order search runs on cluster sc-prod-2", "content": "Order search runs on the search cluster sc-prod-2 with three replicas; reindexing happens nightly at 02:30."},
  32. {"key": "m22", "type": "lesson", "title": "Fuel surcharge updates weekly", "content": "The fuel surcharge table changes every Monday from the carrier feed; invoices issued before the update use the previous week's rate."},
  33. {"key": "m23", "type": "solution", "title": "Webhook signature mismatch fix", "content": "Partner webhooks failed signature checks because the body was re-encoded; verify the HMAC over the raw request bytes, not the parsed JSON."},
  34. {"key": "m24", "type": "semantic", "title": "Night shift ends at 06:00", "content": "The warehouse night shift runs from 22:00 to 06:00; handover notes go into the shift log app."},
  35. {"key": "m25", "type": "preference", "title": "Alerts go to the on-call channel, not email", "content": "The team prefers paging alerts in the ops-oncall chat channel; email alerts are ignored."},
  36. {"key": "m26", "type": "lesson", "title": "Truck GPS drifts near the river terminal", "content": "Telematics positions near the river terminal jump by several hundred metres because of signal reflection; geofence arrivals there use a 500 m radius."},
  37. {"key": "m27", "type": "constraint", "title": "Driver working time limit", "content": "Drivers may not be scheduled for more than 9 hours of driving per day or 56 hours per week; the planner rejects plans that exceed this."},
  38. {"key": "m28", "type": "semantic", "title": "Insurance claims need photos within 48 hours", "content": "Damage claims are accepted only with photos uploaded within 48 hours of delivery."},
  39. {"key": "m29", "type": "decision", "title": "Feature flags are managed in the flag service", "content": "Feature toggles are managed in the flag service; every flag has an owner and an expiry date."},
  40. {"key": "m30", "type": "lesson", "title": "Label printer jams at low temperatures", "content": "Thermal printers in the freezer zone jam below -10 C; use the cold-rated PX-40C model there."}
  41. ],
  42. "documents": [
  43. {"key": "d01", "title": "Yard operations handbook", "source_uri": "kb://bench/yard-handbook", "format": "markdown",
  44. "content": "# Yard operations handbook\n\n## Gate check-in\n\nTrucks stop at gate 2, where the guard scans the booking QR code and compares the licence plate with the appointment. Unbooked trucks wait in the buffer lane until dispatch confirms a slot.\n\n## Reefer containers\n\nReefer containers are plugged into the 32 A sockets on row R. Check the set point on the display within 15 minutes of plugging in and record it on the reefer sheet.\n\n## Forklift charging\n\nForklift batteries are charged in the charging room only. Open the vents before charging and never charge a battery with a cracked casing.\n\n## Spill response\n\nFor a spill of oil or chemicals, stop the source, put absorbent socks around the puddle and call the environmental officer. Report every spill above 5 litres within one hour.\n\n## Seal numbers\n\nThe seal number on the container door must match the bill of lading. A mismatch is reported to customs before the container is moved.\n\n## Visitor badges\n\nVisitors sign in at reception, receive a yellow badge and wear a high-visibility vest. Visitors are always escorted.\n"}
  45. ],
  46. "queries": [
  47. {"id": "e01", "kind": "exact", "endpoint": "recall", "text": "port 7431", "relevant": ["m01"]},
  48. {"id": "e02", "kind": "exact", "endpoint": "recall", "text": "KF-2291", "relevant": ["m03"]},
  49. {"id": "e03", "kind": "exact", "endpoint": "recall", "text": "vaultctl rotate wh-db", "relevant": ["m04"]},
  50. {"id": "e04", "kind": "exact", "endpoint": "recall", "text": "fanout-shipments", "relevant": ["m08"]},
  51. {"id": "e05", "kind": "exact", "endpoint": "recall", "text": "spool_timeout_ms printer.ini", "relevant": ["m10"]},
  52. {"id": "e06", "kind": "exact", "endpoint": "recall", "text": "redact helper", "relevant": ["m11"]},
  53. {"id": "e07", "kind": "exact", "endpoint": "recall", "text": "ISO 4217 cents", "relevant": ["m14"]},
  54. {"id": "e08", "kind": "exact", "endpoint": "recall", "text": "RP-2 pallet", "relevant": ["m15"]},
  55. {"id": "e09", "kind": "exact", "endpoint": "recall", "text": "firmware 5.2 DataMatrix", "relevant": ["m17"]},
  56. {"id": "e10", "kind": "exact", "endpoint": "recall", "text": "UN number dangerous goods", "relevant": ["m18"]},
  57. {"id": "e11", "kind": "exact", "endpoint": "recall", "text": "pgrestore-tracking", "relevant": ["m19"]},
  58. {"id": "e12", "kind": "exact", "endpoint": "recall", "text": "sc-prod-2", "relevant": ["m21"]},
  59. {"id": "e13", "kind": "exact", "endpoint": "recall", "text": "HS code tariff table", "relevant": ["m09"]},
  60. {"id": "e14", "kind": "exact", "endpoint": "recall", "text": "ops-oncall", "relevant": ["m25"]},
  61. {"id": "e15", "kind": "exact", "endpoint": "recall", "text": "PX-40C", "relevant": ["m30"]},
  62. {"id": "e16", "kind": "exact", "endpoint": "search", "text": "seal number mismatch", "relevant": ["d01#Seal numbers"]},
  63. {"id": "e17", "kind": "exact", "endpoint": "search", "text": "forklift battery charging", "relevant": ["d01#Forklift charging"]},
  64. {"id": "e18", "kind": "exact", "endpoint": "search", "text": "visitor badge", "relevant": ["d01#Visitor badges"]},
  65. {"id": "p01", "kind": "paraphrase", "endpoint": "recall", "text": "Which network endpoint number does the accounting backend accept connections on?", "relevant": ["m01"]},
  66. {"id": "p02", "kind": "paraphrase", "endpoint": "recall", "text": "How long must billing paperwork be stored before it can be thrown away?", "relevant": ["m02"]},
  67. {"id": "p03", "kind": "paraphrase", "endpoint": "recall", "text": "Shipping partner rejects calls because the login credential is stale", "relevant": ["m03"]},
  68. {"id": "p04", "kind": "paraphrase", "endpoint": "recall", "text": "Steps to change the secret credential for the inventory datastore", "relevant": ["m04"]},
  69. {"id": "p05", "kind": "paraphrase", "endpoint": "recall", "text": "What tone should our version announcements have?", "relevant": ["m05"]},
  70. {"id": "p06", "kind": "paraphrase", "endpoint": "recall", "text": "How frequently do vehicles get allotted a spot at the warehouse gates?", "relevant": ["m06"]},
  71. {"id": "p07", "kind": "paraphrase", "endpoint": "recall", "text": "Deep-frozen area thermostats lose their settings after brief outages", "relevant": ["m07"]},
  72. {"id": "p08", "kind": "paraphrase", "endpoint": "recall", "text": "Might a listener receive a parcel progress notification repeatedly?", "relevant": ["m08"]},
  73. {"id": "p09", "kind": "paraphrase", "endpoint": "recall", "text": "What product classification identifiers appear on cross-border forms?", "relevant": ["m09"]},
  74. {"id": "p10", "kind": "paraphrase", "endpoint": "recall", "text": "Why does every parcel tag get emitted two times?", "relevant": ["m10"]},
  75. {"id": "p11", "kind": "paraphrase", "endpoint": "recall", "text": "Is it allowed to put where people live into diagnostic output?", "relevant": ["m11"]},
  76. {"id": "p12", "kind": "paraphrase", "endpoint": "recall", "text": "What is the process for bringing an additional haulage company on board?", "relevant": ["m12"]},
  77. {"id": "p13", "kind": "paraphrase", "endpoint": "recall", "text": "Why is the itinerary planner sluggish at the beginning of each week?", "relevant": ["m13"]},
  78. {"id": "p14", "kind": "paraphrase", "endpoint": "recall", "text": "Which numeric type do we use for financial values?", "relevant": ["m14"]},
  79. {"id": "p15", "kind": "paraphrase", "endpoint": "recall", "text": "What is the upper mass threshold for a skid?", "relevant": ["m15"]},
  80. {"id": "p16", "kind": "paraphrase", "endpoint": "recall", "text": "How are calendar entries rendered for people on the continent?", "relevant": ["m16"]},
  81. {"id": "p17", "kind": "paraphrase", "endpoint": "recall", "text": "Portable code readers fail to recognise certain two-dimensional symbols", "relevant": ["m17"]},
  82. {"id": "p18", "kind": "paraphrase", "endpoint": "recall", "text": "Who has to inspect explosive or toxic cargo prior to departure?", "relevant": ["m18"]},
  83. {"id": "p19", "kind": "paraphrase", "endpoint": "recall", "text": "How to bring back the parcel-location store after data loss?", "relevant": ["m19"]},
  84. {"id": "p20", "kind": "paraphrase", "endpoint": "recall", "text": "What is the deadline for shoppers to send purchases back?", "relevant": ["m20"]},
  85. {"id": "p21", "kind": "paraphrase", "endpoint": "recall", "text": "What machines power the lookup feature and when is it rebuilt?", "relevant": ["m21"]},
  86. {"id": "p22", "kind": "paraphrase", "endpoint": "recall", "text": "How often is the diesel levy revised?", "relevant": ["m22"]},
  87. {"id": "p23", "kind": "paraphrase", "endpoint": "recall", "text": "Incoming HTTP notifications from third parties fail the authenticity test", "relevant": ["m23"]},
  88. {"id": "p24", "kind": "paraphrase", "endpoint": "recall", "text": "When does the late crew finish?", "relevant": ["m24"]},
  89. {"id": "p25", "kind": "paraphrase", "endpoint": "recall", "text": "Which place do we want urgent incident notices delivered?", "relevant": ["m25"]},
  90. {"id": "p26", "kind": "paraphrase", "endpoint": "recall", "text": "Vehicle location readings are unreliable by the harbour on the water", "relevant": ["m26"]},
  91. {"id": "p27", "kind": "paraphrase", "endpoint": "recall", "text": "What legal caps apply to being behind the wheel?", "relevant": ["m27"]},
  92. {"id": "p28", "kind": "paraphrase", "endpoint": "recall", "text": "Deadline for submitting pictures of broken goods", "relevant": ["m28"]},
  93. {"id": "p29", "kind": "paraphrase", "endpoint": "recall", "text": "Where are experimental switches controlled?", "relevant": ["m29"]},
  94. {"id": "p30", "kind": "paraphrase", "endpoint": "search", "text": "What do we do when a liquid leaks on the ground?", "relevant": ["d01#Spill response"]},
  95. {"id": "p31", "kind": "paraphrase", "endpoint": "search", "text": "How are refrigerated boxes supplied with electricity?", "relevant": ["d01#Reefer containers"]},
  96. {"id": "p32", "kind": "paraphrase", "endpoint": "search", "text": "What happens when a lorry arrives at the entrance?", "relevant": ["d01#Gate check-in"]},
  97. {"id": "n01", "kind": "none", "endpoint": "recall", "text": "recipe for sourdough bread", "relevant": []},
  98. {"id": "n02", "kind": "none", "endpoint": "recall", "text": "football world cup winners", "relevant": []},
  99. {"id": "n03", "kind": "none", "endpoint": "recall", "text": "how to tune a guitar", "relevant": []},
  100. {"id": "n04", "kind": "none", "endpoint": "recall", "text": "best hiking trails in the alps", "relevant": []},
  101. {"id": "n05", "kind": "none", "endpoint": "recall", "text": "quantum entanglement explained", "relevant": []},
  102. {"id": "n06", "kind": "none", "endpoint": "search", "text": "medieval poetry anthology", "relevant": []}
  103. ]
  104. }

Powered by TurnKey Linux.