pega-datascientist-tools icon indicating copy to clipboard operation
pega-datascientist-tools copied to clipboard

Health Check fails for non-CDH customer

Open operdeck opened this issue 3 months ago • 0 comments

pdstools version checks

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

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

Issue description

The standard HC fails for a non-CDH use case (process AI) due to a few context keys that are assumed but are missing.

I believe it's Direction, Channel and Group that are missing - at least these are the ones I used to set in the R version before running the HC.

Reproducible example

Can't share the data here but can point out where it is

Expected behavior

Should work with any datamart export, even when the context keys are non-standard

Installed versions

This notebook: pega-datascientist-tools/python/pdstools/reports/HealthCheck.qmd
Quarto runtime: 1.5.45
Pandoc: 3.2

Document created at: 25 Nov 2024 11:36:22

Additional details from 'pdstools.show_versions()':
--- Version info ---
pdstools: 4.0.0b1
Platform: macOS-14.7.1-arm64-arm-64bit
Python: 3.12.3 (v3.12.3:f6650f9ad7, Apr  9 2024, 08:18:47) [Clang 13.0.0 (clang-1300.0.29.30)]

--- Dependencies ---
polars>=1.9: 1.12.0
typing-extensions: <not installed>

--- Dependency group: adm ---
plotly>=5.5.0: 5.24.1

--- Dependency group: all ---
great-tables>=0.13: <not installed>
papermill: 2.6.0
plotly>=5.5.0: 5.24.1
pydantic: 2.9.2
openpyxl: 3.1.5
xlsxwriter>=3.0: 3.2.0
itables: 2.2.2
tabulate: 0.9.0
jinja2>=3.1: 3.1.4
httpx: 0.27.2
st-pages: <not installed>
streamlit>=1.23: 1.39.0
quarto: 0.1.0

--- Dependency group: api ---
pydantic: 2.9.2
httpx: 0.27.2

--- Dependency group: app ---
great-tables>=0.13: <not installed>
papermill: 2.6.0
plotly>=5.5.0: 5.24.1
openpyxl: 3.1.5
xlsxwriter>=3.0: 3.2.0
itables: 2.2.2
tabulate: 0.9.0
jinja2>=3.1: 3.1.4
st-pages: <not installed>
streamlit>=1.23: 1.39.0
quarto: 0.1.0

--- Dependency group: docs ---
sphinx-autoapi: <not installed>
myst-parser: <not installed>
sphinx-copybutton: <not installed>
nbsphinx: <not installed>
sphinx: <not installed>
furo: <not installed>

--- Dependency group: healthcheck ---
tabulate: 0.9.0
jinja2>=3.1: 3.1.4
great-tables>=0.13: <not installed>
papermill: 2.6.0
plotly>=5.5.0: 5.24.1
quarto: 0.1.0
xlsxwriter>=3.0: 3.2.0
itables: 2.2.2

--- Dependency group: tests ---
great-tables>=0.13: <not installed>
papermill: 2.6.0
xlsxwriter>=3.0: 3.2.0
tabulate: 0.9.0
jinja2>=3.1: 3.1.4
pydot: 3.0.2
testbook: <not installed>
aioboto3: 13.1.1
quarto: 0.1.0
pytest: <not installed>
plotly>=5.5.0: 5.24.1
pydantic: 2.9.2
openpyxl: 3.1.5
itables: 2.2.2
pytest-cov: <not installed>
httpx: 0.27.2
st-pages: <not installed>
streamlit>=1.23: 1.39.0
pytest-httpx: <not installed>

operdeck avatar Nov 25 '24 11:11 operdeck