Skip to content

[reporting] initial report generation from templates#57

Merged
machshev merged 7 commits intolowRISC:masterfrom
machshev:report-gen
Nov 18, 2025
Merged

[reporting] initial report generation from templates#57
machshev merged 7 commits intolowRISC:masterfrom
machshev:report-gen

Conversation

@machshev
Copy link
Copy Markdown
Collaborator

@machshev machshev commented Nov 13, 2025

Initial work as part of migrating from the current parallel JSON/HTML generation approach to using templates to generate HTML from the JSON results (#20).

  • Add Jinja2 dependency - almost the de-facto standard template engine in python
  • Add template rendering helper
  • Add templates
  • Refactor results summary to use the new template
  • Refactor the block results generation to use the new template
  • Remove unused dependencies mistletoe and premailer

@machshev machshev force-pushed the report-gen branch 9 times, most recently from 0d52578 to 88ee73e Compare November 18, 2025 13:47
Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Now we have Pydantic modes, instantiate them directly and remove the
unnecessary intermediate dictionary creation steps.

Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
@machshev machshev marked this pull request as ready for review November 18, 2025 14:06
Copy link
Copy Markdown
Contributor

@rswarbrick rswarbrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow! I was searching through for something wrong, or something I didn't like.... and completely failed! This looks really nice to me.

@machshev machshev added this pull request to the merge queue Nov 18, 2025
Merged via the queue into lowRISC:master with commit 40958fd Nov 18, 2025
6 checks passed
@machshev machshev deleted the report-gen branch November 18, 2025 14:37
@machshev machshev mentioned this pull request Nov 18, 2025
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.

2 participants