Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Ersilia test command #1224

Merged
merged 48 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
552b053
Enable Ersilia to serve multiple models simultaneously (#1201)
DhanshreeA Jul 26, 2024
d3430f4
copy relevant files
kurysauce Jul 31, 2024
ab2ac7e
read from 3rd column, logging statements bash output file
kurysauce Jul 31, 2024
a9c3ded
run_bash path edit, conda.sh current failed fix
kurysauce Aug 1, 2024
116f91c
add new size methods, clean directory size method
kurysauce Aug 1, 2024
a6b64e8
add additional logging of file types and count
kurysauce Aug 1, 2024
279c188
delete dead function
kurysauce Aug 1, 2024
f00bd7b
fix run path
kurysauce Aug 2, 2024
c06cff5
uncomment testing
kurysauce Aug 2, 2024
258d0c4
fix bash output file opening (arg1)
kurysauce Aug 2, 2024
2ef94a5
change var names for clarity and add debug prints
kurysauce Aug 2, 2024
97281d6
addtional logging statements + updated read_csv method
kurysauce Aug 3, 2024
72a23b1
fixed updated_read_csv
kurysauce Aug 3, 2024
73e1b80
Delete comments and dead code
kurysauce Aug 3, 2024
5cb00eb
clean up read_csv
kurysauce Aug 3, 2024
ed982ad
Merge branch 'master' of https://github.com/kurysauce/ersilia_test
kurysauce Aug 3, 2024
399c638
fix comparison method
kurysauce Aug 3, 2024
2873382
add prints
kurysauce Aug 3, 2024
e243cb8
model size calculation update
kurysauce Aug 3, 2024
9c33c19
delete comments, update state variables
kurysauce Aug 3, 2024
712b7ec
add time stamp
kurysauce Aug 3, 2024
295792b
add debugging print for thresholds
kurysauce Aug 5, 2024
20134a4
update threshold debugging statements
kurysauce Aug 5, 2024
26c91cd
implement MRAE + Spearman's
kurysauce Aug 8, 2024
74a1058
bash output file path log
kurysauce Aug 8, 2024
3af3a63
fix divide by 0 mrae calculation
kurysauce Aug 8, 2024
1654d43
Update threshold
kurysauce Aug 8, 2024
2a2d462
bash script logging statements
kurysauce Aug 8, 2024
f25b29d
Merge branch 'master' of https://github.com/kurysauce/ersilia_test
kurysauce Aug 8, 2024
2fd1bd8
bold message debug
kurysauce Aug 8, 2024
2b57c0e
generalize read_csv for different column numbers
kurysauce Aug 8, 2024
98a30cc
uncomment
kurysauce Aug 8, 2024
df76dae
specify output
kurysauce Aug 8, 2024
770d351
include scipy dependecy in pyproject.toml
kurysauce Aug 8, 2024
a453f8b
delete dead function + comment
kurysauce Aug 8, 2024
cef9a22
Merge branch 'master' into master
DhanshreeA Aug 9, 2024
6024c8b
delete unused var
kurysauce Aug 9, 2024
19822d0
Merge branch 'master' of https://github.com/kurysauce/ersilia_test
kurysauce Aug 9, 2024
20d903f
fairyfloss bckgrnd
kurysauce Aug 11, 2024
758e249
clarity code mrae calculation
kurysauce Aug 12, 2024
5290025
adjust control flow example method
kurysauce Aug 12, 2024
458dbec
update metric calculations, delete comments
kurysauce Aug 12, 2024
1beb755
Update comment wording
kurysauce Aug 13, 2024
5e284a4
remove prints and add log statements
kurysauce Aug 14, 2024
7ee783f
Merge branch 'master' of https://github.com/kurysauce/ersilia_test
kurysauce Aug 14, 2024
0e91dc5
end test command statement
kurysauce Aug 14, 2024
1253853
fix log format + delete echo and prints
kurysauce Aug 16, 2024
6ed028a
Merge branch 'master' into master
DhanshreeA Aug 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"ms-python.python",
"ms-python.vscode-pylance",
"mohsen1.prettify-json",
"redhat.vscode-yaml"
"redhat.vscode-yaml",
"mintchipleaf.fairyfloss"
kurysauce marked this conversation as resolved.
Show resolved Hide resolved
]
}
}
Expand Down
4 changes: 3 additions & 1 deletion ersilia/io/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,4 +273,6 @@ def example(self, n_samples, file_name, simple, try_predefined):
predefined_done = self.predefined_example(file_name)
if not predefined_done:
self.logger.debug("Randomly sampling input")
self.random_example(n_samples=n_samples, file_name=file_name, simple=simple)
return self.random_example(n_samples=n_samples, file_name=file_name, simple=simple)
with open(file_name, "r") as f:
kurysauce marked this conversation as resolved.
Show resolved Hide resolved
return f.read()
Loading