Skip to content

Commit cc9237c

Browse files
authored
Merge pull request #2799 from bluewave-labs/develop
Merging Develop into Master - Dec 2nd, 2025
2 parents 0402c44 + 7de4571 commit cc9237c

File tree

463 files changed

+69869
-6417
lines changed

Some content is hidden

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

463 files changed

+69869
-6417
lines changed

.env.dev

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# NOTE: Please do not change the BACKEND_PORT
33
BACKEND_PORT=3000
44
BACKEND_URL=http://localhost:3000
5-
FRONTEND_PORT=8082
6-
FRONTEND_URL=http://localhost:8082
7-
ALLOWED_ORIGINS=["http://localhost:5173", "http://localhost:8082", "http://localhost:3000"]
5+
FRONTEND_PORT=5173
6+
FRONTEND_URL=http://localhost:5173
7+
HOST=localhost
88
BIAS_AND_FAIRNESS_PORT=8000
99
NODE_ENV=development
1010

.env.prod

Lines changed: 1 addition & 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", "http://localhost:3000"] # localhost needs to be replaced by ip
7+
HOST=localhost
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

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ agent-output.md
2525
FILE_MANAGER_WORKFLOW.md
2626
SYSTEM_DESIGN_FILE_MANAGER.md
2727
SYSTEM_DESIGN_EMAIL_NOTIFICATION.md
28-
FILE_STORAGE_ARCHITECTURE.md
28+
FILE_STORAGE_ARCHITECTURE.md
29+
Authentication_Authorization_Workflow_Documentation.md

BiasAndFairnessModule/run_full_evaluation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def _run_metric(metric_name: str, y_true: np.ndarray, y_pred: np.ndarray,
252252
race_value = convert_metric_to_float(race_result, metric_name)
253253
all_results[f"{metric_name}_race"] = race_value
254254

255-
print(f" ✅ {metric_name}: sex={sex_value:.4f}, race={race_value:.4f}")
255+
print(f" ✅ {metric_name}: computed for sex and race (values not logged for privacy)")
256256

257257
except Exception as e:
258258
print(f" ❌ {metric_name}: Error - {str(e)}")
@@ -388,7 +388,7 @@ def _print_pipeline_summary(comprehensive_results: dict, clean_results: dict):
388388
if fairness_values:
389389
max_disparity_sex = max(fairness_values.values())
390390
max_metric_sex = max(fairness_values, key=fairness_values.get)
391-
print(f" Highest sex-based disparity: {max_metric_sex} = {max_disparity_sex:.4f}")
391+
print(f" Sex-based disparities detected. (Metric name and value omitted for privacy.)")
392392

393393
fairness_values_race = {k: v for k, v in comprehensive_results['fairness_metrics'].items()
394394
if v is not None and 'race' in k}

BiasAndFairnessModule/src/eval_engine/results_summarizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def summarize_results(results_path: str = 'artifacts/evaluation_results.json') -
6060
eo_sex = results['fairness']['equalized_odds_sex']
6161
eo_race = results['fairness']['equalized_odds_race']
6262

63-
print(f" Equalized Odds (Sex): {eo_sex:.3f}")
63+
print(" Equalized Odds (Sex): See assessment below")
6464
if abs(eo_sex) < 0.1:
6565
print(" ✅ Good: Similar true positive and false positive rates")
6666
elif abs(eo_sex) < 0.2:

0 commit comments

Comments
 (0)