RUBICS (RUB/CS): Random Uncertainty Benefit / Cost Simulator is an open source program to undertake Monte Carlo and Distributional Benefit-Cost Analysis, enabling easy peer review of inputs and results.
RUBICSv1.0.0 STAR Changelog
-
New feature allowing the user to define their own functions and use them to in calculated parameters. The user can upload a series of x and y values and choose and interpolation method (nearest, previous, next, linear, cubic spline, akima, and smoothed cubic spline) to produce a function that can be used in calculated parameters.
-
Minor changes to the definition of exchange rate and cpi tables to account for changes in how those tables are downloaded.
-
Minor changes to the list of special mathematical function names. Now include: 'np', 'min', 'max', 'ceil', 'fabs', 'floor', 'trunc', 'exp', 'expm', 'log', 'pow', 'sqrt', 'pi', 'e', 'clip', 'inf'
-
Placeholder code in function sensitivity_display_table() for a future regression analysis operation. Not used in the current version.
-
New menu options that allow the user to download new data from the WorldBank API (dependent on whether the API is currently working)
-
Placed RUN event loop in a try, except envelope in order to catch bugs and alert the user, rather than allowing the program to crash entirely.
-
Minor bug fixes in the calculation of result outputs.
RUBICSv0.2.0 Changelog
-
New feature allowing parameters to be defined and used as inputs in price and quantity equations.
-
New feature allowing the user to specify a custom PDF from an array of x and y points using linear interpolation.
-
Changed the way percentiles are displayed for the result readouts to calculate a 'point median percentile' rather than use actual percentiles to minimise the risk that extreme line values are displayed.
-
Fixed a calculation error in the discount rate formula.
-
Fixed a bug in the calculation of the total number of periods exlcuding the last period.
-
Fixed a bug in the report generation that threw an alert when no distribution analysis table is found.
-
Fixed a bug that made the exporting data to CSV fail when there is no event model.
-
Ensured that when new quantity scenario lines are added all values and distribution analysis lists are available.
-
New feature enabling random price/quantity factors to be generated in each period.
-
Changed layout of reference price section to be more compact.
-
Fixed an issue where calculating result tables returned SettingWithCopy warnings due to ambiguous dataframes. In this instance, setting values based on a copy of the original is the expected behaviour.
-
Fixed a bug that caused the old Monte Carlo settings to fail to load into the dialogue box when updating.
-
Made it so that the main window updates properly to display the PDF settings on load.
-
Fixed bug with the calculation of random variables with the Tirangualr and PERT distributions.
RUBICSv0.1.1 Changelog
-
Fixed a bug that caused simple weights to be returned as strings instead of floats.
-
Fixed bug that caused the event model window to not open at the correct size.
-
Made the Event Model Window resizable.
-
Rearranged elements of the results window to better utilise space. Made window resizable.
-
Fixed bug that caused the window close button on the results window to close the entire program. Removed fallback exit button.
-
Enable user to export an image or pdf file of the graph generated in the results section.
-
Enable user to export a .csv of the tabulated simulation data.
-
Fixed text prompt to load settings file.
-
Enable user to import settings from a .xlsx file.
-
Fixed a bug that caused the list of values in the quantity scenarios tabs to fail to update.
-
Fixed a visual bug that caused the Price/Units view on the quantity scenarios tab to show incorrectly.
-
Changed read to model_events_user_settings for no_reps and max_reps to string to enable .json to write properly.
-
Fixed settings readout in generated results for period ranges and quantities to read as lists, not strings. And added missing event_depends in event model. And added PDF settings to readout.
-
Enabled export settings button in main window.
-
Removed export simulations to file button on results tab.