Skip to content

Commit 03a41c5

Browse files
committed
Merge branch 'experiment-bias-fairness' into feature/api-inference-support
2 parents edb84f3 + 94a1088 commit 03a41c5

File tree

660 files changed

+65923
-18164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

660 files changed

+65923
-18164
lines changed

.claude/settings.local.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

.env.dev

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ BACKEND_PORT=3000
44
BACKEND_URL=http://localhost:3000
55
FRONTEND_PORT=8082
66
FRONTEND_URL=http://localhost:8082
7-
ALLOWED_ORIGINS=["http://localhost:5173", "http://localhost:8082"]
7+
ALLOWED_ORIGINS=["http://localhost:5173", "http://localhost:8082", "http://localhost:3000"]
88
BIAS_AND_FAIRNESS_PORT=8000
99
NODE_ENV=development
1010

@@ -29,3 +29,7 @@ REFRESH_TOKEN_SECRET=e628d7938c76308774cecf87dcb9bee6b8cae80ed2d20731ef94e211cf9
2929
3030
# Your password from: https://myaccount.google.com/apppasswords
3131
EMAIL_PASSWORD="aaaa bbbb cccc dddd"
32+
33+
# Encryption Settings
34+
ENCRYPTION_ALGORITHM=YOUR_ENCRYPTION_ALGORITHM
35+
ENCRYPTION_PASSWORD=YOUR_ENCRYPTION_PASSWORD

.env.prod

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ BACKEND_PORT=3000
44
BACKEND_URL=http://localhost:3000 # localhost needs to be replaced by ip
55
FRONTEND_PORT=8080
66
FRONTEND_URL=http://localhost:8080 # localhost needs to be replaced by ip
7-
ALLOWED_ORIGINS=["http://localhost:5173", "http://localhost:8080"] # localhost needs to be replaced by ip
7+
ALLOWED_ORIGINS=["http://localhost:5173", "http://localhost:8080", "http://localhost:3000"] # localhost needs to be replaced by ip
88
BIAS_AND_FAIRNESS_PORT=8000
99
NODE_ENV=production
1010
# NOTE: Please do not change this unless the database is hosted on a different server and you want to use SSL for the connection
@@ -31,3 +31,7 @@ REFRESH_TOKEN_SECRET=e628d7938c76308774cecf87dcb9bee6b8cae80ed2d20731ef94e211cf9
3131
3232
# Your password from: https://myaccount.google.com/apppasswords
3333
EMAIL_PASSWORD="aaaa bbbb cccc dddd"
34+
35+
# Encryption Settings
36+
ENCRYPTION_ALGORITHM=YOUR_ENCRYPTION_ALGORITHM
37+
ENCRYPTION_PASSWORD=YOUR_ENCRYPTION_PASSWORD

.gitignore

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ express.log
1414
fastapi.log
1515
react.log
1616
.idea/
17-
18-
# TS build info
19-
*.tsbuildinfo
20-
Clients/*.tsbuildinfo
17+
.claude
18+
.github
19+
.kombai
20+
.vscode
21+
agent.md
22+
agent-output.md

.vscode/launch.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.vscode/prompts.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

BiasAndFairnessModule/check_environment.py

Lines changed: 0 additions & 143 deletions
This file was deleted.

BiasAndFairnessModule/configs/config.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ dataset:
99
- "race"
1010
target_column: "income"
1111
sampling:
12-
enabled: false
13-
n_samples: 500 # Number of samples to use for quick experiments
12+
enabled: true
13+
n_samples: 50
1414
random_seed: 42
1515

1616
# Post-processing Configuration
@@ -58,15 +58,12 @@ prompting:
5858

5959
# Metrics Configuration
6060
metrics:
61-
# Fairness metrics for evaluation
6261
fairness:
6362
enabled: true
6463
metrics:
6564
- "demographic_parity"
6665
- "equalized_odds"
6766
- "predictive_parity"
68-
69-
# Performance metrics
7067
performance:
7168
enabled: false
7269
metrics:

0 commit comments

Comments
 (0)