74 Commits (498244052b60b1448a24f98a45331c83524eea57)

Author SHA1 Message Date
MrWaradana 498244052b feat: Implement reliability-based CM cost prediction using historical cost per failure and document the new prediction logic. 4 weeks ago
MrWaradana 75bec015ea feat: Add token parameter to simulation endpoints and remove sign-in retry logic from Prediksi module. 4 weeks ago
MrWaradana 4ce0ad9765 feat: Set forecasting start year to acquisition year, archive historical data only when the acquisition year changes, and prevent duplicate history entries. 4 weeks ago
MrWaradana dac589ad9a refactor: standardise API update and delete endpoints to use POST method with `/update` and `/delete` paths. 4 weeks ago
MrWaradana 762460baa5 feat: Introduce `DEV_USERNAME` and `DEV_PASSWORD` configuration variables and use them as default credentials for sign-in functions. 1 month ago
MrWaradana 7bcc102f1b Refactor attribute access for clarity and robustness, and enhance subprocess command execution by using a list for arguments. 1 month ago
MrWaradana 0af5cceabd feat: Implement acquisition data change detection, historical archiving, and conditional re-insertion before simulation. 1 month ago
MrWaradana 6995aca3db Fix: Corrected `raw_loss_output_MW` parameter to be a string literal in data insertion and service functions. 1 month ago
MrWaradana 151489a642 feat: Stream real-time status updates during equipment processing, enhance prediction robustness by validating asset data, and remove `await` from EAC calculation calls. 1 month ago
MrWaradana 4a0fc31925 feat: Include acquisition cost in equipment update logic and database updates. 1 month ago
MrWaradana 1e27adfa31 feat: Implement historical data archiving for equipment and transaction records when the acquisition year is updated. 1 month ago
MrWaradana d10f9a2bde feat: Implement historical transaction records and refine actual data processing logic with acquisition year handling and targeted execution. 1 month ago
MrWaradana 9f9238c088 remove the acquisition_year_ref 1 month ago
MrWaradana 10cab6d4be removing unnecessary notes 1 month ago
MrWaradana 3fbf941cfd update for new acquisition year replacement calculation minimum eac 1 month ago
MrWaradana 4ff7e29d31 feat: Dynamically update equipment acquisition year from production data and link prediction records to this reference. 1 month ago
MrWaradana 82120c26f4 remove debug print 1 month ago
MrWaradana 1f38f1a80f feat: Standardize equipment API responses to `EquipmentDataMaster` and optimize LCC calculations by pre-fetching parameters and including new material cost fields. 1 month ago
MrWaradana b72e1ec51d feat: Implement `/simulate-all` endpoint to run predictions and EAC for all equipment, and refine `is_actual` determination logic. 1 month ago
MrWaradana c35ec7df6b fix items_per_page params 1 month ago
Cizz22 7cad6cc8c4 add validation 1 month ago
MrWaradana 25288d18f5 refactor: improve EAC calculation output clarity and adjust Yeardata query year sorting from descending to ascending. 2 months ago
MrWaradana 04bba31670 feat: Add equipment remaining life count API, refine actual data insertion logging, and enhance prediction data fetching. 2 months ago
MrWaradana bd6efc2a3a feat: Add `get_where_query_sql_labour_cost` to filter out 'T' wonums and update `get_yearly_labour_cost_total_by_worktype` to use it. 2 months ago
MrWaradana 9245669487 add all worktype includes 2 months ago
MrWaradana b1da29c7e6 remove where worktype cm proactive em 2 months ago
ariwahyunahar d60c8bc511 Perubahan run2.py -> value EaF dan CF dari input, kecuali tahun prediksi ambil dari master 2 months ago
MrWaradana 90f00af864 refactor: simplify worktype filter to always include CM, PROACTIVE, and EM. 2 months ago
MrWaradana fe4317b1b6 refactor: Remove wonum exclusion and add worktype CASE statement to equipment queries. 2 months ago
MrWaradana 1d786b30bf feat: add status filter for completed and closed work orders to equipment queries 2 months ago
MrWaradana 36fda3e73e fix where query sql 2 months ago
MrWaradana 389449d10a refactor: Implement equipment data services with dynamic SQL query generation and category rollup logic. 2 months ago
MrWaradana 0e954d2dc0 feat: Implement upsert functionality for prediction data, updating existing records or inserting new ones, and remove the previous deletion of all predictions. 3 months ago
MrWaradana d2861e1a35 refactor: Streamline actual data queries by removing labor details, add optional asset filtering, and update EAC disposal cost calculation. 3 months ago
MrWaradana d1aa0ced70 refactor: refine EAC year difference calculation logic and add an explanatory comment for EM. 3 months ago
MrWaradana 0dd0ce1fe2 refactor: Exclude `seq=0` from historical data, simplify CM prediction logic, and remove hardcoded assetnum from run script. 3 months ago
MrWaradana fa4ea74d9b refactor: Standardize module imports to absolute paths and re-enable data querying in run script. 3 months ago
MrWaradana 56ec7a1bad feat: remove `query_data` invocation, add `assetnum` parameter to `predict_run`, and refine fallback imports. 3 months ago
MrWaradana 6ceb295781 edit avg proyeksi data equipment 3 months ago
MrWaradana b9df675099 refactor: adjust import path for where_query_sql 3 months ago
MrWaradana 052b94d8e0 refactor: externalize SQL WHERE clause generation and update cost data column names. 3 months ago
MrWaradana 92818a581a feat: Add `min_eac_disposal_cost` to the equipment chart response schema and service. 3 months ago
MrWaradana 87d334ed73 fix script equipment 3 months ago
MrWaradana c1d087611a update formula and top 10 remaining life 3 months ago
MrWaradana 46a2727f69 update labor cost and disposal cost 3 months ago
MrWaradana 3ed4203f96 fix query plant and equipment 3 months ago
MrWaradana bb9c9bc0a6 update fix equipment eac and formula 3 months ago
MrWaradana f671249fed fix simulation get data response 3 months ago
MrWaradana 91cb9e6efa fix import lcca 3 months ago
MrWaradana 25cd2323df update manpower and recalculation plant 3 months ago