Vecna
|
f245ee21f9
|
Improve error handling and stats collection
|
2024-05-29 01:05:37 -04:00 |
Vecna
|
18de3f58b0
|
Make sure Troll Patrol has a negative report key on first day
|
2024-05-28 17:03:32 -04:00 |
Vecna
|
bbf582078a
|
Add option to restrict positive reports to 1 per bridge per cred
|
2024-05-28 16:20:28 -04:00 |
Vecna
|
d8a3f3b564
|
Initialize simulation with some number of trusted users
|
2024-05-28 16:00:00 -04:00 |
Vecna
|
9cb967ca61
|
Simulate only one censor at a time
|
2024-05-28 15:23:25 -04:00 |
Vecna
|
df813355c8
|
Integrate from 3 StdDevs down instead of starting at 0
|
2024-05-27 19:49:19 -04:00 |
Vecna
|
a8a0983f9e
|
Use statrs functions
|
2024-05-27 18:55:37 -04:00 |
Vecna
|
11bedfb74a
|
Only use CDF tests if today's numbers are worse than average
|
2024-05-27 17:47:02 -04:00 |
Vecna
|
788f1f7f21
|
Censor user always gives lv3+ cred to censor
|
2024-05-26 21:56:46 -04:00 |
Vecna
|
38de75b253
|
Correct encoding
|
2024-05-26 21:50:14 -04:00 |
Vecna
|
fc03309af2
|
Clean up
|
2024-05-25 17:27:39 -04:00 |
Vecna
|
c4828d691f
|
Fix a bunch of issues with the simulation
|
2024-05-25 16:49:50 -04:00 |
Vecna
|
7a075d42ff
|
Add simulation binary code, move server code to main
|
2024-05-24 22:55:29 -04:00 |
Vecna
|
895623a2a2
|
Set up daily updater to be controlled by simulation
|
2024-05-24 21:35:05 -04:00 |
Vecna
|
1cc9f7797b
|
Implement daily behavior for bridges and censors
|
2024-05-24 20:09:24 -04:00 |
Vecna
|
690019f4c5
|
Censor user gives bridges and creds to censor
|
2024-05-24 18:16:30 -04:00 |
Vecna
|
62bb11ed30
|
Add config variable for whether censors share info
|
2024-05-24 17:34:37 -04:00 |
Vecna
|
9e8a0c8fca
|
Start adding censors, behavior for connecting to bridges
|
2024-05-24 17:32:10 -04:00 |
Vecna
|
659b8fa16c
|
Refactor analysis for efficiency
|
2024-05-22 16:04:52 -04:00 |
Vecna
|
6b6836dbae
|
Simulation: Give user chance to use bridges each day
|
2024-05-21 22:35:42 -04:00 |
Vecna
|
d9aa616d77
|
Use estimated multivariate CDF when we have positive reports
|
2024-05-21 19:30:09 -04:00 |
Vecna
|
3512adc425
|
Stage 2: Model as two distributions, handle 0 standard deviation
|
2024-05-21 17:16:26 -04:00 |
Vecna
|
97d4622cd4
|
Use CDF, not PDF with artificial 'blocked' data
TODO: Figure out proper multivariate CDF
|
2024-05-20 20:54:28 -04:00 |
Vecna
|
22163cc030
|
Only re-evaluate new data, analyze based on user-defined interval
|
2024-05-20 20:38:06 -04:00 |
Vecna
|
72103f95af
|
Fake time for simulation
|
2024-05-15 20:58:42 -04:00 |
Vecna
|
88914084e3
|
Clean up
|
2024-05-15 20:56:05 -04:00 |
Vecna
|
457acc6344
|
Refactor: Move tests to separate files
|
2024-05-15 18:33:00 -04:00 |
Vecna
|
33fde0cbf4
|
Simulation: Have users get negative report keys from TP
|
2024-05-06 18:25:44 -04:00 |
Vecna
|
62448a4b03
|
Clean up
|
2024-05-06 17:36:21 -04:00 |
Vecna
|
91422e0179
|
Correct logic for tracking connection results
|
2024-05-06 17:30:10 -04:00 |
Vecna
|
ba9c2bdc14
|
Test all of the user's bridges
|
2024-05-06 17:25:53 -04:00 |
Vecna
|
b50f40fe8a
|
Add noise when necessary to build distribution
|
2024-05-04 14:26:18 -04:00 |
Vecna
|
606156c8b0
|
Make extra_infos_server but not other simulation code available to tests
|
2024-05-04 14:07:33 -04:00 |
Vecna
|
455452d64b
|
Clean up
|
2024-04-30 02:01:02 -04:00 |
Vecna
|
dbf7dfe929
|
Fix selection of user's country
|
2024-04-30 01:48:53 -04:00 |
Vecna
|
b6a80c9b7d
|
First iteration of users for simulation
I think this is designed in a way that will make it very hard to parallelize later. I should fix that when I can.
|
2024-04-30 01:30:37 -04:00 |
Vecna
|
552db21ce1
|
Add mock server to serve extra-infos for tests and simulation
|
2024-04-29 11:51:54 -04:00 |
Vecna
|
45a6339c4c
|
Start testing simulated extra-infos
|
2024-04-27 17:28:33 -04:00 |
Vecna
|
c38b182cb7
|
Remove unused import
|
2024-04-27 14:32:26 -04:00 |
Vecna
|
e2b1f9aa7d
|
Start stage 3 based on actual observation of a positive report
Also track how much historical data we have on a per-country basis
|
2024-04-27 13:20:05 -04:00 |
Vecna
|
eef9e5164e
|
Upgrade time
|
2024-04-27 13:18:15 -04:00 |
Vecna
|
a504e8aef2
|
Update country codes list
|
2024-04-26 19:39:49 -04:00 |
Vecna
|
12519a344b
|
Use different databases for tests
This prevents an issue where the extra_infos test would have a lock on the database, preventing the positive and negative reports tests from using it.
|
2024-04-26 15:32:41 -04:00 |
Vecna
|
10ff088b5a
|
Resolve some TODOs
|
2024-04-26 15:25:56 -04:00 |
Vecna
|
ec4dc5ca29
|
Re-evaluate past days in case we got new reports since last evaluation
It would be better to track which bridges got new reports and only re-evaluate those.
|
2024-04-26 15:11:31 -04:00 |
Vecna
|
31b27a291a
|
Model both accessible bridge and blocked bridge in analysis
|
2024-04-26 15:09:30 -04:00 |
Vecna
|
b2eb244757
|
cargo-fmt
|
2024-04-26 13:11:32 -04:00 |
Vecna
|
273aaab38d
|
Don't scale bridge IPs in analysis
|
2024-04-26 12:58:03 -04:00 |
Vecna
|
e889cba878
|
Remove info print statements
|
2024-04-19 01:34:24 -04:00 |
Vecna
|
f0133ce0dc
|
The updater can just shut down with the main function
|
2024-04-18 23:50:37 -04:00 |