mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-17 20:19:29 +00:00
chore: format the whole tree and lint the scratch measurement scripts; CI has been red since 25ae4b4
CI runs ruff format --check and ruff check over the whole repository; 29 files had drifted from the formatter and
four measurement scripts carried lint findings, so every push since 25ae4b4 failed before pytest ran.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
fbbc03f3ea
commit
0d7d3f0dc9
@@ -8,9 +8,16 @@ from openultrasast.hunt.artifact import RunArtifact, UsageLedger
|
||||
|
||||
|
||||
def artifact():
|
||||
return RunArtifact(program_id="program", schema_version=1, mask=("source",), data_digests={"train": "abc"},
|
||||
configurations=[{"seed": 0}], usage={"usd": 0.1, "calls": 1, "replay_hits": 0, "wall_seconds": 2},
|
||||
versions={"dspy": "3.4.0", "litellm": "1", "openultrasast": "2.0.1"}, created="2026-10-13T00:00:00Z")
|
||||
return RunArtifact(
|
||||
program_id="program",
|
||||
schema_version=1,
|
||||
mask=("source",),
|
||||
data_digests={"train": "abc"},
|
||||
configurations=[{"seed": 0}],
|
||||
usage={"usd": 0.1, "calls": 1, "replay_hits": 0, "wall_seconds": 2},
|
||||
versions={"dspy": "3.4.0", "litellm": "1", "openultrasast": "2.0.1"},
|
||||
created="2026-10-13T00:00:00Z",
|
||||
)
|
||||
|
||||
|
||||
def test_artifact_round_trip_and_tamper(tmp_path):
|
||||
|
||||
Reference in New Issue
Block a user