mysociety / caps

A simple, open database of local government climate action plan documents and emissions data.
https://cape.mysociety.org
Other
9 stars 2 forks source link

Export scoring data from marking app into new Scorecards site #526

Closed struan closed 1 year ago

struan commented 1 year ago

I think this is mostly the following:

There might also be some clean up of the data and also applying to scores/weighting as part of the export.

struan commented 1 year ago

One question I have is if we think we should do this as a two stage process with the marking app exporting raw data and then have an intermediate process do the score calculations, or just do it all in one step. Do you have any preferences @ajparsons?

I think fundamentally though this shouldn't require much change on the scorecards side as we should be able to use the same input format as before, and in fact is simpler as we're not doing individual questions so we can strip out a lot of the code, so only need the overall and section scores data.

struan commented 1 year ago

I should say, we can get the marking app to spit out the raw data as well for people to analyse outside of this.

ajparsons commented 1 year ago

I think I've said at previous points happy with either. Given the marking app is python, it can all be incorporated at the source, which might make sense rather than having a weird middle step? there will be multiple exports I imagine, so simplifying that flow is good.

struan commented 1 year ago

See https://github.com/mysociety/ceuk-marking/pull/99 for work on the first part of this.

struan commented 1 year ago

This is largely done.