From a3cf9f103ddda0faa37098fd0f835f8b7f25cbe7 Mon Sep 17 00:00:00 2001 From: Luigi Maiorano Date: Wed, 4 Feb 2026 21:15:03 +0100 Subject: [PATCH] update plots with final data release --- 03_quant_report.script.py | 8 ++++++-- 04_PPTX_Update_Images.py | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/03_quant_report.script.py b/03_quant_report.script.py index e2200fb..8705de8 100644 --- a/03_quant_report.script.py +++ b/03_quant_report.script.py @@ -47,7 +47,11 @@ def parse_cli_args(): # Check if running in Jupyter by looking for ipykernel get_ipython() # noqa: F821 # Return namespace with all filters set to None - return argparse.Namespace(**{f: None for f in FILTER_CONFIG}, filter_name=None) + no_filters = {f: None for f in FILTER_CONFIG} + + # debugging age + no_filters['age'] = FILTER_CONFIG['age'] + return argparse.Namespace(**no_filters, filter_name=None) except NameError: args = parser.parse_args() # Parse JSON strings to lists @@ -69,7 +73,7 @@ cli_args = parse_cli_args() # mo.stop(file_browser.path(index=0) is None, mo.md("**⚠️ Please select a `_Labels.csv` file above to proceed**")) # RESULTS_FILE = Path(file_browser.path(index=0)) -RESULTS_FILE = 'data/exports/debug/JPMC_Chase Brand Personality_Quant Round 1_February 2, 2026_Labels.csv' +RESULTS_FILE = 'data/exports/2-4-26/JPMC_Chase Brand Personality_Quant Round 1_February 4, 2026_Labels.csv' QSF_FILE = 'data/exports/OneDrive_2026-01-21/Soft Launch Data/JPMC_Chase_Brand_Personality_Quant_Round_1.qsf' # %% diff --git a/04_PPTX_Update_Images.py b/04_PPTX_Update_Images.py index f3cec37..500d228 100644 --- a/04_PPTX_Update_Images.py +++ b/04_PPTX_Update_Images.py @@ -26,7 +26,7 @@ def _(): @app.cell def _(): - TAG_SOURCE = Path('data/reports/VOICE_Perception-Research-Report_4-2-26_15-30.pptx') + TAG_SOURCE = Path('data/reports/VOICE_Perception-Research-Report_4-2-26_19-30.pptx') # TAG_TARGET = Path('data/reports/Perception-Research-Report_2-2_tagged.pptx') TAG_IMAGE_DIR = Path('figures/debug') return TAG_IMAGE_DIR, TAG_SOURCE @@ -52,10 +52,10 @@ def _(): @app.cell def _(): - REPLACE_SOURCE = Path('data/reports/VOICE_Perception-Research-Report_4-2-26_15-30.pptx') + REPLACE_SOURCE = Path('data/reports/VOICE_Perception-Research-Report_4-2-26_19-30.pptx') # REPLACE_TARGET = Path('data/reports/Perception-Research-Report_2-2_updated.pptx') - NEW_IMAGES_DIR = Path('figures/debug') + NEW_IMAGES_DIR = Path('figures/2-4-26') return NEW_IMAGES_DIR, REPLACE_SOURCE