Skip to content

Commit

Permalink
Rename for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
jucor committed Feb 11, 2025
1 parent e820460 commit ae0d40e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions math/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ else
docker exec -it polis-dev-math-1 clojure -M:run update -r -z 1
endif

trace: ### Run a single convo with tracing enabled
trace: ### Run a single convo with tracing enabled
docker exec -it polis-dev-math-1 clojure -M:run update-with-trace -r -z 17909

compare-traces: ### Run the traced calls in python and compare with the traced results
ifdef DIR
python -m pythonport.validate_instrumentation "$(DIR)";
python -m pythonport.compare_to_traces "$(DIR)";
else
python -m pythonport.validate_instrumentation "./traces"
python -m pythonport.compare_to_traces "./traces"
endif


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def validate_directory(directory_path, fn_mapping=None, arg_transformers=None):
import sys

if len(sys.argv) != 2:
print("Usage: python validate_instrumentation.py <directory>")
print("Usage: python compare_to_traces.py <directory>")
sys.exit(1)

directory = sys.argv[1]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
import pytest
from pythonport.validate_instrumentation import parse_value, parse_args
from pythonport.compare_to_traces import parse_value, parse_args
import json

def test_parse_value():
Expand Down

0 comments on commit ae0d40e

Please sign in to comment.