Skip to content

page generated report, added USE experiment initial results (WIP) for the current pages - #121

Merged
Anas-Elhounsri merged 2 commits into
mainfrom
page-results
Dec 1, 2026
Merged

Anas-Elhounsri merged 2 commits into
mainfrom
page-results

Conversation

@Anas-Elhounsri

@Anas-Elhounsri Anas-Elhounsri commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds an auto-generated HTML analysis report to rsmetacheck, and a set of docs site pages: a USE experiment results page plus a shared institutional footer, persistent light/dark theme, and cross-page navigation consistency.

Report page generation

  • Added src/rsmetacheck/report.py: generates a self-contained analysis_report.html after each analysis (no external CSS, fonts, or JS).
  • Wired it into the detector pipeline so the report is written for both full SoMEF runs and --skip-somef runs, and written before the CI gate exits so failing runs still produce it.
  • Report defaults on with new flags: --no-report (opt out), --report-output PATH (default ./analysis_report.html), --report-title.
  • Report contents: per-repository entries showing findings (pitfall/warning) with evidence and suggested fix, the metadata files analyzed, and the latest release/commit; a filterable check catalog; and each check code linked to the w3id catalog..
  • Added tests/test_report.py.
  • Updated README.md, docs/usage.md, and docs/output.md to document the report flag and artifact.

Docs site

New USE Experiment page

  • Added docs/use-experiment.html: usage statistics, questionnaire, form and answers links, and results (mean/median radar charts plus a per-question table), structured after the OnToology additional-material page.
  • Added docs/use-experiment.json: aggregated results from the feedback form (7 responses for now, adding more soon), with per-question mean/median and section-level aggregates.
  • Committed the source CSV so the "Form Answers" GitHub link resolves.

Navigation

  • Added a sticky left sidebar table of contents to the USE page, with scrollspy highlighting the active section and click-to-jump links.
  • Positioned the sidebar at one third of the left gap while keeping the main body at its original centered position.
  • Linked the new page from the home cards and from the nav bar of every page.

Footer

  • Added a shared site footer with the OEG, ETSIINF (Escuela) and UPM logos plus an attribution line, on all six pages.
  • Extracted the footer layout and logos from the OEG corporative-image repo (read only, no writes there); logos stored under docs/images/.

Theme

  • Made the light/dark choice persist across pages using localStorage, so the selected mode follows the reader between pages.
  • Fixed dark-mode contrast failures on nav links and hover states.
  • Charts re-render on theme change, via a theme event with a data-theme observer as fallback.

Files

Report generator (commit 7358a78)

  • src/rsmetacheck/report.py
  • src/rsmetacheck/cli.py
  • src/rsmetacheck/detect_pitfalls_main.py
  • src/rsmetacheck/run_analyzer.py
  • src/rsmetacheck/utils/json_ld_utils.py
  • tests/test_report.py
  • README.md, docs/usage.md, docs/output.md

Docs site (commit e9ff484)

  • New: docs/use-experiment.html, docs/use-experiment.json, docs/images/{oeg,etsiinf,upm}-logo.png, docs/rsmetacheck-bot Feedback Form (Responses) - Form Responses.csv
  • Modified: docs/index.html, docs/catalog.html, docs/ground_truth/index.html, docs/ground_truth/comparison.html, docs/ground_truth/charts.html, docs/stylesheets/lab-report.css, docs/theme.js, .gitignore

@Anas-Elhounsri Anas-Elhounsri changed the title Page results changes, added USE experiment initial results (WIP) page generated report, added USE experiment initial results (WIP) for the current pages Dec 1, 2026
@Anas-Elhounsri
Anas-Elhounsri merged commit e855c0b into main Dec 1, 2026
2 checks passed
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