Skip to content

Herd 0.17.0

Choose a tag to compare

@Beovulfo Beovulfo released this 29 Nov 22:38
e0a6190

Limits the designer adds to a valid input now have a place in task.toml, and every one shows in the report under "Limits the design adds", with its quote when it has one (issue #216).

  • Added: a top-level narrowings list in task.toml. Each entry is a table with limit and an optional quote, which must be a literal substring of the stored request. narrowings = [] says there are none. A quote that is not in the request, a missing key, a bad shape or an unknown key fails herd check, which names the entry. The quick route needs no list, but a present one is checked.
  • Added: herd verify records the same problems as warnings, and every narrowing as assumptions: the limit, then its quote, marked as in the request or as not in your request. evidence.md and the PR description show a "Limits the design adds" section above the results when there are any, listing every narrowing, quoted or not.
  • Changed: the designer brief and the criteria skill ask for the narrowings list.
  • Added: evidence.md and the PR description show a "Hand-solved cases" section right after the limits: every case's name, input and expected output in code blocks, each cut to its first 40 lines with a line saying how many were left out. In a benchmark run the frozen case had one line per pick while the request asks for a step-by-step simulation, and nothing showed it to the human.
  • Changed: that section replaces the single "Hand case" (20 lines) near the end of both texts; the list of case names and hashes stays.
  • Known limits: Herd cannot tell whether the list is complete: a designer can still leave a limit out. herd done does not refuse a missing key; only herd check fails, and herd verify warns. A quote must match the request byte for byte. The quote check only proves the quote text is in the request, not that it allows the limit, so the human judges every limit in the section. Long single lines are not cut, and many large cases could exceed GitHub's PR body limit.