Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
814 commits
Select commit Hold shift + click to select a range
074a285
speed up #1 on `populateTaxdbReferences`
andrewbaxter439 Nov 11, 2025
d146dbf
speed up #2 on `loadStartingPopulation`
andrewbaxter439 Nov 11, 2025
64e3e32
speed up #3 on `getProcessed`
andrewbaxter439 Nov 11, 2025
b93ee48
speed up #4 on `getLifetimeIncomes`
andrewbaxter439 Nov 11, 2025
c3bfd6b
Revert "speed up #1 on `populateTaxdbReferences`"
andrewbaxter439 Nov 11, 2025
618658b
re-add indexing for timing check
andrewbaxter439 Nov 11, 2025
d46341e
Merge pull request #287 from centreformicrosimulation/bugfix/speeding…
justin-ven Nov 17, 2025
b21ed35
merging of changes suggested by Andy Baxter in #223
justin-ven Nov 17, 2025
94bde8b
merged Daria's changes
justin-ven Nov 17, 2025
ba044a2
minor refresh
justin-ven Nov 18, 2025
15b17f7
new edits from daria
justin-ven Nov 18, 2025
e59da78
add person isPartnered call #289
andrewbaxter439 Nov 18, 2025
bd3c748
add mockito dependencies to pom #289
andrewbaxter439 Nov 18, 2025
5eb74ab
structure for person cohabitation tests and test A added #289
andrewbaxter439 Nov 18, 2025
c6e279f
added cohabitation test B #289
andrewbaxter439 Nov 18, 2025
f2fbcac
added cohabitation tests C and D #289
andrewbaxter439 Nov 18, 2025
5e220f9
working tests for u2b and parnership dissolution (outcomes E and F) #289
andrewbaxter439 Nov 18, 2025
c4b0756
added to be partnered tests for over 29s #289
andrewbaxter439 Nov 18, 2025
4a3a7a9
Tidy code tests #289
andrewbaxter439 Nov 18, 2025
b1d4ab4
combined pull requests
justin-ven Nov 24, 2025
512d595
Merge pull request #294 from justin-ven/develop
justin-ven Nov 24, 2025
650e9c2
Improved Excel automation
justin-ven Nov 25, 2025
9841b0a
update to pom
justin-ven Nov 25, 2025
24b5df7
Merge branch 'centreformicrosimulation:develop' into develop
justin-ven Nov 25, 2025
81c7f28
new `integrationTest` parameter for multirun, set true in test config
andrewbaxter439 Oct 30, 2025
c45adac
update for latest call of new input folder
andrewbaxter439 Oct 30, 2025
de5a08d
updated statistics to new stats
andrewbaxter439 Nov 25, 2025
8929aeb
update pom to temporary test jasmine version
andrewbaxter439 Nov 25, 2025
4aad228
updated statistics to remove trailing commas
andrewbaxter439 Nov 25, 2025
76c19e9
removed extra lines from stats files
andrewbaxter439 Nov 25, 2025
b9348ff
Merge pull request #300 from andrewbaxter439/experimental/define-inte…
justin-ven Dec 1, 2025
c15496d
Merge remote-tracking branch 'upstream/develop' into develop
justin-ven Dec 1, 2025
a75c69d
Update jas-mine version number
justin-ven Dec 1, 2025
bcef8e7
Added required dependency
dav-sonn Dec 1, 2025
e4fc66b
Merge pull request #297 from justin-ven/develop
dav-sonn Dec 1, 2025
1bd185f
Merge pull request #292 from centreformicrosimulation/bugfix/289-upda…
dav-sonn Dec 1, 2025
899a2ad
added regression files for mental health and wellbeing #154
andrewbaxter439 Dec 4, 2025
c95ad2c
additional variables added in preparation #154
andrewbaxter439 Dec 4, 2025
ad5517b
added new regression files to master do #154
andrewbaxter439 Dec 4, 2025
17d83eb
add missing lines #154
andrewbaxter439 Dec 4, 2025
22dd342
added new regression files #154
andrewbaxter439 Dec 4, 2025
8d554c6
amended reg files to reduce unzipped size
andrewbaxter439 Dec 4, 2025
e461d89
new name for HM1_L RMSE
andrewbaxter439 Dec 4, 2025
d410599
updated statistics
andrewbaxter439 Dec 4, 2025
865f1ca
Merge pull request #306 from centreformicrosimulation/feature/154-upd…
dav-sonn Dec 9, 2025
bb58b85
Removing the uncapped version of the 'carehoursprovidedweekly' variable
dav-sonn Dec 9, 2025
962e4d4
added noise to MCS, PCS, HMC and Life sat outcomes
andrewbaxter439 Dec 12, 2025
4881e5f
Refactoring
dav-sonn Dec 15, 2025
555a1e5
add age tests to health variable updates
andrewbaxter439 Dec 15, 2025
aa69e12
amended statistics
andrewbaxter439 Dec 15, 2025
5e6daf2
updating placeholders
andrewbaxter439 Dec 15, 2025
07ad677
WIP: duplicate reg_health_mental do file for financial distress
igelstorm Jan 8, 2026
970a01f
WIP: update reg_financial_distress.do
igelstorm Jan 8, 2026
b934f14
switch GHQ caseness estimates to two steps
andrewbaxter439 Jan 12, 2026
e000adc
add documentation to health update methods
andrewbaxter439 Jan 12, 2026
b8b552c
update regression files for health and wellbeing #311
andrewbaxter439 Jan 12, 2026
73b23bb
re-introducing missing variables for calculating regressions
andrewbaxter439 Jan 12, 2026
b27879c
change life satisfaction to 0-10 scale in initial populations
andrewbaxter439 Jan 12, 2026
2d0d0ed
add LB to initial population
andrewbaxter439 Jan 12, 2026
4881e27
updated documentation for additional health helpers #152
andrewbaxter439 Jan 12, 2026
e317f21
switched dls variable to double
andrewbaxter439 Jan 12, 2026
90d75b9
change HM1_C to ordered regression
andrewbaxter439 Jan 12, 2026
8925d4d
update training population
andrewbaxter439 Jan 12, 2026
d4f6808
initial population change ghq to 0-12
andrewbaxter439 Jan 12, 2026
5d4bda7
added constrain estimates when not updating stage 2
andrewbaxter439 Jan 13, 2026
c8ac260
change ampersand to html code for docs
andrewbaxter439 Jan 13, 2026
9305c55
correct minor bugs
justin-ven Jan 13, 2026
01c51e0
Final adjustments
dav-sonn Jan 14, 2026
1c82154
corrected file indentations
andrewbaxter439 Jan 16, 2026
c9177a8
bootstrap health coefficients
andrewbaxter439 Jan 16, 2026
e1de468
re-introducing missing variables for calculating regressions
andrewbaxter439 Jan 12, 2026
8b7d281
Update labels
igelstorm Jan 20, 2026
7c4b83a
Update financial distress coefficients
igelstorm Jan 20, 2026
3f87c20
Update integration test output
igelstorm Jan 20, 2026
2fb1b6f
updates to do files for initial population and training data
justin-ven Jan 20, 2026
bbaaa6c
minor change to avoid silly comments
justin-ven Jan 20, 2026
d9f482c
Merge pull request #313 from centreformicrosimulation/refactoring
justin-ven Jan 20, 2026
6a3bad0
Merge branch 'develop' into financial-distress-estimation-files
justin-ven Jan 21, 2026
bf034b5
update of validation statistics
justin-ven Jan 21, 2026
d99f968
Merge pull request #315 from igelstorm/financial-distress-estimation-…
justin-ven Jan 21, 2026
78d13a8
replace getEmployed with getEmployed_Lag1 method when considering per…
justin-ven Jan 21, 2026
39ddd85
Porting EU Education module to the UK model
LiangShi369 Jan 23, 2026
d6b9b0f
Fixed inSchoolAlignment and Integrated Education Tests
Mariia-Var Jan 24, 2026
2383d4a
Ported the employment alignment module from the EU model to UK model
LiangShi369 Jan 25, 2026
4d14f97
updated health and wellbeing variables to new labels
andrewbaxter439 Jan 26, 2026
213066a
updates to do files for initial population and training data
andrewbaxter439 Jan 26, 2026
ddf3c0f
Merge remote-tracking branch 'origin/develop' into bugfix/302-assign-…
andrewbaxter439 Jan 26, 2026
b2ddc32
update life satisfaction variable name
andrewbaxter439 Jan 26, 2026
6e58539
update Person health variables
andrewbaxter439 Jan 26, 2026
09b6e2c
added catch to database loading
andrewbaxter439 Jan 26, 2026
47680f6
updated test stats
andrewbaxter439 Jan 26, 2026
4e80987
Updated integration test expected statistics files
Mariia-Var Jan 26, 2026
e0ef241
change median income calculation to use hh weights #322
andrewbaxter439 Jan 27, 2026
c923086
Merge pull request #316 from justin-ven/develop
justin-ven Jan 27, 2026
5ab9cb1
Merge pull request #323 from centreformicrosimulation/bugfix/322-weig…
justin-ven Jan 27, 2026
32d5954
Deleted macroshock relevant code, as these shocks were introduced to …
LiangShi369 Jan 27, 2026
dfb0e5a
revised validation statistics
justin-ven Jan 27, 2026
b0985be
Merge pull request #321 from centreformicrosimulation/develop_LS_port…
justin-ven Jan 27, 2026
d57e795
add reference to new version of Jas-mine core
justin-ven Jan 27, 2026
d82dde6
Merge remote-tracking branch 'origin/develop' into bugfix/302-assign-…
andrewbaxter439 Jan 27, 2026
baa6e9d
updated test stats
andrewbaxter439 Jan 27, 2026
ce4fbf3
Now the model can run employment alignment smoothly, please check sta…
LiangShi369 Jan 27, 2026
ee7ba78
this is a cleaner version that works
LiangShi369 Jan 27, 2026
93ef1dd
Merge pull request #307 from centreformicrosimulation/bugfix/302-assi…
justin-ven Jan 28, 2026
4c76e9e
clean up healthPsyDistress 0 to 12 score variable
andrewbaxter439 Jan 28, 2026
fca996d
update initial population
andrewbaxter439 Jan 28, 2026
ef0be3b
update codebook
andrewbaxter439 Jan 28, 2026
ac9b699
Correct new label
andrewbaxter439 Jan 28, 2026
c01e07d
Merge pull request #330 from centreformicrosimulation/bugfix/clean-up…
dav-sonn Jan 29, 2026
2026236
Made necessary updated to the employment alignment
Mariia-Var Feb 1, 2026
f6ec364
Updated inSchool Alignment targets
Mariia-Var Feb 2, 2026
ecc3251
Updated inSchool Alignment targets
Mariia-Var Feb 2, 2026
71f3cfe
Added required dimensions to Statistics3 to compute stats for all 7 c…
LiangShi369 Feb 3, 2026
e6b358f
Update processes with new estimates
dav-sonn Feb 3, 2026
ba38ebf
Merge pull request #331 from centreformicrosimulation/MV-fix-Employme…
LiangShi369 Feb 3, 2026
e402412
Update regressors' definition
dav-sonn Feb 4, 2026
2335b1d
Addressed boundary solution issues
LiangShi369 Feb 5, 2026
2e1373f
added care need flag to do-file.
LiangShi369 Feb 5, 2026
8e5b409
Update 01_employment_shares_initpopdata.do
LiangShi369 Feb 5, 2026
c534f12
Update do files
dav-sonn Feb 6, 2026
2418066
Update categorical variables
dav-sonn Feb 6, 2026
595bb42
Corrections to enable bootstrapping
dav-sonn Feb 6, 2026
e066171
Minor documentation editing
dav-sonn Feb 9, 2026
38ff4cb
Variable cleaning
dav-sonn Feb 9, 2026
5bd5d8b
Changed input do files for employment share alignment. Now disabled p…
LiangShi369 Feb 10, 2026
824f393
Removed careneedflag == 1 in employment shares dofile. I notice that …
LiangShi369 Feb 10, 2026
1bd56bb
adjust disability definition in tax database to align with SimPaths
justin-ven Feb 10, 2026
fc52e01
Update computation of leisure time
dav-sonn Feb 10, 2026
757730d
Merge branch 'new_estimates' of https://github.com/centreformicrosimu…
dav-sonn Feb 10, 2026
f4ff96f
Added "warm start" for employment alignment to speed up computation a…
LiangShi369 Feb 10, 2026
b364975
intermediate - omits social care receipt below age 65
justin-ven Feb 10, 2026
e527c8c
Folder cleaning
dav-sonn Feb 11, 2026
afb34bf
Add missing process for SocialCareS1b
dav-sonn Feb 11, 2026
680e2af
Fixed the inSchool alignment (previously named as edu alignment) issues
LiangShi369 Feb 11, 2026
d7d17e3
Create 01_inSchool_targets_initpopdata.do
LiangShi369 Feb 11, 2026
f9b01db
Remove fix 3, since MAX_AGE_TO_EDUCATION is no longer used.
LiangShi369 Feb 12, 2026
a8dc43f
Align filter conditions with Stata do-files
dav-sonn Feb 12, 2026
6c4fa0a
Align filtering conditions in partnership dissolution and pension income
dav-sonn Feb 12, 2026
0810f4f
Update documentation folder
dav-sonn Feb 12, 2026
18fedee
Several changes made:
LiangShi369 Feb 13, 2026
9f4f3ba
Minor adjustments
dav-sonn Feb 13, 2026
b2776b4
Update 07_was_wealth_data.do
justin-ven Feb 15, 2026
e768a8b
Update regression estimates
dav-sonn Feb 16, 2026
6e99900
extend starting population data for social care
justin-ven Feb 16, 2026
ba2c911
Merge branch 'new_estimates' of https://github.com/centreformicrosimu…
justin-ven Feb 16, 2026
8aeace0
A revised version that works fine.
LiangShi369 Feb 16, 2026
66855dd
Update 01_employment_shares_initpopdata.do
LiangShi369 Feb 16, 2026
c86327d
A narrower [-5,5] root search interval is introduced as default.
LiangShi369 Feb 17, 2026
f005f93
update input data for social care
justin-ven Feb 17, 2026
301d3ec
fix bug in do file
justin-ven Feb 17, 2026
b6c3c62
limiting the yearly schedule of the model
justin-ven Feb 17, 2026
8e7f22d
Merge pull request #339 from centreformicrosimulation/LS-fix-inSchool…
LiangShi369 Feb 17, 2026
8ff0d9b
Update health processes to use new estimation data
igelstorm Feb 17, 2026
95f244b
Update health processes to use dlltsd01
igelstorm Feb 17, 2026
eb05d13
fixup! Update health processes to use dlltsd01
igelstorm Feb 17, 2026
a4103a2
Integrate new simplified social care module
dav-sonn Feb 17, 2026
113d168
Merge branch 'new_estimates' of https://github.com/centreformicrosimu…
dav-sonn Feb 17, 2026
a7dfb64
Debug Commit b6c3c62
dav-sonn Feb 17, 2026
4bd1931
Integrate new labour supply estimates
dav-sonn Feb 18, 2026
52788e9
Update derived variables needed for health processes
igelstorm Feb 18, 2026
87e9c16
Add financial distress and health processes to master.do
igelstorm Feb 18, 2026
1be33fb
Update health processes to put RMSE in empty cells
igelstorm Feb 18, 2026
75dd170
fixup! Update health processes to put RMSE in empty cells
igelstorm Feb 18, 2026
17804e5
Merge remote-tracking branch 'origin/MV-fix-edu-module' into new_esti…
Mariia-Var Feb 18, 2026
a58e83f
Merge MV-fix-edu-module into new_estimates (resolve conflicts)
Mariia-Var Feb 18, 2026
b4d5705
Update financial distress and health process estimates
igelstorm Feb 18, 2026
095fd80
Merge pull request #333 from centreformicrosimulation/MV-fix-Employme…
Mariia-Var Feb 18, 2026
482823c
Merge remote-tracking branch 'origin/develop_LS_PortEmploymentAlignme…
Mariia-Var Feb 18, 2026
fd3bb34
Merge develop-LS-PortEmploymentAlignment into new_estimates (resolve …
Mariia-Var Feb 18, 2026
6b05b4e
Corrected excel sheets names
Mariia-Var Feb 18, 2026
18aaa71
Corrected excel sheets names
Mariia-Var Feb 18, 2026
a58cb94
Merge pull request #349 from centreformicrosimulation/new_estimates-M…
Mariia-Var Feb 18, 2026
2791c10
resolve stata bugs
justin-ven Feb 18, 2026
b23b98e
Corrected excel sheets names
Mariia-Var Feb 18, 2026
0a3dee9
Resolve bugs/errors previous in commits
dav-sonn Feb 18, 2026
a6f8e84
Integration of social care regressions
dariaple Feb 18, 2026
26c64d0
Merge pull request #350 from centreformicrosimulation/new_estimates-M…
dav-sonn Feb 18, 2026
3a4b65e
Merge branch 'new_estimates' of https://github.com/centreformicrosimu…
dariaple Feb 18, 2026
61dc134
Correct care variable name
dav-sonn Feb 18, 2026
3aa9fea
Merge branch 'new_estimates' of https://github.com/centreformicrosimu…
dav-sonn Feb 18, 2026
f0c5233
Add eduHighestC4 to the initial populations
dav-sonn Feb 18, 2026
9304ee8
Corrected fixed costs regressors to run correctly with disabled boots…
Mariia-Var Feb 19, 2026
ff08d45
Solve bugs introduced by to commit 3aa9fea
dav-sonn Feb 19, 2026
5dfe4b1
Fixed a bug that was crashing SimPathsStart
Mariia-Var Feb 19, 2026
c4cc336
Update regression estimates
dav-sonn Feb 19, 2026
a9e72bd
Merge pull request #351 from centreformicrosimulation/new_estimates-M…
dav-sonn Feb 19, 2026
a7e2517
Updated Schedule .xlsx file
Mariia-Var Feb 19, 2026
5e1828b
Merge pull request #352 from centreformicrosimulation/new_estimates-M…
dav-sonn Feb 19, 2026
415df8f
Cleaned up education module to use 4-category variable everywhere
Mariia-Var Feb 19, 2026
d59ce89
Merge pull request #353 from centreformicrosimulation/new_estimates-c…
Mariia-Var Feb 19, 2026
b6b6653
Add documentation figures for wiki
Hrushi281 Feb 18, 2026
e8050a1
Add GUI figures; ignore macOS/IDE files
Hrushi281 Feb 19, 2026
5f1fd44
Fixed small bugs in education variables and plotting:
Mariia-Var Feb 19, 2026
eed3fb7
stata and new training data
justin-ven Feb 20, 2026
eae8c74
Update EducationLevel in the PersonTest.java class
dav-sonn Feb 20, 2026
d436b6f
Merge pull request #354 from centreformicrosimulation/new_estimates-M…
dav-sonn Feb 20, 2026
be3a910
Update regression estimates do-files and RMSE.xlsx
dav-sonn Feb 20, 2026
932fb63
debug of importation of tax database
justin-ven Feb 20, 2026
8ccf710
Merge branch 'new_estimates' of https://github.com/centreformicrosimu…
justin-ven Feb 20, 2026
7d0e66e
Updated the buildSchedule to initiate correct processes in startYear
Mariia-Var Feb 20, 2026
c4b3487
Correct minor condition in education-related regressors
dav-sonn Feb 20, 2026
8659533
Merge pull request #355 from centreformicrosimulation/new_estimates-M…
dav-sonn Feb 20, 2026
808e830
minor update to fix bugs in data for starting population
justin-ven Feb 24, 2026
68fa970
Fix bugs in labHrsWork
dav-sonn Feb 24, 2026
db83481
Ensure age consistency in social care
dav-sonn Feb 24, 2026
cdfc208
Reintroduce correspondence in LabC4 between initial populations and m…
dav-sonn Feb 24, 2026
d41559f
Small correction in lagged partner variables
dav-sonn Feb 25, 2026
95e1bc8
Test images on Wiki page
dav-sonn Feb 25, 2026
0e69886
Revert test on Wiki page image
dav-sonn Feb 25, 2026
d3323a3
Changes in monthly employment income
dariaple Feb 26, 2026
5f78f89
Revert "Changes in monthly employment income"
dariaple Feb 26, 2026
3df7d86
Reapply "Changes in monthly employment income"
dariaple Feb 26, 2026
a6d02df
Add comment to LabourMarket.java class
dav-sonn Feb 26, 2026
0e430a7
Correct bugs in Excel files and update regressor names
dav-sonn Feb 26, 2026
85c0c30
Merge pull request #357 from centreformicrosimulation/new_estimates_D…
dav-sonn Feb 26, 2026
5a64de3
Delete validation/.DS_Store
ANBurdett Mar 2, 2026
9e25334
debug care projections
justin-ven Mar 3, 2026
630ad1f
fix problems with imputed social care out of sample
justin-ven Mar 3, 2026
d50b867
fix bugs with do files for starting populations
justin-ven Mar 4, 2026
2b8c63e
Correction of commit d41559f
dav-sonn Mar 4, 2026
7830d8d
Updated alignment details
Mariia-Var Mar 5, 2026
ebcf3a3
Add estimates with time dummies
dav-sonn Mar 5, 2026
aab42d3
Merge pull request #360 from centreformicrosimulation/new_estimates-M…
dav-sonn Mar 5, 2026
65dbe33
Add PCM estimates for partnership (and minor adjustments in health)
dav-sonn Mar 5, 2026
21021ea
Updated employment alignment targets file, employment_targets.xlsx
LiangShi369 Mar 5, 2026
fc30487
Revert PCM estimates
dav-sonn Mar 5, 2026
579499e
Merge pull request #361 from centreformicrosimulation/new_estimates_L…
dav-sonn Mar 5, 2026
1c8a364
Fixed a small bug in partnership targets
Mariia-Var Mar 5, 2026
370c17a
Fixed a small bug in partnership targets
Mariia-Var Mar 5, 2026
7d95c34
Update Statistics1 expected output
Hrushi281 Mar 5, 2026
caa3282
Revert accidental push to develop
Hrushi281 Mar 5, 2026
17ba217
Update initial setting
dav-sonn Mar 6, 2026
8280c7a
Merge pull request #363 from centreformicrosimulation/new_estimates-M…
dav-sonn Mar 6, 2026
ec907b9
Update population_initial_UK_2019.csv
dav-sonn Mar 6, 2026
e54e2a5
Reintroduce re-sampling in default settings
dav-sonn Mar 6, 2026
aab6ae3
Merge branch 'develop' into new_estimates
dav-sonn Mar 6, 2026
12472ad
Update statistics for integration tests
dav-sonn Mar 6, 2026
d1dcd11
Merge branch 'new_estimates' of https://github.com/centreformicrosimu…
dav-sonn Mar 6, 2026
311f168
Restore test_create_database.yml
dav-sonn Mar 6, 2026
1997d84
Update statistics for integration tests (from training population)
dav-sonn Mar 6, 2026
ce6de5d
Restore test_run.yml
dav-sonn Mar 6, 2026
e6f0cb2
Update SimPathsBuild.yml
dav-sonn Mar 6, 2026
3c91316
Update statistics for integration tests (from Github Artifacts)
dav-sonn Mar 6, 2026
6c10159
Update RunSimPathsIntegrationTest.java
dav-sonn Mar 6, 2026
ee8f200
Update RunSimPathsIntegrationTest.java
dav-sonn Mar 6, 2026
de28123
Update RunSimPathsIntegrationTest.java
dav-sonn Mar 6, 2026
fa430ea
Update RunSimPathsIntegrationTest.java
dav-sonn Mar 6, 2026
6429913
Update RunSimPathsIntegrationTest.java
dav-sonn Mar 6, 2026
5c6d292
Update RunSimPathsIntegrationTest.java
dav-sonn Mar 6, 2026
00fe839
Merge pull request #373 from centreformicrosimulation/new_estimates
dav-sonn Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
91 changes: 73 additions & 18 deletions .github/workflows/SimPathsBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,52 +14,107 @@ on:

jobs:
build:

runs-on: [ ubuntu-latest ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 19
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '19'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: simpaths_jars
path: ./*.jar

run-simpaths:
needs: build

run-integration-tests:
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 19
uses: actions/setup-java@v4
with:
java-version: '19'
distribution: 'temurin'
cache: maven
- name: Run integration tests
run: mvn verify
- name: Upload Actual CSVs for Inspection
if: failure() # This ensures it only runs when the tests fail
uses: actions/upload-artifact@v4
with:
name: actual-simulation-results
path: output/INTEGRATION_TESTS/csv/

run-simpaths-start:
needs: build
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 19
uses: actions/setup-java@v4
with:
java-version: '19'
distribution: 'temurin'
- uses: actions/download-artifact@v4
with:
name: simpaths_jars
path: .
- name: Do one full Setup and Run with SimPathsStart (mimicking GUI run)
run: java -jar singlerun.jar -c UK -s 2019 -g false --rewrite-policy-schedule
- name: Check input db exists
id: check_file
uses: thebinaryfelix/check-file-existence-action@1.0.0
with:
files: 'input/input.mv.db, input/EUROMODpolicySchedule.xlsx, input/DatabaseCountryYear.xlsx'

run-simpaths-persist-root:
needs: build
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 19
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '19'
distribution: 'temurin'

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: simpaths_jars
path: .

- name: Setup run
run: java -jar singlerun.jar -c UK -s 2017 -Setup -g false --rewrite-policy-schedule

run: java -jar multirun.jar -DBSetup -config test_create_database.yml
- name: Check input db exists
id: check_file
uses: thebinaryfelix/check-file-existence-action@1.0.0
with:
files: 'input/input.mv.db, input/EUROMODpolicySchedule.xlsx, input/DatabaseCountryYear.xlsx'
- name: Do two runs with persistence to root database
run: java -jar multirun.jar -config test_run.yml --persist=root

- name: Do one run
run: java -jar multirun.jar -p 20000 -s 2019 -e 2022 -r 100 -n 2 -g false
run-simpaths-no-persist:
needs: build
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 19
uses: actions/setup-java@v4
with:
java-version: '19'
distribution: 'temurin'
- uses: actions/download-artifact@v4
with:
name: simpaths_jars
path: .
- name: Setup run
run: java -jar multirun.jar -DBSetup -config test_create_database.yml
- name: Check input db exists
id: check_file
uses: thebinaryfelix/check-file-existence-action@1.0.0
with:
files: 'input/input.mv.db, input/EUROMODpolicySchedule.xlsx, input/DatabaseCountryYear.xlsx'
- name: Do two runs with no persistence
run: java -jar multirun.jar -config test_run.yml --persist=none
42 changes: 42 additions & 0 deletions .github/workflows/publish-javadoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Publish Javadoc

on:
push:
branches:
- develop # Only publish when pushing to develop branch
pull_request:
branches: [ "main", "develop" ]

jobs:
publish-javadoc:
runs-on: ubuntu-latest
permissions:
contents: write # Needed to push to the javadoc branch

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
cache: maven

- name: Build (optional if Javadoc needs compiled sources)
run: mvn -B compile --file pom.xml

- name: Generate Javadoc
run: mvn javadoc:javadoc --file pom.xml

- name: Deploy Javadoc to branch
if: github.event.push
uses: MathieuSoysal/Javadoc-publisher.yml@v3.0.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: javadoc
java-version: 19
target-folder: javadoc
project: maven

126 changes: 18 additions & 108 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -227,112 +227,22 @@ analysis/test_base_noalign.dta
analysis/test_naive_noalign.dta
analysis/test1.dta
analysis/test2.dta
input/InitialPopulations/base/population_initial_UK_2010.csv
input/InitialPopulations/base/population_initial_UK_2011.csv
input/InitialPopulations/base/population_initial_UK_2012.csv
input/InitialPopulations/base/population_initial_UK_2013.csv
input/InitialPopulations/base/population_initial_UK_2014.csv
input/InitialPopulations/base/population_initial_UK_2015.csv
input/InitialPopulations/base/population_initial_UK_2016.csv
input/InitialPopulations/base/population_initial_UK_2017.csv
input/InitialPopulations/base/population_initial_UK_2018.csv
input/InitialPopulations/base/population_initial_UK_2019.csv
input/InitialPopulations/base/population_initial_UK_2020.csv
input/InitialPopulations/base/population_initial_UK_2021.csv
.idea/dataSources.xml
input/EUROMODoutput/expanded/uk_2011_std.txt
input/EUROMODoutput/expanded/uk_2012_std.txt
input/EUROMODoutput/expanded/uk_2013_std.txt
input/EUROMODoutput/expanded/uk_2014_std.txt
input/EUROMODoutput/expanded/uk_2015_std.txt
input/EUROMODoutput/expanded/uk_2016_std.txt
input/EUROMODoutput/expanded/uk_2017_std.txt
input/EUROMODoutput/expanded/uk_2018_std.txt
input/EUROMODoutput/expanded/uk_2019_std.txt
input/EUROMODoutput/expanded/uk_2020_std.txt
input/EUROMODoutput/expanded/uk_2021_std.txt
input/EUROMODoutput/expanded/uk_2022_std.txt
input/EUROMODoutput/expanded/uk_2023_std.txt
input/EUROMODoutput/expanded/uk_2024_std.txt
input/EUROMODoutput/expanded/uk_2025_std.txt
input/EUROMODoutput/expanded/uk_2026_std.txt
input/EUROMODoutput/expanded/uk_2027_std.txt
input/EUROMODoutput/initial/uk_2011_std.txt
input/EUROMODoutput/initial/uk_2012_std.txt
input/EUROMODoutput/initial/uk_2013_std.txt
input/EUROMODoutput/initial/uk_2014_std.txt
input/EUROMODoutput/initial/uk_2015_std.txt
input/EUROMODoutput/initial/uk_2016_std.txt
input/EUROMODoutput/initial/uk_2017_std.txt
input/EUROMODoutput/initial/uk_2018_std.txt
input/EUROMODoutput/initial/uk_2019_std.txt
input/EUROMODoutput/initial/uk_2020_std.txt
input/EUROMODoutput/initial/uk_2021_std.txt
input/EUROMODoutput/initial/uk_2022_std.txt
input/EUROMODoutput/initial/uk_2023_std.txt
input/EUROMODoutput/initial/uk_2024_std.txt
input/EUROMODoutput/initial/uk_2025_std.txt
input/EUROMODoutput/initial/uk_2026_std.txt
input/EUROMODoutput/initial/uk_2027_std.txt
input/EUROMODoutput/testing/uk_2015_std.txt
input/EUROMODoutput/testing/uk_2019_std.txt
input/InitialPopulations/current/population_initial_UK_2011.csv
input/InitialPopulations/current/population_initial_UK_2012.csv
input/InitialPopulations/current/population_initial_UK_2013.csv
input/InitialPopulations/current/population_initial_UK_2014.csv
input/InitialPopulations/current/population_initial_UK_2015.csv
input/InitialPopulations/current/population_initial_UK_2016.csv
input/InitialPopulations/current/population_initial_UK_2017.csv
input/InitialPopulations/current/population_initial_UK_2018.csv
input/InitialPopulations/current/population_initial_UK_2019.csv
input/InitialPopulations/current/population_initial_UK_2020.csv
input/InitialPopulations/current/population_initial_UK_2021.csv
input/InitialPopulations/testing/population_initial_UK_2019.csv
input/EUROMODoutput/testing/uk_2015_std.txt
input/EUROMODoutput/testing/uk_2019_std.txt
input/EUROMODoutput/extended/uk_2015_std.txt
input/EUROMODoutput/extended/uk_2019_std.txt
input/EUROMODoutput/extended/uk_2020_std.txt
input/EUROMODoutput/extended/uk_2021_std.txt
input/EUROMODoutput/extended/uk_2022_std.txt
input/EUROMODoutput/extended/uk_2023_std.txt
input/EUROMODoutput/extended/uk_2024_std.txt
input/EUROMODoutput/extended/uk_2025_std.txt
input/EUROMODoutput/testing/DatabaseCountryYear.xlsx
input/EUROMODoutput/testing/EUROMODpolicySchedule.xlsx
input/EUROMODoutput/sc expanded/uk_2011_std.txt
input/EUROMODoutput/sc expanded/uk_2012_std.txt
input/EUROMODoutput/sc expanded/uk_2013_std.txt
input/EUROMODoutput/sc expanded/uk_2014_std.txt
input/EUROMODoutput/sc expanded/uk_2015_std.txt
input/EUROMODoutput/sc expanded/uk_2016_std.txt
input/EUROMODoutput/sc expanded/uk_2017_std.txt
input/EUROMODoutput/sc expanded/uk_2018_std.txt
input/EUROMODoutput/sc expanded/uk_2019_std.txt
input/EUROMODoutput/sc expanded/uk_2020_std.txt
input/EUROMODoutput/sc expanded/uk_2021_std.txt
input/EUROMODoutput/sc expanded/uk_2022_std.txt
input/EUROMODoutput/sc expanded/uk_2023_std.txt
input/EUROMODoutput/sc expanded/uk_2024_std.txt
input/EUROMODoutput/sc expanded/uk_2025_std.txt
input/EUROMODoutput/sc expanded/uk_2026_std.txt
input/EUROMODoutput/sc expanded/uk_2027_std.txt
input/EUROMODoutput/current/DatabaseCountryYear.xlsx
input/EUROMODoutput/current/EUROMODpolicySchedule.xlsx
input/EUROMODoutput/current/uk_2011_std.txt
input/EUROMODoutput/current/uk_2012_std.txt
input/EUROMODoutput/current/uk_2013_std.txt
input/EUROMODoutput/current/uk_2014_std.txt
input/EUROMODoutput/current/uk_2015_std.txt
input/EUROMODoutput/current/uk_2016_std.txt
input/EUROMODoutput/current/uk_2017_std.txt
input/EUROMODoutput/current/uk_2018_std.txt
input/EUROMODoutput/current/uk_2019_std.txt
input/EUROMODoutput/current/uk_2020_std.txt
input/EUROMODoutput/current/uk_2021_std.txt
input/EUROMODoutput/current/uk_2022_std.txt
input/EUROMODoutput/current/uk_2023_std.txt
input/EUROMODoutput/current/uk_2024_std.txt
input/EUROMODoutput/current/uk_2025_std.txt
input/EUROMODoutput/current/uk_2026_std.txt
input/EUROMODoutput/current/uk_2027_std.txt
.idea/*
*.dta
src/main/java/simpaths/data/startingpop/DataParser.new
src/main/java/simpaths/data/startingpop/DataParser.old
input/EUROMODoutput/limit/*
input/InitialPopulations/limit/*
input/InitialPopulations/baseline/*
input/EUROMODoutput/baseline/*
.Rproj.user
/input/EUROMODoutput/test
/input/InitialPopulations/test

# macOS
.DS_Store
**/.DS_Store

# IntelliJ
.idea/
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@

by Matteo Richiardi, Patryk Bronka, Justin van de Ven

## Introduction
## What is SimPaths and how to use it?

SimPaths is a family of models for individual and household life course events, all sharing common components. The framework is designed to project life histories through time, building up a detailed picture of career paths, family (inter)relations, health, and financial circumstances. The framework builds upon standardised assumptions and data sources, which facilitates adaptation to alternative countries – versions currently exist for the UK and Italy. Careful attention is paid to model validation, and sensitivity of projections to key assumptions. The modular nature of the SimPaths framework is designed to facilitate analysis of alternative assumptions concerning the tax and benefit system, sensitivity to parameter estimates and alternative approaches for projecting labour/leisure and consumption/savings decisions. Projections for a workhorse model parameterised to the UK context are reported in [Bronka, P. et al. (2023). *SimPaths: an open-source microsimulation model for life course analysis* (No. CEMPA6/23), Centre for Microsimulation and Policy Analysis at the Institute for Social and Economic Research*](https://www.microsimulation.ac.uk/publications/publication-557738/), which closely reflect observed data throughout a 10-year validation window.
SimPaths is an open-source framework for modelling individual and household life course events across multiple domains. The framework projects life histories over time, developing detailed representations of career paths, family and intergenerational relationships, health, and financial circumstances. As a family of models, SimPaths offers a dynamic simulation of how life events evolve and interact within populations.

SimPaths models currently exist for the UK, Greece, Hungary, Italy, and Poland. This page refers to the UK model; the other European models are available at the corresponding [SimPathsEU](https://github.com/centreformicrosimulation/SimPathsEU) page.

The entire SimPaths documentation is available on its [WikiPage](https://github.com/centreformicrosimulation/SimPaths/wiki), which includes: a detailed description of its building blocks; instructions on how to set up and run the model; information about contributing to the model's development.

<!-- Projections for a workhorse model parameterised to the UK context are reported in [Bronka, P. et al. (2023). *SimPaths: an open-source microsimulation model for life course analysis* (No. CEMPA6/23), Centre for Microsimulation and Policy Analysis at the Institute for Social and Economic Research*](https://www.microsimulation.ac.uk/publications/publication-557738/), which closely reflect observed data throughout a 10-year validation window. -->


<!--
## Getting Started

To contribute to this project, you need to fork the repository and set up your development environment.
Expand Down Expand Up @@ -56,7 +64,7 @@ To run the SimPathsStart setup phases and set up a population for subsequent mul
- `-c` Country ['UK' or 'IT']
- `-s` Start year
- `-g` [true/false] show/hide gui
- `-r` Re-write policy schedule from detected policy files
- `--rewrite-policy-schedule` Re-write policy schedule from detected policy files
- `-Setup` do setup phases (creating input populations database) only

e.g.
Expand Down Expand Up @@ -109,3 +117,4 @@ In our open-source project, we follow a clear and consistent branch naming conve
- `docs/documentation-topic`: Prefix documentation branches with `docs` for updating or creating documentation. For example, `docs/update-readme`.

These branch naming conventions are designed to make it easy for our contributors to understand the purpose of each branch and maintain consistency within our repository. Please adhere to these conventions when creating branches for your contributions.
-->
Loading