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

Fix: Usability improvements #261

Closed
wants to merge 4 commits into from

Conversation

tiemobang
Copy link

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.

@tiemobang
Copy link
Author

@microsoft-github-policy-service agree

@jcamachor jcamachor force-pushed the main branch 2 times, most recently from 868d4f8 to ff310c5 Compare April 30, 2024 18:18
@jcamachor
Copy link
Contributor

jcamachor commented May 9, 2024

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.

@jcamachor jcamachor self-requested a review May 9, 2024 21:31
Copy link
Contributor

@jcamachor jcamachor left a 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
Copy link
Contributor

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/*"
Copy link
Contributor

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

jcamachor pushed a commit that referenced this pull request May 15, 2024
- 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
@jcamachor
Copy link
Contributor

Fixed in 364e21b . Thanks for your contribution, @tiemobang !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants