-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fix: Usability improvements #261
Conversation
@microsoft-github-policy-service agree |
868d4f8
to
ff310c5
Compare
Thanks for your contribution, @tiemobang ! Somehow I missed this PR, I'll take a look shortly. Please feel free to ping me directly next time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of minor comments.
@@ -23,33 +25,49 @@ | |||
|
|||
|
|||
@st.cache_resource | |||
def get_connection(): | |||
def get_connection(*, result_dirs: List[str] = None): | |||
# Either search for results in provided direcotries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: direcotries -> directories
LST_BENCH_CLASSPATH="$LST_BENCH_HOME/target/*:$LST_BENCH_HOME/target/lib/*:$LST_BENCH_HOME/target/classes/*" | ||
|
||
java -cp $LST_BENCH_CLASSPATH com.microsoft.lst_bench.Driver "$@" | ||
SPARK_CLASSPATH="${SPARK_HOME}/jars/*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering why is the Spark class path included here, i.e., launcher does not set up the engine for tests?
@@ -36,6 +36,8 @@ To include data from a new system, duplicate one of the directories in the [run | |||
For a deeper understanding of the directory structure, consult the [README file](/run/README.md). | |||
The LST-Bench dashboard web app automatically retrieves results from the .duckdb files within those folders and displays them on the dashboard. | |||
|
|||
Alternatively, you can provide your own paths to search for results via commandline arguments, see below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
- Augment file parser to handle incorrect file paths - Fix: Null handing and custom result paths for dashboard - Fix Packaged schemas and path variables for config files
Fixed in 364e21b . Thanks for your contribution, @tiemobang ! |
This pull request contributes a number of fixes to catch incorrect file paths provided by the user.
Further it extends the dashboard with handling of missing values (NULL values).
Also it introduces variables for the configuration files to refer to common paths: the variable ${LST_BENCH_HOME} for the root directory of the project and the variables ${LIB_PATH}, ${WL_PATH}, ${EXP_PATH}, ${TEL_PATH} to refer to the file path of the configuration files of the library, workload, experiment, and telemetry.