kausaltech / kausal-paths Goto Github PK
View Code? Open in Web Editor NEWKausal Paths to predict how the emissions of cities develop
License: GNU Affero General Public License v3.0
Kausal Paths to predict how the emissions of cities develop
License: GNU Affero General Public License v3.0
We should allow users to import and export the custom scenarios they have made. Let's do this by generating a (JSON) file in the backend that we download to the user's computer. A couple of new mutations will be needed:
ExportScenario
takes as its argument a name
for the custom scenario. It generates the JSON of the customized parameters and returns that as the data
field along with filename
that the UI uses when saving the file.ImportScenario
is given a string that the UI loads from the user-uploaded scenario file. It will create a new field (imported_scenario
?) in request.session
that will serve as the fourth available scenario in the scenarios
endpoint. When a new scenario is imported, imported_scenario
will be replaced by the new contents, so the user cannot have more than one imported scenario available to her.Need: Emissions segments have each a theme color. Either automatically determine a corresponding color for an action (segment that the action targets) or let the user choose a theme color for an action too.
Could be augmented to categorisation and other structured meta data for actions.
Add admin interface for the admin user to change values of hard coded node input time series
Divide this issue as needed
Description of the needed fields goes here
Needs error handling. Assuming this is due to htmlLong having no content or bad content in db.
There is already a need to change the text "Actions" that we have in the public UI. It might be simplest to replicate what we have in KW and implement an ActionListPage
model (including the show_in_*
booleans).
We will also need to have an InstanceRootPage
and instance-specific wagtail.core.Site
model instances (ugh, "instance" is beginning to be too overloaded already โ we still might be able to change the word at this point).
Maybe as
actionLeadTitle: String
actionLeadParagraph: String
on InstanceType
Translated fields in the Action
model should be made editable in Wagtail admin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.