bitfab 0.69.0 → 0.70.0
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 +4 -4
- data/lib/bitfab/http_client.rb +5 -1
- data/lib/bitfab/replay.rb +1 -0
- data/lib/bitfab/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1db22eed10f5c7fd7e24777507be907e01a1a65f7df1a10ff388bc347e17b5f7
|
|
4
|
+
data.tar.gz: e30cd6c045153777120348af94e6884ee77fef98cb433e14c470886b6085842a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 838efe0f9650542d604b48c330aa1dbd033f96091dd7a24ad050d1b8929854cee0af10342d2a3882aaef97c33ab4fb492b1e8a3f1237e74bfdc0ac0a51546064
|
|
7
|
+
data.tar.gz: 6244270e97642c69cad5fc9c08bb26fa7492149d2d98f04ec6432c4c9f314ba577649f5af2d13913ba39704f0fca46c0d03d435845b647532f9068d97da323aa
|
data/lib/bitfab/http_client.rb
CHANGED
|
@@ -253,6 +253,9 @@ module Bitfab
|
|
|
253
253
|
# Start a replay session by fetching historical traces.
|
|
254
254
|
# Blocking call. Returns hash with experimentId, experimentUrl, and items array.
|
|
255
255
|
#
|
|
256
|
+
# @param code_change_type [String, nil] the code change choice this replay
|
|
257
|
+
# named, such as "default-branch" or "skip"; stored on the experiment so
|
|
258
|
+
# the dashboard can say what the run was compared against
|
|
256
259
|
# @param code_change_description [String, nil] optional rationale for the
|
|
257
260
|
# code change being tested in this replay
|
|
258
261
|
# @param code_change_files [Array<Hash>, nil] optional list of edited files,
|
|
@@ -273,7 +276,7 @@ module Bitfab
|
|
|
273
276
|
# directly to this experiment, graded as the union with the dataset's
|
|
274
277
|
# runnable graders at completion; each must be an active/live grader in the
|
|
275
278
|
# same org and trace function or the server rejects the replay
|
|
276
|
-
def start_replay(trace_function_key, limit, trace_ids: nil, code_change_description: nil,
|
|
279
|
+
def start_replay(trace_function_key, limit, trace_ids: nil, code_change_type: nil, code_change_description: nil,
|
|
277
280
|
code_change_files: nil, experiment_group_id: nil, experiment_group_name: nil, name: nil, notes: nil, metadata: nil, include_db_branch_lease: false, dataset_ids: nil,
|
|
278
281
|
grader_ids: nil, db_branch_settings: nil, attempts: 1, only_with_assertions: false, skip_assertion_judging: false, include_original_metadata: false, experimental_selective_replay: nil, dry_run: false, invocation: nil)
|
|
279
282
|
payload = {
|
|
@@ -286,6 +289,7 @@ module Bitfab
|
|
|
286
289
|
payload["name"] = name unless name.nil?
|
|
287
290
|
payload["notes"] = notes unless notes.nil?
|
|
288
291
|
payload["metadata"] = metadata unless metadata.nil?
|
|
292
|
+
payload["codeChangeType"] = code_change_type unless code_change_type.nil?
|
|
289
293
|
payload["codeChangeDescription"] = code_change_description unless code_change_description.nil?
|
|
290
294
|
payload["codeChangeFiles"] = normalize_code_change_files(code_change_files) unless code_change_files.nil?
|
|
291
295
|
payload["experimentGroupId"] = experiment_group_id unless experiment_group_id.nil?
|
data/lib/bitfab/replay.rb
CHANGED
data/lib/bitfab/version.rb
CHANGED