bitfab 0.78.0 → 0.78.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8df415900dea564b2faa8d2ecc01c2538bf44ad2d88d16a669c54439cba933b6
4
- data.tar.gz: 262a531fc1566e6e276ec4f1b7136f09327fe6a2a97089f1e7f9fb067710937b
3
+ metadata.gz: cbb9ee2aa35e5b126aa994f2b71b4b4f1ece4722c0502b12e113feb85221510d
4
+ data.tar.gz: e860e799f9e06050f8f436faee27231ceacb11e1a9bf566350bee69e25a32192
5
5
  SHA512:
6
- metadata.gz: 05ead01bb8ece0e612217c20bd59f49233699735896f401db844430f0664c5bff188169185092f34bf7a01e2ba3d717f11738fc5e26066287e698cf87039e409
7
- data.tar.gz: 7ddc3c3294263875bdf80b9edb7ffc1eeadcda7e699f6b77c51135e606b5efcb950169584effdd303027aa1012de72ecd2699ac380c39ce1ad6784da56c23345
6
+ metadata.gz: 28ba9358d462aa565fd432dac1bfc61864703ebb478acf5fc70968ff71431e1ee4904613a45a101fc5408140a3a13a04236e17bc0ef6e9488ba514862e6bf735
7
+ data.tar.gz: 41405236decaafb54498fc5cce63ac88cb8e9fee365e04f51092fded771ec718238d3616d52a249264bdfaaaf70062053c170a62fa0ec9460902a25816803245
@@ -17,7 +17,9 @@ module Bitfab
17
17
  # latest check of its text (the same hash a save returns), or nil when no
18
18
  # check ever ran on it. Read a "pending" check from a save back here once
19
19
  # it finishes, and save each of its "separateAssertions" as its own
20
- # assertion.
20
+ # assertion. "codeHints" holds pointers for whoever writes code to check
21
+ # the assertion (span names, field paths, which span holds the answer), or
22
+ # nil when there are none; the LLM judge never reads them.
21
23
  def get_assertions(trace_id)
22
24
  response = @http_client.get(assertions_path(trace_id))
23
25
  return response unless response.is_a?(Hash) && response["assertions"].is_a?(Array)
@@ -54,6 +56,19 @@ module Bitfab
54
56
  # is off, and new code leaves the setting as it is. Removing the code turns
55
57
  # it back on. Omit "codeOff" to keep the current setting.
56
58
  #
59
+ # "codeHints" holds pointers for whoever writes code to check the
60
+ # assertion: span names, field paths, which span holds the answer. The LLM
61
+ # judge never reads them, so never put a requirement there: it belongs in
62
+ # "assertion". Omit "codeHints" to keep the current hints, or send an empty
63
+ # string or nil to clear them. Changing only the hints does not return the
64
+ # assertion to draft. Returned assertions carry "codeHints", nil when there
65
+ # are none.
66
+ #
67
+ # "passCriteria" and "failCriteria" are deprecated: write the assertion
68
+ # specific enough to need no criteria, and put where to look in
69
+ # "codeHints". They are still accepted, still returned, and the LLM judge
70
+ # still reads them on an assertion that has them.
71
+ #
57
72
  # "kind" => "external" creates an assertion Bitfab never judges: your own
58
73
  # system posts each verdict with VerdictsClient#save_external, and it takes
59
74
  # no "code". Send it only on the save that creates the assertion; a
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitfab
4
- VERSION = "0.78.0"
4
+ VERSION = "0.78.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitfab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.78.0
4
+ version: 0.78.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harvest Team