Skip to content

Fiona metrics#48

Draft
roberthunterjr wants to merge 12 commits into
insidersfrom
fiona-metrics
Draft

Fiona metrics#48
roberthunterjr wants to merge 12 commits into
insidersfrom
fiona-metrics

Conversation

@roberthunterjr

Copy link
Copy Markdown
Contributor

Adds usage analytics notebook for generating local reports from CosmosDB

roberthunterjr and others added 6 commits May 13, 2026 17:29
Establishes the notebooks/ folder for the Fiona question bank spike (AI-24).
Includes 38-concept semantic scan, persona FAQs, sitemap analysis notebook,
and a stubbed feedback ingestion notebook with TODO markers for Cosmos DB
integration. Raw data files (CSVs) are gitignored via the root *.csv rule.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Implemented a new feature to export usage analytics data to an Excel file with multiple sheets including Daily Summary, Weekly Trends, Feedback, Top Users, and Summary.
- Added charts to the Excel sheets for better visualization of data.
- Created a markdown and PDF report for executive summaries, including key performance indicators and visualizations.
- Updated dependencies in `uv.lock` to include `openpyxl` and `reportlab` for Excel and PDF generation.
…data presentation

- Updated markdown and PDF reports to include targeted column sizing for crowded fields.
- Added functions for compact timestamp formatting and text truncation to improve readability.
- Adjusted PDF layout to landscape orientation for better asset utilization.
- Implemented dynamic column widths in PDF tables based on content and specified weights.
- Enhanced markdown report generation to reflect the same formatting improvements as the PDF.
- Updated output messages to reflect the changes in report generation.
…ependencies

- Introduced azure-core version 1.41.0 and azure-cosmos version 4.15.0 with their respective dependencies.
- Updated fiona-notebooks to include azure-cosmos and python-dotenv as dependencies.
- Added python-dotenv version 1.2.2 to manage environment variables.
@roberthunterjr roberthunterjr changed the base branch from main to insiders May 21, 2026 19:51
roberthunterjr and others added 5 commits May 21, 2026 16:25
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@roberthunterjr roberthunterjr marked this pull request as draft June 8, 2026 15:57
- Updated execution counts for code cells to improve notebook flow.
- Removed unnecessary stderr outputs related to dotenv parsing errors.
- Enhanced the Cosmos DB client creation with retry logic and detailed error reporting.
- Added a new diagnostics cell to validate Cosmos DB connection parameters and network connectivity.
- Improved error handling during CSV export operations, providing clearer troubleshooting steps.
- Cleaned up environment variable handling by stripping trailing semicolons.
- Updated notebook metadata to reflect the new Python version.
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.

1 participant