-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
21 lines (16 loc) · 652 Bytes
/
main.py
File metadata and controls
21 lines (16 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from services import parse_input_file, evaluate_attempts, write_output
def main():
"""
Main entry point for evaluating fund load attempts
Reads input.txt, applies rules, and writes to output.txt
"""
input_path = "input.txt"
output_path = "output.txt"
load_attempts = parse_input_file(input_path)
print(f"[INFO] Parsed {len(load_attempts)} load attempts from input.txt")
results = evaluate_attempts(load_attempts)
print(f"[INFO] Completed evaluation of all attempts")
write_output(results, output_path)
print(f"[INFO] Wrote {len(results)} results to output.txt")
if __name__ == "__main__":
main()