Skip to content

Commit 00b767f

Browse files
Copilot0xkarmacoma
andcommitted
Use function signature instead of name for tagging to ensure uniqueness
Co-authored-by: 0xkarmacoma <[email protected]>
1 parent f4bd62d commit 00b767f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/halmos/__main__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def setup(ctx: FunctionContext) -> Exec:
432432
path_id=path_id,
433433
query=query,
434434
solving_ctx=ctx.solving_ctx,
435-
tag=ctx.info.name,
435+
tag=ctx.info.sig,
436436
)
437437
solver_output = solve_low_level(path_ctx)
438438
if solver_output.result != unsat:
@@ -876,7 +876,7 @@ def handle_assertion_violation(
876876
path_id=path_id,
877877
query=query,
878878
solving_ctx=ctx.solving_ctx,
879-
tag=probe_tag if probe_tag else ctx.info.name,
879+
tag=probe_tag if probe_tag else ctx.info.sig,
880880
)
881881

882882
# ShutdownError may be raised here and will be handled by the caller
@@ -1096,7 +1096,7 @@ def run_test(ctx: FunctionContext) -> TestResult:
10961096
path_id=path_id,
10971097
query=ex.path.to_smt2(args),
10981098
solving_ctx=ctx.solving_ctx,
1099-
tag=ctx.info.name,
1099+
tag=ctx.info.sig,
11001100
)
11011101
solver_output = solve_low_level(path_ctx)
11021102
if solver_output.result != unsat:

0 commit comments

Comments
 (0)