newsdev / ap-deja-vu Goto Github PK
View Code? Open in Web Editor NEWA small web service that will replay captured JSON from an AP election test.
License: Other
A small web service that will replay captured JSON from an AP election test.
License: Other
It would be great if it was easier to see what's under the hood of a deja vu data folder.
Need to have a local
and a national
folder containing the files.
The utils
library wasn't in the requirements.txt
file ... easy nuff fix. ๐
(venv-ap-deja-vu) โ ap-deja-vu git:(master) python -m ap_deja_vu.app
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/Cellar/python/3.7.2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/agorton/Projects/ap-deja-vu/ap_deja_vu/app.py", line 13, in <module>
import utils
ModuleNotFoundError: No module named 'utils'
It would be nice to avoid keeping initialization data in the deja vu cycle, and instead just add a button to test what happens with initialization data like we do with error codes. It's difficult to know when and were the init data exists in a deja vu collection.
Right now, elex-loader's update.sh
script will always push deja-vu beyond position: 0, so it's not actually possible to queue up the position: 0 results.
Sets to zero:
http://campfin.newsdev.net/ap-deja-vu/2016-03-01?position=0&playback=1
Run ./update.sh
:
Pushes to position: 1.
This will help with our models, according to @joshkatz.
For example, getting a fake-data server set up currently requires virtualenvwrapper
's add2virtualenv
to be available; otherwise one could just run python setup.py develop
or pip install .
.
This could also help if we ever wanted to release this on PyPI.
It would be great to have a button to load production data on staging.
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.