Related Issues (20)
- Refactoring: decouple LAWM Fortran simulator from django objects
- For simplicity, all parameters are required. Make them not required and use the defaults when needed
- Add CORS support so browsers can "hit" microsimu's endpoints
- Testing: add /visualize/ tests (views test, api test)
- Adapt MicroSimu to use the "nginx+letsencrypt+... companion" instead of relying on the host's nginx configuration
- Add visualization link to Simulation Region Results Detail view
- Make the link to "/visualize" endpoint, in Region Result description, dynamically adapted to the request (and clickable)
- Add tests for the URLS dynamically generated in the docstrings for the views (APIRoot and RegionResult views are 2 examples)
- LAWM Regional parameters: Add field value validation tests for each parameter (max_calories, etc)
- Add LAWM parameters objects to the LAWM model and to the database ORM
- Add caché to get_metadata from parameters django models so the classmethod is called only once (see other caché test for inspiration)
- Refactoring: adapt Django's DB classes to use LAWM's regions (regions.Developed) instead of strings ("developed")
- Test: assert that the db tree created in api test mixin is created without errors and that the number of objects in the DB increases proportionally
- Testing: regional parameters DB model creates correct objects with defaults for region other than Developed (the only one tested)
- Refactoring: find a way to reuse the "self._meta.get_fields" (self or cls) in the DB classes
- Testing: RegionalParametersListSerializer to_internal_value and to_representation
- Write the POST data sent to "/simulate" and validated by the serializers to a CFG file that can be read by Fortran
- Add a swagger view to provide an OpenAPI specification of MicroSimu
- Forward HTTPS requests so it reaches django instead of mapping them internally to HTTP requests (see desc)
- Testing: add an API test that when setting the HTTP header "X-Forwarded-Porto" then the returned urls are https, and http otherwise.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsimu.