fjuniorr / flowmapper-ci

Bot for running flowmapper
0 stars 1 forks source link

Add github actions workflow to generate stats of latest match of flowmapper #8

Closed fjuniorr closed 11 months ago

fjuniorr commented 11 months ago

Generate a status report with match statistics for agribalyse-3.1.1-biosphere and industry-2.0-biosphere against ecoinvent-3.7-biosphere[^1] when new versions of flowmapper are published to main.

[^1]: From upwork:

  > BTW, we can match against simapro-all, but actually this is not a clean export of the main simapro flows - it includes stuff most simapro exports won't. So our reported statistics should be against Agribalyse or Industry 2.0 (they seem quite similar to me so far). The more complete list contains a lot of specific chemcials for which there isn't and won't be a match anytime soon...
fjuniorr commented 11 months ago

Initial status notebook done but still need to configure repository_dispatch triggered from flowmapper to re-run the notebook on versions changes.

fjuniorr commented 11 months ago

This is done. It was tricky for me to generate plain markdown from jupyter notebooks so I ended up using quarto which is usually associated with R but has python support as well.

The pieces are status.qmd which is a plain text format that mixes code and prose and the github action to render status.md

Let me know if this is a problem in terms of future maintenance costs @cmutel.