feat: add main.py
This commit is contained in:
12
main.py
Normal file
12
main.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from flight_quality.report import evaluate
|
||||
|
||||
|
||||
def main() -> None:
|
||||
data = "time_ms,temperature_c,voltage_v\n0,22.5,12.1\n100,23.0,12.0\n100,120,12.1\n200,24.0,bad\n"
|
||||
report = evaluate(data)
|
||||
for key, value in report.items():
|
||||
print(f"{key}: {value}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user