Commit Graph

92 Commits

Author SHA1 Message Date
2a06228000 Fix all tests, add CI build script
Some checks failed
test / test (push) Has been cancelled
2024-12-30 15:29:19 +10:30
7d985977f2 Fix overhead allocation tests, clean up some imports 2024-12-30 11:08:25 +10:30
a9a9b1bec2 Fix build in overhead allocation 2024-12-26 19:43:02 +10:30
139d6fb7fd Add basic pull from db support 2024-12-26 16:19:38 +10:30
375e1f9638 Update dependencies, add some todos/notes for future changes 2024-09-24 11:35:07 +09:30
bc5497ea16 Add skeleton for pull from db node 2024-09-12 18:21:07 +09:30
3d8ce9c498 Add derive node to graph 2024-09-07 14:07:32 +09:30
3a0bfd6ad0 Address various linting issues in graph and db uploader 2024-09-07 12:56:00 +09:30
9e225e58cb Start adding db download/upload, migrate graph to async/await 2024-08-29 21:24:23 +09:30
0ee88e3a99 Start adding row-level splitting, refactor cli and graph into subcrates 2024-08-09 22:13:43 +09:30
3cdaa81da1 Add schema generation, refactor cli, add most of the derive operations 2024-08-03 16:33:16 +09:30
fbf74d5299 Refactor filters for derive node, stub derive node implementation, fix first line check in filter node 2024-08-01 19:12:27 +09:30
0f0d40c2a1 Refactor graph run to not be mutable, use generic for node retriever 2024-07-31 20:28:49 +09:30
e9caf43de3 Add sql node 2024-07-31 20:00:33 +09:30
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