Delete test.py
Browse files
test.py
DELETED
|
@@ -1,12 +0,0 @@
|
|
| 1 |
-
import sys
|
| 2 |
-
sys.path.append('backend')
|
| 3 |
-
from nifty_backend.runtime import update_live_accuracy, load_live_accuracy, dashboard_payload
|
| 4 |
-
from datetime import datetime
|
| 5 |
-
|
| 6 |
-
print('Seeding live accuracy...')
|
| 7 |
-
update_live_accuracy(datetime.now().date())
|
| 8 |
-
ledger = load_live_accuracy()
|
| 9 |
-
for m in ('t5', 'tomorrow', 'tplus1'):
|
| 10 |
-
print(f'{m}: total={ledger[m].get("total")}, accuracy={ledger[m].get("accuracy")}')
|
| 11 |
-
|
| 12 |
-
print('\nDone')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|