Skip to content

ADM HealthCheck not rendering Treemap plots in some environments #493

@operdeck

Description

@operdeck

pdstools version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pdstools.

Issue description

Using the exact same data, the rendered HTML from the ADM Health Check does not include any treemap in the DJS environment. However the same data and same version of PDS tools produces all charts in another environment.

Missing are only treemaps (success rates, model performance, response counts etc). Other charts do render properly, like line charts, scatter plots, box plots etc).

I can't put the output files on github but have them available

Reproducible example

Version info from the not-rendering-version

Quarto runtime: 1.8.25
Pandoc: 3.1.11.1

--- Version info ---
pdstools: 4.4.5
Platform: Linux-6.1.158-180.294.amzn2023.x86_64-x86_64-with-glibc2.41
Python: 3.13.8 (main, Oct  7 2025, 20:55:32) [GCC 14.2.0]

--- Dependencies ---
scipy>=1.15.3; python_full_version >= "3.10" and extra == "onnx": <not installed>
typing_extensions: 4.15.0
polars!=1.35.1,<=1.36.1,>=1.30: <not installed>
onnxruntime>=1.22; python_full_version >= "3.10" and extra == "onnx": <not installed>
onnxruntime==1.18.1; python_full_version < "3.10" and extra == "onnx": <not installed>

--- Dependency group: adm ---
requests: 2.32.5
plotly[express]>=6.0: <not installed>

--- Dependency group: pega-io ---
aioboto3: <not installed>
polars_hash: <not installed>

--- Dependency group: api ---
httpx: 0.28.1
anyio: 4.10.0
pydantic: 2.11.7

--- Dependency group: healthcheck ---
quarto: <not installed>
papermill: 2.6.0
plotly[express]>=6.0: <not installed>
xlsxwriter>=3.0: 3.2.5
pydot: 1.4.2
requests: 2.32.5
great_tables>=0.13: 0.17.0

--- Dependency group: explanations ---
pyyaml: <not installed>
ipywidgets: 8.1.7
duckdb: 1.3.2
plotly[express]: <not installed>
pyarrow: 18.1.0

--- Dependency group: app ---
quarto: <not installed>
papermill: 2.6.0
plotly[express]>=6.0: <not installed>
xlsxwriter>=3.0: 3.2.5
pydot: 1.4.2
streamlit>=1.45: <not installed>
great_tables>=0.13: 0.17.0
requests: 2.32.5

--- Dependency group: onnx ---
httpx: 0.28.1
anyio: 4.10.0
pydantic: 2.11.7
scikit-learn>=1.6.1: <not installed>
onnx<1.20,>=1.18: <not installed>
skl2onnx>=1.19.1: <not installed>

--- Dependency group: all ---
pyyaml: <not installed>
papermill: 2.6.0
scikit-learn>=1.6.1: <not installed>
duckdb: 1.3.2
xlsxwriter>=3.0: 3.2.5
pydot: 1.4.2
streamlit>=1.45: <not installed>
pyarrow: 18.1.0
skl2onnx>=1.19.1: <not installed>
anyio: 4.10.0
ipywidgets: 8.1.7
requests: 2.32.5
quarto: <not installed>
plotly[express]>=6.0: <not installed>
onnx<1.20,>=1.18: <not installed>
great_tables>=0.13: 0.17.0
pydantic: 2.11.7
httpx: 0.28.1
plotly[express]: <not installed>

--- Dependency group: dev ---
pre-commit: <not installed>

--- Dependency group: docs ---
sphinx-tabs: <not installed>
sphinx-copybutton: <not installed>
furo: <not installed>
myst-parser: <not installed>
duckdb: 1.3.2
xgboost: <not installed>
sphinx: <not installed>
sphinx-argparse: <not installed>
pydantic: 2.11.7
anyio: 4.10.0
httpx: 0.28.1
nbsphinx: <not installed>
streamlit: <not installed>
sphinx-autoapi: <not installed>

--- Dependency group: tests ---
pyyaml: <not installed>
papermill: 2.6.0
scikit-learn>=1.6.1: <not installed>
coverage: <not installed>
duckdb: 1.3.2
xlsxwriter>=3.0: 3.2.5
pytest-asyncio: <not installed>
pydot: 1.4.2
streamlit>=1.45: <not installed>
pyarrow: 18.1.0
skl2onnx>=1.19.1: <not installed>
openpyxl: <not installed>
anyio: 4.10.0
pytest-httpx: <not installed>
ipywidgets: 8.1.7
requests: 2.32.5
testbook: <not installed>
quarto: <not installed>
plotly[express]>=6.0: <not installed>
onnx<1.20,>=1.18: <not installed>
great_tables>=0.13: 0.17.0
pydantic: 2.11.7
pytest-cov: <not installed>
moto: <not installed>
pytest-mock: <not installed>
httpx: 0.28.1
plotly[express]: <not installed>
pytest: 8.4.1

Version info from the okay version:

Quarto runtime: 1.8.26
Pandoc: 3.8.3

--- Version info ---
pdstools: 4.4.5
Platform: macOS-15.7.3-arm64-arm-64bit
Python: 3.12.6 (main, Sep  9 2024, 21:36:32) [Clang 18.1.8 ]

--- Dependencies ---
onnxruntime>=1.22; python_full_version >= "3.10" and extra == "onnx": 1.23.2
polars!=1.35.1,<=1.35.2,>=1.30: <not installed>
onnxruntime==1.18.1; python_full_version < "3.10" and extra == "onnx": 1.23.2
typing_extensions: 4.15.0
scipy>=1.15.3; python_full_version >= "3.10" and extra == "onnx": 1.16.3

--- Dependency group: adm ---
plotly[express]>=6.0: <not installed>
requests: 2.32.5

--- Dependency group: pega-io ---
aioboto3: 15.5.0
polars_hash: 0.5.5

--- Dependency group: api ---
anyio: 4.11.0
pydantic: 2.12.4
httpx: 0.28.1

--- Dependency group: healthcheck ---
papermill: 2.6.0
requests: 2.32.5
quarto: 0.1.0
pydot: 4.0.1
great_tables>=0.13: 0.20.0
xlsxwriter>=3.0: 3.2.9
plotly[express]>=6.0: <not installed>

--- Dependency group: explanations ---
duckdb: 1.4.1
pyyaml: <not installed>
pyarrow: 21.0.0
plotly[express]: <not installed>
ipywidgets: 8.1.8

--- Dependency group: app ---
streamlit>=1.45: 1.51.0
papermill: 2.6.0
requests: 2.32.5
quarto: 0.1.0
pydot: 4.0.1
great_tables>=0.13: 0.20.0
xlsxwriter>=3.0: 3.2.9
plotly[express]>=6.0: <not installed>

--- Dependency group: onnx ---
anyio: 4.11.0
onnx<1.20,>=1.18: 1.19.1
skl2onnx>=1.19.1: 1.19.1
scikit-learn>=1.6.1: <not installed>
pydantic: 2.12.4
httpx: 0.28.1

--- Dependency group: all ---
anyio: 4.11.0
skl2onnx>=1.19.1: 1.19.1
pydot: 4.0.1
great_tables>=0.13: 0.20.0
plotly[express]: <not installed>
scikit-learn>=1.6.1: <not installed>
requests: 2.32.5
plotly[express]>=6.0: <not installed>
ipywidgets: 8.1.8
streamlit>=1.45: 1.51.0
pyyaml: <not installed>
papermill: 2.6.0
onnx<1.20,>=1.18: 1.19.1
pyarrow: 21.0.0
duckdb: 1.4.1
quarto: 0.1.0
pydantic: 2.12.4
xlsxwriter>=3.0: 3.2.9
httpx: 0.28.1

--- Dependency group: dev ---
pre-commit: <not installed>

--- Dependency group: docs ---
anyio: 4.11.0
nbsphinx: 0.9.6
myst-parser: <not installed>
furo: 2025.09.25
duckdb: 1.4.1
sphinx-tabs: <not installed>
xgboost: 3.1.1
sphinx-copybutton: <not installed>
streamlit: 1.51.0
sphinx-autoapi: <not installed>
pydantic: 2.12.4
sphinx-argparse: <not installed>
sphinx: 8.2.3
httpx: 0.28.1

--- Dependency group: tests ---
anyio: 4.11.0
skl2onnx>=1.19.1: 1.19.1
pydot: 4.0.1
great_tables>=0.13: 0.20.0
plotly[express]: <not installed>
scikit-learn>=1.6.1: <not installed>
pytest: 8.4.2
requests: 2.32.5
plotly[express]>=6.0: <not installed>
ipywidgets: 8.1.8
streamlit>=1.45: 1.51.0
pytest-httpx: <not installed>
testbook: 0.4.2
pyyaml: <not installed>
coverage: 7.11.3
pytest-cov: <not installed>
openpyxl: 3.1.5
papermill: 2.6.0
onnx<1.20,>=1.18: 1.19.1
moto: 5.1.16
pyarrow: 21.0.0
duckdb: 1.4.1
xlsxwriter>=3.0: 3.2.9
quarto: 0.1.0
pytest-mock: <not installed>
pytest-asyncio: <not installed>
pydantic: 2.12.4
httpx: 0.28.1

Expected behavior

All charts exactly the same and not empty

Installed versions

Details
Replace this line with the output of pdstools.show_versions(), leave the backticks in place

Metadata

Metadata

Assignees

No one assigned

    Labels

    PythonIssues related to the Python toolsbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions