Skip to content

Commit

Permalink
Update values for 2025
Browse files Browse the repository at this point in the history
Adjust the affordability ration from 0.49 to 0.44 to keep the totaly
salary expense stable, with a slight increase for most Niteans.

Rewrite from Selenium to Playwright.

Also, fix a bug to support countries that have a cost of living
*higher* than the United States.

Refs teamniteo/ops#2380
  • Loading branch information
zupo committed Jan 13, 2025
1 parent 08bbdae commit 3b488a1
Show file tree
Hide file tree
Showing 11 changed files with 396 additions and 510 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ elm-stuff/
node_modules
repl-temp-*
.direnv/
geckodriver.log
yarn-error.log
.parcel-cache/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ run:
# Fetch salaries, location factors and currencies from the Internet
.PHONY: config
config:
@python3.11 scripts/fetch_config_values.py
@PWDEBUG=1 python3.11 scripts/fetch_config_values.py
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ Additionally, to not have to remember to run `nix-shell` you can install `http:/

It will also run tests (with coverage analysis) and linters.

### Preparing for new year

1. Run `make config` to update the base salaries and location factors.
1. Run `make dist` to build the new version of the Salary Calculator.
1. Staging: Go to JSFiddle and paste `dist/index.html` into HTML section, `dist/index.js` into JS section and click `Run`.

### Contributing

Thanks for your interest in our project. We are open to learn about any issues and for your pull requests.
Loading

0 comments on commit 3b488a1

Please sign in to comment.