Skip to content

rework benchmark results - #90

Closed
rcannood wants to merge 41 commits into
mainfrom
update_wowchemy_and_benchmarks
Closed

rcannood wants to merge 41 commits into
mainfrom
update_wowchemy_and_benchmarks

Conversation

@rcannood

@rcannood rcannood commented Jan 19, 2023 •

Copy link
Copy Markdown
Member

This PR explores a different implementation for rendering the benchmarking results.

Preview

@rcannood
rcannood force-pushed the update_wowchemy_and_benchmarks branch from 665ced6 to c26aed7 Compare January 23, 2023 16:10
@rcannood
rcannood marked this pull request as ready for review January 23, 2023 22:04
@rcannood

rcannood commented Jan 23, 2023 •

Copy link
Copy Markdown
Member Author

I'm going to let GitHub Actions Netlify generate a preview

@rcannood
rcannood changed the base branch from update_wowchemy to main January 24, 2023 06:30
@rcannood

Copy link
Copy Markdown
Member Author

@dburkhardt Are there any execution logs for the build of this branch on Netlify?

@scottgigante

Copy link
Copy Markdown
Contributor

Looks like it hasn't deployed, maybe because the target was not main. I'm closing and reopening to trigger the preview

@scottgigante

Copy link
Copy Markdown
Contributor

Can we split the wowchemy upgrade from the format change so I can see just the diff that I care about or is that too much work?

@scottgigante-immunai

Copy link
Copy Markdown
Collaborator

From @LuckyMD:

This looks really good. I would still keep the interactive per-dataset tables that can be ordered though (with the paper, code, etc links). Also, I would probably avoid the method description in favour of the links.

I agree - the existing tables should be kept, and the method list should be removed. Dataset list should probably be merged with the former table that had links to the per-dataset tables.

Also:

  • I don't think baselines should be so front-and-centre on the results page -- they should be mostly not visible to the user. I'd remove them from the funkyheatmap and not have a list of baselines.
  • Are the funkyheatmap scores the baseline-scaled scores (rounded to [0,1])? or are you scaling to (min, max)?
  • The funkyheatmap cuts off metric labels on the right hand side of the plot (e.g. spatial decomposition)
  • The funkyheatmap legend gets cut off on the right (e.g. regulatory effect prediction)
  • The funkyheatmap column labels overlap with each other when the columns are too narrow (e.g. regulatory effect prediction)
  • The funkyheatmap should probably have a dark mode, it sticks out pretty badly against the dark mode background

@rcannood

rcannood commented Jan 24, 2023 •

Copy link
Copy Markdown
Member Author

Can we split the wowchemy upgrade from the format change so I can see just the diff that I care about or is that too much work?

Good news! The wowchemy already is in a different branch! You can compare between the two.

Thanks for the comments, I'll work on them tomorrow and the day after ☺️

@rcannood

rcannood commented Feb 2, 2023

Copy link
Copy Markdown
Member Author

Thanks for taking the time to look at this and give feedback!

dark mode is unreadable. Need to at least add the white background back into the png and fix the text colour in the table

Fixed! I set the background of the png to white and added css to make sure the datatable is rendered properly.

the filter rows version of viewing individual dataset results is quite confusing

The benefits of being able to set the filters like this is that it allows someone to:

  • View average scores
  • View scores for just one method
  • View scores for just one dataset
  • View all results but sort by dataset

the references being hyperlinks in the filter rows screen is confusing

Fixed! References are now only shown in the details.

Metric descriptions should appear below the task description as before -- only method and dataset descriptions should be moved down.

Check!

Text associated with metric reference is ugly (e.g. Cell Cycle Score: Missing ‘metric_description’. [luecken2022benchmarking]). Can this either be a paper icon or a rendered citation?

I changed it to "Name of method2".

@rcannood

rcannood commented Feb 2, 2023

Copy link
Copy Markdown
Member Author

@scottgigante-immunai Do you have any more ideas on what could be improved?

Also, would you be able to look into updating the jsons? The script I used to generate the data files uses the .raw.json files and the openproblems package and was partially based on the scripts that are in the openproblems repo.

@scottgigante-immunai

Copy link
Copy Markdown
Collaborator

Thanks! This is already much better.

Re: the filtered table, I agree this is nice -- I just wonder if we can make datasets more prominent. You can see all the methods in the table in the default view (since they are visible rows) but the fact that there are even datasets in the filters is not obvious. Perhaps something like this with checkboxes (excuse my abuse of notation)

## Scaled scores
<right align>[[CSV]] | [[Excel]]</>
Datasets: [X] Overall mean [ ] Pancreas (batch) [ ] Immune (batch)
[[Advanced filters]]

<table/>

A couple more nitpicks on layout and I'd also like to hear @LuckyMD 's thoughts.

  • I strongly prefer metrics where they were before: Task description, metrics, then results.
  • References have gone from being quite prominent (a column in the per-dataset results table or a link in the main datasets table) to being hidden in the supplement. Maybe you can put similar superscript refs in the results table for methods and datasets?

@scottgigante-immunai

Copy link
Copy Markdown
Collaborator

Re: json, I'm working on it in openproblems-bio/openproblems#810

@rcannood

rcannood commented Feb 2, 2023 •

Copy link
Copy Markdown
Member Author

Perhaps something like this with checkboxes (excuse my abuse of notation)

I agree it's a good idea, but is it okay if I turn this into a separate issue which I could take a look at in the future?

I strongly prefer metrics where they were before: Task description, metrics, then results.

Done!

References have gone from being quite prominent (a column in the per-dataset results table or a link in the main datasets table) to being hidden in the supplement. Maybe you can put similar superscript refs in the results table for methods and datasets?

Done!

excuse my abuse of notation

😄

@scottgigante-immunai

Copy link
Copy Markdown
Collaborator

Thanks! Looks great.

is it okay if I turn this into a separate issue which I could take a look at in the future?

Reasonable request. Maybe an interim solution is to rename "Filters" to "Filter datasets / methods"?

@rcannood

rcannood commented Feb 2, 2023

Copy link
Copy Markdown
Member Author

Good idea! Done!

@scottgigante-immunai

Copy link
Copy Markdown
Collaborator

Thanks @rcannood ! This is now just pending completion of openproblems-bio/openproblems#810 (which itself is blocked by task leaders writing method descriptions.)

@scottgigante-immunai

Copy link
Copy Markdown
Collaborator

One more issue with the heatmap (not urgent) -- kBET is incorrectly rendered as Kbet

@scottgigante-immunai

Copy link
Copy Markdown
Collaborator

Another, more urgent issue -- the ranking in the heatmap and the ranking in the table don't match. See e.g. https://deploy-preview-121--openproblems-sca.netlify.app/benchmarks/batch_integration_feature/

@scottgigante-immunai

Copy link
Copy Markdown
Collaborator

Another issue: baseline results are missing in Visualization of raw results (the place where they are most useful)

@rcannood rcannood closed this Mar 9, 2023
rcannood added a commit that referenced this pull request Mar 9, 2023
* use actual dataset names in summary figure

* code

* use heuristic for determining the xmax expand and col annot offset
@rcannood
rcannood deleted the update_wowchemy_and_benchmarks branch March 9, 2023 21:57
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.

4 participants