Skip to content

Commit

Permalink
Merge pull request #16 from DARPA-ASKEM/link-to-terarium
Browse files Browse the repository at this point in the history
Add link to Terarium for test results
  • Loading branch information
brandomr authored Nov 2, 2023
2 parents 80c0628 + ae55a9e commit 17572e1
Show file tree
Hide file tree
Showing 3 changed files with 1,178 additions and 972 deletions.
2 changes: 2 additions & 0 deletions dashboard/sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ def render_section_integration_status(scenarios):

def render_section_time(scenarios):
st.write(f"### Execution Time")
st.write(f"Task execution time in seconds")
df = get_feature_table(scenarios, "time")
df = df.applymap(lambda t: round(t,2) if t is not None else None, ) # `df.round(2)` is ineffective
df = df.replace([None, 0], "")
df = df.fillna("")
st.dataframe(df)


Expand Down
6 changes: 6 additions & 0 deletions dashboard/ui/pages/1_TA1.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@

st.title("TA1 Integration Dashboard")

st.write("Whenever the test harness is run, the various assets are published to the `Integration Test Suite` project in Terarium."\
" Click below to view the report results in Terarium.")
st.link_button("View report assets in Terarium", "https://app.terarium.ai/projects/102/overview")

st.divider()

report = select_report("ta1")

# Download report button
Expand Down
Loading

0 comments on commit 17572e1

Please sign in to comment.