1
0

4 Commits cd8fb77aca ... 0a0e635c6f

Autor SHA1 Nachricht Datum
  Eren Yilmaz 0a0e635c6f Allow creating users in specific organizations vor 1 Jahr
  Eren Yilmaz d69f2f4605 Record times vor 1 Jahr
  Eren Yilmaz 2c3f6b826e Add organizations to users vor 1 Jahr
  Eren Yilmaz eedd1a290f Fix excel export and optimization tests vor 1 Jahr

+ 0 - 0
Code/README.md


BIN
time_recoder/time_recorded_tables/work_time_eren.xlsx


+ 10 - 0
tool_lib/price_estimator.py

@@ -0,0 +1,10 @@
+from math import log
+
+
+def price(num_operators: int, base_price=15, discount_per_doubling=0.9):
+    return base_price * num_operators * discount_per_doubling ** log(num_operators, 2)
+
+
+if __name__ == '__main__':
+    for i in [1, 2, 3, 5, 10, 20, 40, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 20000, 50000, 100000, 200000, 500000, 1000000]:
+        print(f'{i} operators: {price(i):,.2f} €')