ncsu-landscape-dynamics / pops-forecasting-platform Goto Github PK
View Code? Open in Web Editor NEWDjango backend and API powering popsmodel.org
License: GNU General Public License v3.0
Django backend and API powering popsmodel.org
License: GNU General Public License v3.0
It'll give a PoPS Model API Not Found (404 error) if you run the scenario without giving it a name. I think it's good practice for people to name the runs, but it might be good to have it generate a default name based on the session if someone forgets.
The distribution can be pulled from the database.
Need to provide a conditional in
def str(self):
return self.name
so that IF pest_information is used, the displayed string is the pest information string. ELSE, display self.name. Also consider removing pest.name and always creating pest information foreign key.
Team member images not appearing on the team page in production version.
Django has removed django six from newest version for security reasons. I used django six to generate the security token to create and verify new users.
Need to update homepage for launch
Create new workflow so that users select a PEST and are then directed to all of the case studies associated with that pest in reverse chronological order.
Add ability to select management types and add them to dashboard (host removal, pesticide, both) and percentages for each type.
Any value that is 0 should not be shown. This can be taken care of by having the transparency at 0 set to 100%. This relates to comment suggestion 1 in ncsu-landscape-dynamics/pops_model_api#2
JSON fields are deprecated in Django4.0
We should have a team page that indicates who is involved in the project and what their role is. As well as collaborators on the project. This is related to #5
This is can be resolved currently in the backend but would ultimately we want to handle this on the frontend so that the user gets more accurate feedback.
The session list page (accessible from the workspace) is giving a 404 error.
It would be nice to have an API that allows the user to get:
All run collections in a session
All runs in a run collection
All outputs in a run
Maybe even a 4th API that gives all information from a session in one call. However, I think this would be too big.
Add sessions that are shared with a user to their workspace.
Decide how the workflow is to be developed then add a checklist to issue for tracking each aspect
To do:
It won't allow me to edit a case study on the review case study page. Both edit buttons fail, and just give a 500 error.
Include:
Design and update home page to reflect PoPS version 1 release, and new site flow.
When you click on TL run collections at the bottom, the listener continues listening for any previously selected run collections. It should STOP listening for any run collections that aren't currently active on the dashboard.
Django default admin organization doesn't follow a logical organization for our project.
Date and number of runs in sessions is missing in the workspace.
This would be a scoreboard that would be used to intuitively show users how different strategies worked within a single session or case study (e.g. a group of students learning about management decisions in a class, or a group of stakeholders working together to decide on the best management to achieve their goals. This needs to be sortable by reported metrics maybe even nested reported measures (e.g. sort primarily by infested/infected area and then by spread rate in a direction)
Add quarantine zones for each year associated with a case study.
So that thing that happened during the meeting with David has been continuing. If you try to display the results from a scenario that we did at the workshop via Tangible Landscape, the "waiting for Tangible Landscape" continues to ping after you hit "stop listening". It doesn't do this with the scenarios created via the PoPS dashboard. Dashboards 97 and 98 both have the error.
In one instance, I got an error code that says: An error has occurred: 0. Error: undefined. There was a problem listening for the results of the model run... the simulation is most likely still running. Try refreshing the page in 1-2 minutes.
It seems like this started after the changes to the API, and after I pulled all of the management data to recalculate costs, so the error point could be one of those things.
Add in an interface for public engagement
Create basic dashboard demo/tutorial page to allow website visitors to test it out without having to make an account.
Dashboard sidebar has unused buttons. Update to prepare for version 1 release.
All users logged into different locations or using Tangible Landscape to implement management collaboratively. The most likely way to accomplish this is the implement WebSockets.
Case study review page giving 500 error.
Basic Django tests for website need to be written.
For added security, users are required to confirm their email address via a clicked link in an email. This is currently not working on the website.
Need to remove those sessions (delete, or filter out of query)?
Need to add a contact page.
Currently there is no way to delete sessions.
Add tests to test that the dashboard works
The session owner would share or invite other PoPS users to their session. Only those users may access it. Shared/invited sessions would appear in the users' workspace(s).
Add in preferred styling for all javascript, CSS, html, and python code. Can just link to a best practices guide if there is one and it is being followed.
Remove Explore
Remove dashboard quick link
Remove case study link
Clean up links and organization
This can be a simple button with a file upload that would allow the user to drop in a management file and then have that display on the dashboard before running the simulation.
This is related to suggestion 2 in comment in ncsu-landscape-dynamics/pops_model_api#2.
Could be that the create static is messed up but not 100% sure.
This feature would add in the ability to view the best (user-selected or auto-selected based on criteria) from many case studies if the goal is to decide how best to allocate a large budget across multiple species to achieve the best overall program results. (e.g. a manager has 5 million to spend on managing 3 species what is the best allocation of that budget across those species to achieve the greatest overall results.
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.