Commit Graph

78 Commits

Author SHA1 Message Date
5acee8c889 Add custom graph executor and implement filter node to test it (#2)
Reviewed-on: vato007/coster-rs#2
2024-07-28 16:41:49 +09:30
Michael Pivato
25180d3616 Add runnable graph spec 2024-05-12 16:52:17 +09:30
Michael Pivato
bd24b0b9be Add vscode workspace settings, add graph data structure to rust 2024-05-10 17:20:51 +09:30
e31499a7e4 Merge pull request 'create_encounter_products' (#1) from create_encounter_products into main
Reviewed-on: vato007/coster-rs#1
2024-05-09 22:51:40 +09:30
Michael Pivato
98d38d47a3 Add data model and structure for swift graph executor, rework create products to bem ore general 2024-05-09 22:50:35 +09:30
Michael Pivato
51fc216c82 Start adding db upload function, component mapping in product creater 2024-02-28 22:18:54 +10:30
Michael Pivato
e88d2a6319 Fixes overhead allocation to consider lines that don't participate in overhead allocation, and fix from_cost_centre department 2024-02-23 19:51:58 +10:30
Michael Pivato
19e08f9ca7 Add necessary joins 2024-01-03 22:43:08 +10:30
Michael Pivato
6946317a68 Replace ComponentSourceType with general SourceType 2024-01-03 18:08:21 +10:30
Michael Pivato
318da4f17d Add date column in input file for change in definitions 2024-01-03 17:43:48 +10:30
Michael Pivato
635010ff11 Implement refactoring on definition to use same build per source file type 2024-01-03 17:40:16 +10:30
Michael Pivato
222d02298b Fix create products, add notes on refactoring possibilities 2023-12-30 22:20:00 +10:30
Michael Pivato
1fbc2ef10e Update dependencies 2023-12-24 16:57:29 +10:30
Michael Pivato
7e866141e7 Use TryFrom to handle enum errors, get definition loading working with demo definitions 2023-12-24 16:52:13 +10:30
Michael Pivato
c1771b66c4 Fix build issues 2023-10-13 10:43:27 +10:30
Michael Pivato
9a5a89d683 Add filtering to encounter product building 2023-10-11 21:41:08 +10:30
Piv
2485e45026 Apply a bunch of clippy lints 2023-08-01 18:21:47 +09:30
Piv
f992efc018 Add initial reader record reader trait and implementations 2023-08-01 17:01:35 +09:30
Piv
e7a6e31015 Add some notes on customising reader/deserialiser to use one other than csv that interops with serde. 2023-07-29 15:02:45 +09:30
Piv
12add6e5c1 Split readers/writers into separate module 2023-07-28 20:28:58 +09:30
Michael Pivato
fc633153bb Merge branch 'filter' into 'main'
Add filter function

See merge request vato007/coster-rs!5
2023-07-28 10:20:28 +00:00
Michael Pivato
dbd0693776 Add filter function 2023-07-28 10:20:27 +00:00
Michael Pivato
76096639b2 Merge branch 'linking' into 'main'
Start adding linking

See merge request vato007/coster-rs!4
2023-07-27 09:36:28 +00:00
Piv
befce9f60a Start adding linking 2023-06-04 21:47:02 +09:30
Piv
bd7e3590c0 Add consideration for potentially incorrect cost driver calculations 2023-03-21 21:58:57 +10:30
Piv
3ba8bf6e84 Stop needlessly outputting 0 value allocation amounts 2023-03-20 22:56:54 +10:30
Piv
41ee0d358f Fix exporting of large files in overhead allocation 2023-03-20 20:18:08 +10:30
Piv
87fa169d0c Add optional messagepack output for overhead allocation to cli 2023-03-17 18:57:47 +10:30
piv
7949a0a07b Start adding messagepack serialization by adding custom serialize trait to handle csv and messagepack serialization
This is required as csv writer doesn't expose the serde::Serializer implementation, so we can't just use that trait in place of the output writer
2023-03-15 21:48:49 +10:30
Michael Pivato
83a4fc28cc Merge branch 'overhead_allocation_multi_threading' into 'main'
Add multithreading to overhead allocation, add optional storage of from

See merge request vato007/coster-rs!3
2023-03-13 06:03:18 +00:00
Michael Pivato
933e9b33ca Add multithreading to overhead allocation, add optional storage of from departments 2023-03-13 06:03:18 +00:00
Piv
8a6a94a11e Stop calculating amounts of overheads that don't have initial costs 2023-03-11 23:46:37 +10:30
Piv
d88fbe707a Use rayon to speed up percentage calculations, add readme 2023-03-11 22:21:07 +10:30
Piv
55e2a0c24c Remove unnecessary todo 2023-03-11 20:47:47 +10:30
Piv
7c89ba4130 Fix output path in overhead allocation ios app 2023-03-11 20:44:48 +10:30
Piv
f5bc441fdb Allow showing from amounts in overhead allocation 2023-03-11 20:19:28 +10:30
piv
7cd893cbf8 Refactor product creator, remove threading for writing to disk 2023-03-11 10:55:41 +10:30
Piv
363c972b71 Reinstate cli as the main binary crate for now 2023-03-10 21:01:43 +10:30
Piv
ba740710f3 Fix compilation 2023-03-10 20:21:04 +10:30
Piv
1ea7b7e3b8 Start adding service version of coster 2023-03-10 19:54:09 +10:30
Piv
f5a777baa7 Fix flush pass to print to and from department/account 2023-03-10 17:30:23 +10:30
michaelpivato
8dc0881197 Fix all to single department range 2023-03-10 11:34:01 +10:30
Piv
568a66c6cf Add numeric accounts as property to lib, redistribute floating point errors for each account in overhead allocation 2023-03-09 22:28:05 +10:30
Piv
5603ccfd25 Add exclude negative allocation statistics option to overhead allocation 2023-03-09 21:29:25 +10:30
Piv
887e7c950b Remove smush rules, fix warnings 2023-03-09 18:58:54 +10:30
michaelpivato
540e4c778d Ignore ccs with no area, use hashset for tracking overhead ccs 2023-03-09 12:51:10 +10:30
piv
1e36bc68e4 Fix move money to correctly move between accounts/ccs with ranges and and consider cost output correctly, speed up process by using hashset for rule accounts/departments 2023-03-08 12:56:39 +10:30
Michael Pivato
e1bb6e65d3 Merge branch 'product_creater' into 'main'
Add pass flushing for move money

See merge request vato007/coster-rs!2
2023-03-08 00:06:36 +00:00
piv
d9f994195e Add pass flushing for move money 2023-03-08 10:35:47 +10:30
Michael Pivato
0da4842d16 Merge branch 'product_creater' into 'main'
Product creater

See merge request vato007/coster-rs!1
2023-03-08 00:04:36 +00:00