aimodelshare 0.3.62__tar.gz → 0.5.23__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aimodelshare-0.5.23/.github/workflows/build_model_cache.yml +77 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/deploy_gradio_apps.yml +397 -18
- aimodelshare-0.5.23/.github/workflows/deploy_single_apps.yml +154 -0
- aimodelshare-0.5.23/.github/workflows/test_cache_preds.yml +53 -0
- aimodelshare-0.5.23/Dockerfile +69 -0
- {aimodelshare-0.3.62/aimodelshare.egg-info → aimodelshare-0.5.23}/PKG-INFO +1 -1
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/model.py +2 -2
- aimodelshare-0.5.23/aimodelshare/moral_compass/__init__.py +174 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/__init__.py +33 -11
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/bias_detective_ca.py +2778 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/bias_detective_en.py +2773 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/bias_detective_es.py +2778 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/ethical_revelation.py +5 -5
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/fairness_fixer_ca.py +1877 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/fairness_fixer_en.py +1872 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/fairness_fixer_es.py +1877 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/justice_equity_upgrade.py +815 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/justice_equity_upgrade_ca.py +824 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/justice_equity_upgrade_en.py +887 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/justice_equity_upgrade_es.py +824 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/model_building_app_ca.py +3714 -0
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/model_building_app_ca_final.py +3559 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/model_building_app_en.py +513 -921
- aimodelshare-0.3.62/aimodelshare/moral_compass/apps/model_building_app_es.py → aimodelshare-0.5.23/aimodelshare/moral_compass/apps/model_building_app_en_final.py +469 -1306
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/model_building_app_es.py +3715 -0
- aimodelshare-0.3.62/aimodelshare/moral_compass/apps/model_building_app_ca.py → aimodelshare-0.5.23/aimodelshare/moral_compass/apps/model_building_app_es_final.py +302 -836
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/model_building_game.py +607 -562
- aimodelshare-0.5.23/aimodelshare/moral_compass/apps/team_name_i18n.py +98 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23/aimodelshare.egg-info}/PKG-INFO +1 -1
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare.egg-info/SOURCES.txt +20 -0
- aimodelshare-0.5.23/convert_db.py +44 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/lambda/app.py +60 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/main.tf +6 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/launch_entrypoint.py +69 -48
- aimodelshare-0.5.23/precompute_cache.py +229 -0
- aimodelshare-0.5.23/tests/test_team_name_i18n.py +286 -0
- aimodelshare-0.5.23/tests/verify_cache_integrity.py +156 -0
- aimodelshare-0.3.62/Dockerfile +0 -23
- aimodelshare-0.3.62/aimodelshare/moral_compass/__init__.py +0 -75
- aimodelshare-0.3.62/aimodelshare/moral_compass/apps/justice_equity_upgrade.py +0 -853
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/ai_lead_engineer_app_test.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/aimodelshare-tests.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/bootstrap-terraform.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/cleanup-test-resources.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/deploy-infra.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/destroy-infra.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/gradio-session-login-integration.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/kpi-dict-submissioncount-integration.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/mc-comprehensive-integration-test.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/mc-rank-integration-test.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/mc_auth_debug.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/moral_compass_auth_test.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/playground-integration-tests.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/publish-lambda-layers.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/pypi-manual-publish.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/sessionid-kpi-workflow.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/test-colab-install.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/test-colab-simulated.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/unit-tests.yml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.gitignore +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/ACTIVITIES_7_8_9_IMPLEMENTATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_AUTH_UPDATE.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_ENHANCEMENTS.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_RANK_FIX_SUMMARY.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_TASK_TRACKING.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_TRANSITIONS_IMPLEMENTATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_V2_IMPLEMENTATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/CHANGES_SUMMARY.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/CLEANUP_RESOURCES.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/CLOUD_RUN_DEPLOYMENT.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/CODE_REVIEW.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/COMPLETED_TASK_IDS_IMPLEMENTATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/GRADIO_APPS_IMPLEMENTATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_ACTIVITIES_7_8_9.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_DIAGNOSTICS.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_READINESS_GATING.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_REGION_AWARE.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_UX_ENHANCEMENTS.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/INTEGRATION_TEST_IMPLEMENTATION_SUMMARY.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/KPI_IMPROVEMENTS_SUMMARY.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/LICENSE +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MANIFEST.in +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/METADATA_FIX_DOCUMENTATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MODEL_BUILDING_GAME_REFACTOR_PLAN.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MODEL_IMPROVEMENT_APPS_FIX.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MODERNIZATION_SUMMARY.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MORAL_COMPASS_INTEGRATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/NAVIGATION_FIX_SUMMARY.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/PLAYGROUND_TEST_ISOLATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/PREPROCESSOR_DIAGNOSTICS.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/PR_SUMMARY.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/README.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/RESTORE_V0164_PR_DESCRIPTION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/TEAM_PERSISTENCE_IMPLEMENTATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/TEST_MODE_DOCUMENTATION.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/README.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/aimsonnx.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/api.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/auth.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/aws.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/aws_client.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/base_image.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/bucketpolicy.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/color_mappings/color_mapping_keras.csv +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/color_mappings/color_mapping_pytorch.csv +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerisation.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization_templates/Dockerfile.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization_templates/Dockerfile_PySpark.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization_templates/buildspec.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization_templates/lambda_function.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/custom_approach/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/custom_approach/lambda_function.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/custom_eval_metrics.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/Dockerfile.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/buildspec.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/codebuild_policies.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/codebuild_trust_relationship.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/download_data.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/share_data.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/utils.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/deploy_custom_lambda.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/Makefile +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/_version.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/breadcrumbs.html +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/layout.html +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/search.html +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/searchbox.html +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css.map +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css.map +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css.map +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.eot +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.svg +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.ttf +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff2 +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/js/theme.js +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/theme.conf +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/make.bat +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/requirements.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/about.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/advanced_features.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/competition.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/conf.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/create_credentials.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/example_notebooks.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/functions.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/gettingstarted.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds1.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds2.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds3.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds4.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds5.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds_file_example.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/predict_tab.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/index.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/modelplayground.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/exceptions.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/generatemodelapi.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/iam/codebuild_policy.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/iam/codebuild_trust_relationship.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/iam/lambda_policy.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/iam/lambda_trust_relationship.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/api_json.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/auth/policy.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/auth/role.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/eval/policy.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/eval/role.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/function/policy.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/function/role.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/integration_response.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/lambda_policy_1.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/lambda_policy_2.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/lambda_role_1.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/lambda_role_2.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/leaderboard.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/1.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/1B.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/2.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/3.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/4.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/5.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/6.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/7.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/8.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/authorization.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/eval_classification.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/eval_lambda.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/eval_regression.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/lambda_function.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/nst.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/modeluser.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/README.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/_version.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/api_client.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/ai_consequences.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/bias_detective_part1.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/bias_detective_part2.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/fairness_fixer.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/judge.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/mc_integration_helpers.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/model_building_game_beginner.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/moral_compass_challenge.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/session_auth.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/shared_activity_styles.css +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/tutorial.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/what_is_ai.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/challenge.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/config.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/placeholders/model.onnx +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/placeholders/preprocessor.zip +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/playground.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/postprocessormodules.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/preprocessormodules.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/1.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/1B.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/2.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/3.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/4.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/5.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/6.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/7.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/8.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/authorization.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/eval_classification.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/eval_lambda.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/eval_regression.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/lambda_function.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/nst.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/python/my_preprocessor.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/readme.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/reproducibility.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/Dockerfile.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/Dockerfile_PySpark.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/buildspec.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/codebuild_policies.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/codebuild_trust_relationship.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/codepipeline_policies.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/codepipeline_trust_relationship.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/spark-class.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/template.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/tools.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/utils/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/utils/optional_deps.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/utils.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare.egg-info/dependency_links.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare.egg-info/requires.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare.egg-info/top_level.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/docs/DEPRECATION_PLAN.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/docs/REGION_AWARE_NAMING.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/docs/aimodshare_banner.jpg +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/docs/justice_equity_challenge_example.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/README.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/ROLLOUT_GUIDE.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/bootstrap/README.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/bootstrap/main.tf +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/bootstrap/outputs.tf +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/bootstrap/variables.tf +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/lambda-layer-bucket/README.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/lambda-layer-bucket/main.tf +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/layer/build_layer.sh +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/layer/requirements.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/outputs.tf +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/terraform.tfvars +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/variables.tf +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/meta.yaml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/minimal_session_auth_demo.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/00_Justice_Challenge_Landing.ipynb +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/Etica_en_Joc_Justice_Challenge (7).ipynb +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/Etica_en_Joc_Justice_Challenge.ipynb +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/Etica_en_Joc_Justice_Challenge_nightly.ipynb +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/aimodelshare_colab_smoke.ipynb +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/compas_playground_multiframework.ipynb +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/moral_compass_model_submissions_and_challenge_progress.ipynb +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/moral_compass_playground_setup.ipynb +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/notebooks_compas_playground_multiframework.ipynb +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/pyproject.toml +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/requirements-apps.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/requirements-auth.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/requirements-eval.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/requirements.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/cache_terraform_outputs.sh +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/cleanup_test_resources.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/demo_moral_compass_metrics.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/mc_rank_integration_test.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/run_moral_compass_integration_test.sh +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/verify_api_reachable.sh +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/setup.cfg +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/setup.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/about.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/advanced_features.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/competition.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/conf.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/create_credentials.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/example_notebooks.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/functions.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/gettingstarted.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds1.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds2.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds3.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds4.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds5.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds_file_example.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/predict_tab.png +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/index.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/modelplayground.rst +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/test_bias_detective_with_session.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/MORAL_COMPASS_INTEGRATION_TEST_README.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/MORAL_COMPASS_TEST_COVERAGE.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/QUICK_START_INTEGRATION_TEST.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/README.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/example_run_integration_test.sh +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/load_mixed_duration.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/load_multi_table.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/load_single_table.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/requirements.txt +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_aimsonnx.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_api_integration.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_api_pagination.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_auth.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_combined_score.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_enhancements.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_parts.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_rank_integration.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_task_tracking.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_test_mode.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_cleanup_script.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_kpi_dict_unhashable_integration.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_kpi_improvements.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_kpi_updates_on_second_submission.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_launch_entrypoint.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_model_building_game_conclusion.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_model_building_game_enhancements.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_model_building_game_readiness_gating.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_model_building_game_slider_fix.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_apps.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_auth.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_auth_create_table.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_client_minimal.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_comprehensive_integration.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_dynamic_metrics.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_unit.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_ai_lead_engineer_app.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_compas_multiframework.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_compas_multiframework_short.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_keras_model_types.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_model_types.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_moral_compass_challenge.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_torch_model_types.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playgrounds_nodataimport.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_region_aware_naming.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_session_auto_login.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_sessionid_kpi_integration.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_submission_count_updates.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_team_assignment.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_token_authentication.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/DEBUGGING_GUIDE.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/README.md +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/__init__.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/run_tests.sh +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_bucket_setup.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_credentials.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_data_preprocessing.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_eval_metrics_smoke.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_model_helpers.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_model_training.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_modernization.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_playground_init.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_playground_operations.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_preprocessor_diagnostics.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_preprocessor_validation.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_setup_sanity.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_submit_model_returns.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_transformer_preprocessor.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_utils_imports.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/validate_modernization.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/verify_enhancements.py +0 -0
- {aimodelshare-0.3.62 → aimodelshare-0.5.23}/verify_preprocessor_diagnostics.py +0 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
name: Build Prediction Cache Artifact (Resumable)
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: read
|
|
8
|
+
actions: read # Required to list/download artifacts
|
|
9
|
+
checks: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build-cache-chunk:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
timeout-minutes: 60
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout Code
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- name: Set up Python
|
|
20
|
+
uses: actions/setup-python@v4
|
|
21
|
+
with:
|
|
22
|
+
python-version: '3.12'
|
|
23
|
+
cache: 'pip'
|
|
24
|
+
|
|
25
|
+
- name: Install Dependencies
|
|
26
|
+
run: pip install pandas numpy scikit-learn joblib
|
|
27
|
+
|
|
28
|
+
# --------------------------------------------------------
|
|
29
|
+
# FIX APPLIED HERE:
|
|
30
|
+
# 1. Removed 'workflow: build-cache.yml' (Auto-detects current workflow)
|
|
31
|
+
# 2. Kept 'workflow_conclusion: ""' (Accepts Cancelled/Failed runs)
|
|
32
|
+
# --------------------------------------------------------
|
|
33
|
+
- name: Restore Checkpoint
|
|
34
|
+
uses: dawidd6/action-download-artifact@v6
|
|
35
|
+
with:
|
|
36
|
+
name: cache-checkpoint
|
|
37
|
+
path: .
|
|
38
|
+
search_artifacts: true
|
|
39
|
+
workflow_conclusion: ""
|
|
40
|
+
if_no_artifact_found: warn
|
|
41
|
+
continue-on-error: true
|
|
42
|
+
|
|
43
|
+
# Debug: Verify the file arrived
|
|
44
|
+
- name: Debug Checkpoint
|
|
45
|
+
run: |
|
|
46
|
+
if [ -f "cache_checkpoint.jsonl" ]; then
|
|
47
|
+
echo "✅ SUCCESS: Checkpoint found!"
|
|
48
|
+
ls -lh cache_checkpoint.jsonl
|
|
49
|
+
else
|
|
50
|
+
echo "⚠️ NOTE: No checkpoint found. If this is the FIRST run, this is normal."
|
|
51
|
+
echo "If this is the SECOND run, something is wrong."
|
|
52
|
+
fi
|
|
53
|
+
|
|
54
|
+
# 2. Run the script
|
|
55
|
+
- name: Run Compute Chunk
|
|
56
|
+
run: |
|
|
57
|
+
export OMP_NUM_THREADS=1
|
|
58
|
+
export OPENBLAS_NUM_THREADS=1
|
|
59
|
+
python precompute_cache.py
|
|
60
|
+
|
|
61
|
+
# 3. Save Checkpoint (Runs even if timeout occurs)
|
|
62
|
+
- name: Save Checkpoint
|
|
63
|
+
if: always()
|
|
64
|
+
uses: actions/upload-artifact@v4
|
|
65
|
+
with:
|
|
66
|
+
name: cache-checkpoint
|
|
67
|
+
path: cache_checkpoint.jsonl
|
|
68
|
+
retention-days: 5
|
|
69
|
+
|
|
70
|
+
# 4. Save Final Result (Only if the script finishes 100%)
|
|
71
|
+
- name: Save Final Artifact
|
|
72
|
+
if: hashFiles('prediction_cache.json.gz') != ''
|
|
73
|
+
uses: actions/upload-artifact@v4
|
|
74
|
+
with:
|
|
75
|
+
name: prediction-cache-file
|
|
76
|
+
path: prediction_cache.json.gz
|
|
77
|
+
retention-days: 90
|
|
@@ -10,7 +10,7 @@ env:
|
|
|
10
10
|
|
|
11
11
|
jobs:
|
|
12
12
|
# ------------------------------------------------------------
|
|
13
|
-
# Build the universal image
|
|
13
|
+
# Build the universal image
|
|
14
14
|
# ------------------------------------------------------------
|
|
15
15
|
build-and-push:
|
|
16
16
|
runs-on: ubuntu-latest
|
|
@@ -20,6 +20,16 @@ jobs:
|
|
|
20
20
|
- name: Checkout Code
|
|
21
21
|
uses: actions/checkout@v4
|
|
22
22
|
|
|
23
|
+
# --- NEW STEP: Download the pre-computed cache ---
|
|
24
|
+
- name: Download Prediction Cache
|
|
25
|
+
uses: dawidd6/action-download-artifact@v6
|
|
26
|
+
with:
|
|
27
|
+
workflow: build_model_cache.yml
|
|
28
|
+
name: prediction-cache-file
|
|
29
|
+
path: .
|
|
30
|
+
search_artifacts: true
|
|
31
|
+
if_no_artifact_found: warn
|
|
32
|
+
|
|
23
33
|
- id: auth
|
|
24
34
|
name: Authenticate to Google Cloud
|
|
25
35
|
uses: google-github-actions/auth@v2
|
|
@@ -36,6 +46,11 @@ jobs:
|
|
|
36
46
|
run: |
|
|
37
47
|
IMAGE="${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}"
|
|
38
48
|
echo "Building image: $IMAGE"
|
|
49
|
+
if [ -f "prediction_cache.json.gz" ]; then
|
|
50
|
+
echo "✅ Cache file found! Embedding into Docker image."
|
|
51
|
+
else
|
|
52
|
+
echo "⚠️ Cache file NOT found. App will run in slow training mode."
|
|
53
|
+
fi
|
|
39
54
|
docker build --pull -t "$IMAGE" .
|
|
40
55
|
docker push "$IMAGE"
|
|
41
56
|
echo "IMAGE=$IMAGE" >> $GITHUB_ENV
|
|
@@ -177,15 +192,15 @@ jobs:
|
|
|
177
192
|
region: ${{ env.REGION }}
|
|
178
193
|
flags: >-
|
|
179
194
|
--allow-unauthenticated
|
|
180
|
-
--memory=
|
|
195
|
+
--memory=4Gi
|
|
181
196
|
--cpu=2
|
|
182
197
|
--session-affinity
|
|
183
|
-
--concurrency=
|
|
198
|
+
--concurrency=40
|
|
184
199
|
--min-instances=0
|
|
185
|
-
--max-instances=
|
|
200
|
+
--max-instances=100
|
|
186
201
|
--timeout=3000
|
|
187
|
-
--set-env-vars=APP_NAME=model-building-game-en,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
188
|
-
|
|
202
|
+
--set-env-vars=APP_NAME=model-building-game-en,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1,DEBUG_LOG=true
|
|
203
|
+
|
|
189
204
|
deploy-model-building-game-ca:
|
|
190
205
|
runs-on: ubuntu-latest
|
|
191
206
|
needs: build-and-push
|
|
@@ -205,15 +220,15 @@ jobs:
|
|
|
205
220
|
region: ${{ env.REGION }}
|
|
206
221
|
flags: >-
|
|
207
222
|
--allow-unauthenticated
|
|
208
|
-
--memory=
|
|
223
|
+
--memory=4Gi
|
|
209
224
|
--cpu=2
|
|
210
225
|
--session-affinity
|
|
211
|
-
--concurrency=
|
|
226
|
+
--concurrency=40
|
|
212
227
|
--min-instances=0
|
|
213
|
-
--max-instances=
|
|
228
|
+
--max-instances=100
|
|
214
229
|
--timeout=3000
|
|
215
|
-
--set-env-vars=APP_NAME=model-building-game-ca,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
216
|
-
|
|
230
|
+
--set-env-vars=APP_NAME=model-building-game-ca,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1,DEBUG_LOG=true
|
|
231
|
+
|
|
217
232
|
deploy-model-building-game-es:
|
|
218
233
|
runs-on: ubuntu-latest
|
|
219
234
|
needs: build-and-push
|
|
@@ -233,14 +248,99 @@ jobs:
|
|
|
233
248
|
region: ${{ env.REGION }}
|
|
234
249
|
flags: >-
|
|
235
250
|
--allow-unauthenticated
|
|
236
|
-
--memory=
|
|
251
|
+
--memory=4Gi
|
|
237
252
|
--cpu=2
|
|
238
253
|
--session-affinity
|
|
239
|
-
--concurrency=
|
|
254
|
+
--concurrency=40
|
|
240
255
|
--min-instances=0
|
|
241
|
-
--max-instances=
|
|
256
|
+
--max-instances=100
|
|
257
|
+
--timeout=3000
|
|
258
|
+
--set-env-vars=APP_NAME=model-building-game-es,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1,DEBUG_LOG=true
|
|
259
|
+
|
|
260
|
+
# Final variants for EN, ES, CA
|
|
261
|
+
deploy-model-building-game-en-final:
|
|
262
|
+
runs-on: ubuntu-latest
|
|
263
|
+
needs: build-and-push
|
|
264
|
+
outputs:
|
|
265
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
266
|
+
steps:
|
|
267
|
+
- uses: google-github-actions/auth@v2
|
|
268
|
+
with:
|
|
269
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
270
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
271
|
+
- name: Deploy model-building-game-en-final
|
|
272
|
+
id: deploy
|
|
273
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
274
|
+
with:
|
|
275
|
+
service: model-building-game-en-final
|
|
276
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
277
|
+
region: ${{ env.REGION }}
|
|
278
|
+
flags: >-
|
|
279
|
+
--allow-unauthenticated
|
|
280
|
+
--memory=4Gi
|
|
281
|
+
--cpu=2
|
|
282
|
+
--session-affinity
|
|
283
|
+
--concurrency=40
|
|
284
|
+
--min-instances=0
|
|
285
|
+
--max-instances=100
|
|
286
|
+
--timeout=3000
|
|
287
|
+
--set-env-vars=APP_NAME=model-building-game-en-final,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1,DEBUG_LOG=true
|
|
288
|
+
|
|
289
|
+
deploy-model-building-game-es-final:
|
|
290
|
+
runs-on: ubuntu-latest
|
|
291
|
+
needs: build-and-push
|
|
292
|
+
outputs:
|
|
293
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
294
|
+
steps:
|
|
295
|
+
- uses: google-github-actions/auth@v2
|
|
296
|
+
with:
|
|
297
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
298
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
299
|
+
- name: Deploy model-building-game-es-final
|
|
300
|
+
id: deploy
|
|
301
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
302
|
+
with:
|
|
303
|
+
service: model-building-game-es-final
|
|
304
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
305
|
+
region: ${{ env.REGION }}
|
|
306
|
+
flags: >-
|
|
307
|
+
--allow-unauthenticated
|
|
308
|
+
--memory=4Gi
|
|
309
|
+
--cpu=2
|
|
310
|
+
--session-affinity
|
|
311
|
+
--concurrency=40
|
|
312
|
+
--min-instances=0
|
|
313
|
+
--max-instances=100
|
|
314
|
+
--timeout=3000
|
|
315
|
+
--set-env-vars=APP_NAME=model-building-game-es-final,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1,DEBUG_LOG=true
|
|
316
|
+
|
|
317
|
+
deploy-model-building-game-ca-final:
|
|
318
|
+
runs-on: ubuntu-latest
|
|
319
|
+
needs: build-and-push
|
|
320
|
+
outputs:
|
|
321
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
322
|
+
steps:
|
|
323
|
+
- uses: google-github-actions/auth@v2
|
|
324
|
+
with:
|
|
325
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
326
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
327
|
+
- name: Deploy model-building-game-ca-final
|
|
328
|
+
id: deploy
|
|
329
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
330
|
+
with:
|
|
331
|
+
service: model-building-game-ca-final
|
|
332
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
333
|
+
region: ${{ env.REGION }}
|
|
334
|
+
flags: >-
|
|
335
|
+
--allow-unauthenticated
|
|
336
|
+
--memory=4Gi
|
|
337
|
+
--cpu=2
|
|
338
|
+
--session-affinity
|
|
339
|
+
--concurrency=40
|
|
340
|
+
--min-instances=0
|
|
341
|
+
--max-instances=100
|
|
242
342
|
--timeout=3000
|
|
243
|
-
--set-env-vars=APP_NAME=model-building-game-
|
|
343
|
+
--set-env-vars=APP_NAME=model-building-game-ca-final,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1,DEBUG_LOG=true
|
|
244
344
|
|
|
245
345
|
deploy-ethical-revelation:
|
|
246
346
|
runs-on: ubuntu-latest
|
|
@@ -298,7 +398,7 @@ jobs:
|
|
|
298
398
|
--timeout=3000
|
|
299
399
|
--set-env-vars=APP_NAME=moral-compass-challenge,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
300
400
|
|
|
301
|
-
#
|
|
401
|
+
# Bias Detective split apps
|
|
302
402
|
deploy-bias-detective-part1:
|
|
303
403
|
runs-on: ubuntu-latest
|
|
304
404
|
needs: build-and-push
|
|
@@ -327,7 +427,6 @@ jobs:
|
|
|
327
427
|
--timeout=3000
|
|
328
428
|
--set-env-vars=APP_NAME=bias-detective-part1,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
329
429
|
|
|
330
|
-
# New deploy job for bias-detective part2 (temporary placeholder app)
|
|
331
430
|
deploy-bias-detective-part2:
|
|
332
431
|
runs-on: ubuntu-latest
|
|
333
432
|
needs: build-and-push
|
|
@@ -356,6 +455,92 @@ jobs:
|
|
|
356
455
|
--timeout=3000
|
|
357
456
|
--set-env-vars=APP_NAME=bias-detective-part2,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
358
457
|
|
|
458
|
+
# Language-specific Bias Detective variants
|
|
459
|
+
deploy-bias-detective-en:
|
|
460
|
+
runs-on: ubuntu-latest
|
|
461
|
+
needs: build-and-push
|
|
462
|
+
outputs:
|
|
463
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
464
|
+
steps:
|
|
465
|
+
- uses: google-github-actions/auth@v2
|
|
466
|
+
with:
|
|
467
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
468
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
469
|
+
- name: Deploy bias-detective-en
|
|
470
|
+
id: deploy
|
|
471
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
472
|
+
with:
|
|
473
|
+
service: bias-detective-en
|
|
474
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
475
|
+
region: ${{ env.REGION }}
|
|
476
|
+
flags: >-
|
|
477
|
+
--allow-unauthenticated
|
|
478
|
+
--memory=2Gi
|
|
479
|
+
--cpu=2
|
|
480
|
+
--session-affinity
|
|
481
|
+
--concurrency=20
|
|
482
|
+
--min-instances=0
|
|
483
|
+
--max-instances=50
|
|
484
|
+
--timeout=3000
|
|
485
|
+
--set-env-vars=APP_NAME=bias-detective-en,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
486
|
+
|
|
487
|
+
deploy-bias-detective-es:
|
|
488
|
+
runs-on: ubuntu-latest
|
|
489
|
+
needs: build-and-push
|
|
490
|
+
outputs:
|
|
491
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
492
|
+
steps:
|
|
493
|
+
- uses: google-github-actions/auth@v2
|
|
494
|
+
with:
|
|
495
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
496
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
497
|
+
- name: Deploy bias-detective-es
|
|
498
|
+
id: deploy
|
|
499
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
500
|
+
with:
|
|
501
|
+
service: bias-detective-es
|
|
502
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
503
|
+
region: ${{ env.REGION }}
|
|
504
|
+
flags: >-
|
|
505
|
+
--allow-unauthenticated
|
|
506
|
+
--memory=2Gi
|
|
507
|
+
--cpu=2
|
|
508
|
+
--session-affinity
|
|
509
|
+
--concurrency=20
|
|
510
|
+
--min-instances=0
|
|
511
|
+
--max-instances=50
|
|
512
|
+
--timeout=3000
|
|
513
|
+
--set-env-vars=APP_NAME=bias-detective-es,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
514
|
+
|
|
515
|
+
deploy-bias-detective-ca:
|
|
516
|
+
runs-on: ubuntu-latest
|
|
517
|
+
needs: build-and-push
|
|
518
|
+
outputs:
|
|
519
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
520
|
+
steps:
|
|
521
|
+
- uses: google-github-actions/auth@v2
|
|
522
|
+
with:
|
|
523
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
524
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
525
|
+
- name: Deploy bias-detective-ca
|
|
526
|
+
id: deploy
|
|
527
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
528
|
+
with:
|
|
529
|
+
service: bias-detective-ca
|
|
530
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
531
|
+
region: ${{ env.REGION }}
|
|
532
|
+
flags: >-
|
|
533
|
+
--allow-unauthenticated
|
|
534
|
+
--memory=2Gi
|
|
535
|
+
--cpu=2
|
|
536
|
+
--session-affinity
|
|
537
|
+
--concurrency=20
|
|
538
|
+
--min-instances=0
|
|
539
|
+
--max-instances=50
|
|
540
|
+
--timeout=3000
|
|
541
|
+
--set-env-vars=APP_NAME=bias-detective-ca,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
542
|
+
|
|
543
|
+
# Existing generic fairness-fixer and justice-equity-upgrade
|
|
359
544
|
deploy-fairness-fixer:
|
|
360
545
|
runs-on: ubuntu-latest
|
|
361
546
|
needs: build-and-push
|
|
@@ -412,6 +597,176 @@ jobs:
|
|
|
412
597
|
--timeout=3000
|
|
413
598
|
--set-env-vars=APP_NAME=justice-equity-upgrade,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
414
599
|
|
|
600
|
+
# NEW: Language-specific Fairness Fixer variants
|
|
601
|
+
deploy-fairness-fixer-en:
|
|
602
|
+
runs-on: ubuntu-latest
|
|
603
|
+
needs: build-and-push
|
|
604
|
+
outputs:
|
|
605
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
606
|
+
steps:
|
|
607
|
+
- uses: google-github-actions/auth@v2
|
|
608
|
+
with:
|
|
609
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
610
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
611
|
+
- name: Deploy fairness-fixer-en
|
|
612
|
+
id: deploy
|
|
613
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
614
|
+
with:
|
|
615
|
+
service: fairness-fixer-en
|
|
616
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
617
|
+
region: ${{ env.REGION }}
|
|
618
|
+
flags: >-
|
|
619
|
+
--allow-unauthenticated
|
|
620
|
+
--memory=2Gi
|
|
621
|
+
--cpu=2
|
|
622
|
+
--session-affinity
|
|
623
|
+
--concurrency=20
|
|
624
|
+
--min-instances=0
|
|
625
|
+
--max-instances=50
|
|
626
|
+
--timeout=3000
|
|
627
|
+
--set-env-vars=APP_NAME=fairness-fixer-en,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
628
|
+
|
|
629
|
+
deploy-fairness-fixer-es:
|
|
630
|
+
runs-on: ubuntu-latest
|
|
631
|
+
needs: build-and-push
|
|
632
|
+
outputs:
|
|
633
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
634
|
+
steps:
|
|
635
|
+
- uses: google-github-actions/auth@v2
|
|
636
|
+
with:
|
|
637
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
638
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
639
|
+
- name: Deploy fairness-fixer-es
|
|
640
|
+
id: deploy
|
|
641
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
642
|
+
with:
|
|
643
|
+
service: fairness-fixer-es
|
|
644
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
645
|
+
region: ${{ env.REGION }}
|
|
646
|
+
flags: >-
|
|
647
|
+
--allow-unauthenticated
|
|
648
|
+
--memory=2Gi
|
|
649
|
+
--cpu=2
|
|
650
|
+
--session-affinity
|
|
651
|
+
--concurrency=20
|
|
652
|
+
--min-instances=0
|
|
653
|
+
--max-instances=50
|
|
654
|
+
--timeout=3000
|
|
655
|
+
--set-env-vars=APP_NAME=fairness-fixer-es,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
656
|
+
|
|
657
|
+
deploy-fairness-fixer-ca:
|
|
658
|
+
runs-on: ubuntu-latest
|
|
659
|
+
needs: build-and-push
|
|
660
|
+
outputs:
|
|
661
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
662
|
+
steps:
|
|
663
|
+
- uses: google-github-actions/auth@v2
|
|
664
|
+
with:
|
|
665
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
666
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
667
|
+
- name: Deploy fairness-fixer-ca
|
|
668
|
+
id: deploy
|
|
669
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
670
|
+
with:
|
|
671
|
+
service: fairness-fixer-ca
|
|
672
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
673
|
+
region: ${{ env.REGION }}
|
|
674
|
+
flags: >-
|
|
675
|
+
--allow-unauthenticated
|
|
676
|
+
--memory=2Gi
|
|
677
|
+
--cpu=2
|
|
678
|
+
--session-affinity
|
|
679
|
+
--concurrency=20
|
|
680
|
+
--min-instances=0
|
|
681
|
+
--max-instances=50
|
|
682
|
+
--timeout=3000
|
|
683
|
+
--set-env-vars=APP_NAME=fairness-fixer-ca,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
684
|
+
|
|
685
|
+
# NEW: Language-specific Justice & Equity Upgrade variants
|
|
686
|
+
deploy-justice-equity-upgrade-en:
|
|
687
|
+
runs-on: ubuntu-latest
|
|
688
|
+
needs: build-and-push
|
|
689
|
+
outputs:
|
|
690
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
691
|
+
steps:
|
|
692
|
+
- uses: google-github-actions/auth@v2
|
|
693
|
+
with:
|
|
694
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
695
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
696
|
+
- name: Deploy justice-equity-upgrade-en
|
|
697
|
+
id: deploy
|
|
698
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
699
|
+
with:
|
|
700
|
+
service: justice-equity-upgrade-en
|
|
701
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
702
|
+
region: ${{ env.REGION }}
|
|
703
|
+
flags: >-
|
|
704
|
+
--allow-unauthenticated
|
|
705
|
+
--memory=2Gi
|
|
706
|
+
--cpu=2
|
|
707
|
+
--session-affinity
|
|
708
|
+
--concurrency=20
|
|
709
|
+
--min-instances=0
|
|
710
|
+
--max-instances=50
|
|
711
|
+
--timeout=3000
|
|
712
|
+
--set-env-vars=APP_NAME=justice-equity-upgrade-en,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
713
|
+
|
|
714
|
+
deploy-justice-equity-upgrade-es:
|
|
715
|
+
runs-on: ubuntu-latest
|
|
716
|
+
needs: build-and-push
|
|
717
|
+
outputs:
|
|
718
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
719
|
+
steps:
|
|
720
|
+
- uses: google-github-actions/auth@v2
|
|
721
|
+
with:
|
|
722
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
723
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
724
|
+
- name: Deploy justice-equity-upgrade-es
|
|
725
|
+
id: deploy
|
|
726
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
727
|
+
with:
|
|
728
|
+
service: justice-equity-upgrade-es
|
|
729
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
730
|
+
region: ${{ env.REGION }}
|
|
731
|
+
flags: >-
|
|
732
|
+
--allow-unauthenticated
|
|
733
|
+
--memory=2Gi
|
|
734
|
+
--cpu=2
|
|
735
|
+
--session-affinity
|
|
736
|
+
--concurrency=20
|
|
737
|
+
--min-instances=0
|
|
738
|
+
--max-instances=50
|
|
739
|
+
--timeout=3000
|
|
740
|
+
--set-env-vars=APP_NAME=justice-equity-upgrade-es,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
741
|
+
|
|
742
|
+
deploy-justice-equity-upgrade-ca:
|
|
743
|
+
runs-on: ubuntu-latest
|
|
744
|
+
needs: build-and-push
|
|
745
|
+
outputs:
|
|
746
|
+
url: ${{ steps.deploy.outputs.url }}
|
|
747
|
+
steps:
|
|
748
|
+
- uses: google-github-actions/auth@v2
|
|
749
|
+
with:
|
|
750
|
+
credentials_json: ${{ secrets.GCP_SA_KEY }}
|
|
751
|
+
- uses: google-github-actions/setup-gcloud@v2
|
|
752
|
+
- name: Deploy justice-equity-upgrade-ca
|
|
753
|
+
id: deploy
|
|
754
|
+
uses: google-github-actions/deploy-cloudrun@v2
|
|
755
|
+
with:
|
|
756
|
+
service: justice-equity-upgrade-ca
|
|
757
|
+
image: ${{ env.REGION }}-docker.pkg.dev/${{ env.PROJECT_ID }}/${{ env.REPO_NAME }}/gradio-universal:${{ github.sha }}
|
|
758
|
+
region: ${{ env.REGION }}
|
|
759
|
+
flags: >-
|
|
760
|
+
--allow-unauthenticated
|
|
761
|
+
--memory=2Gi
|
|
762
|
+
--cpu=2
|
|
763
|
+
--session-affinity
|
|
764
|
+
--concurrency=20
|
|
765
|
+
--min-instances=0
|
|
766
|
+
--max-instances=50
|
|
767
|
+
--timeout=3000
|
|
768
|
+
--set-env-vars=APP_NAME=justice-equity-upgrade-ca,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
|
|
769
|
+
|
|
415
770
|
# ------------------------------------------------------------
|
|
416
771
|
# Collect and publish all deployed service URLs
|
|
417
772
|
# ------------------------------------------------------------
|
|
@@ -425,12 +780,24 @@ jobs:
|
|
|
425
780
|
- deploy-model-building-game-en
|
|
426
781
|
- deploy-model-building-game-ca
|
|
427
782
|
- deploy-model-building-game-es
|
|
783
|
+
- deploy-model-building-game-en-final
|
|
784
|
+
- deploy-model-building-game-es-final
|
|
785
|
+
- deploy-model-building-game-ca-final
|
|
428
786
|
- deploy-ethical-revelation
|
|
429
787
|
- deploy-moral-compass-challenge
|
|
430
788
|
- deploy-bias-detective-part1
|
|
431
789
|
- deploy-bias-detective-part2
|
|
790
|
+
- deploy-bias-detective-en
|
|
791
|
+
- deploy-bias-detective-es
|
|
792
|
+
- deploy-bias-detective-ca
|
|
432
793
|
- deploy-fairness-fixer
|
|
433
794
|
- deploy-justice-equity-upgrade
|
|
795
|
+
- deploy-fairness-fixer-en
|
|
796
|
+
- deploy-fairness-fixer-es
|
|
797
|
+
- deploy-fairness-fixer-ca
|
|
798
|
+
- deploy-justice-equity-upgrade-en
|
|
799
|
+
- deploy-justice-equity-upgrade-es
|
|
800
|
+
- deploy-justice-equity-upgrade-ca
|
|
434
801
|
steps:
|
|
435
802
|
- name: Generate JSON of deployed URLs
|
|
436
803
|
run: |
|
|
@@ -443,12 +810,24 @@ jobs:
|
|
|
443
810
|
"model-building-game-en": "${{ needs.deploy-model-building-game-en.outputs.url }}",
|
|
444
811
|
"model-building-game-ca": "${{ needs.deploy-model-building-game-ca.outputs.url }}",
|
|
445
812
|
"model-building-game-es": "${{ needs.deploy-model-building-game-es.outputs.url }}",
|
|
813
|
+
"model-building-game-en-final": "${{ needs.deploy-model-building-game-en-final.outputs.url }}",
|
|
814
|
+
"model-building-game-es-final": "${{ needs.deploy-model-building-game-es-final.outputs.url }}",
|
|
815
|
+
"model-building-game-ca-final": "${{ needs.deploy-model-building-game-ca-final.outputs.url }}",
|
|
446
816
|
"ethical-revelation": "${{ needs.deploy-ethical-revelation.outputs.url }}",
|
|
447
817
|
"moral-compass-challenge": "${{ needs.deploy-moral-compass-challenge.outputs.url }}",
|
|
448
818
|
"bias-detective-part1": "${{ needs.deploy-bias-detective-part1.outputs.url }}",
|
|
449
819
|
"bias-detective-part2": "${{ needs.deploy-bias-detective-part2.outputs.url }}",
|
|
820
|
+
"bias-detective-en": "${{ needs.deploy-bias-detective-en.outputs.url }}",
|
|
821
|
+
"bias-detective-es": "${{ needs.deploy-bias-detective-es.outputs.url }}",
|
|
822
|
+
"bias-detective-ca": "${{ needs.deploy-bias-detective-ca.outputs.url }}",
|
|
450
823
|
"fairness-fixer": "${{ needs.deploy-fairness-fixer.outputs.url }}",
|
|
451
|
-
"justice-equity-upgrade": "${{ needs.deploy-justice-equity-upgrade.outputs.url }}"
|
|
824
|
+
"justice-equity-upgrade": "${{ needs.deploy-justice-equity-upgrade.outputs.url }}",
|
|
825
|
+
"fairness-fixer-en": "${{ needs.deploy-fairness-fixer-en.outputs.url }}",
|
|
826
|
+
"fairness-fixer-es": "${{ needs.deploy-fairness-fixer-es.outputs.url }}",
|
|
827
|
+
"fairness-fixer-ca": "${{ needs.deploy-fairness-fixer-ca.outputs.url }}",
|
|
828
|
+
"justice-equity-upgrade-en": "${{ needs.deploy-justice-equity-upgrade-en.outputs.url }}",
|
|
829
|
+
"justice-equity-upgrade-es": "${{ needs.deploy-justice-equity-upgrade-es.outputs.url }}",
|
|
830
|
+
"justice-equity-upgrade-ca": "${{ needs.deploy-justice-equity-upgrade-ca.outputs.url }}"
|
|
452
831
|
}
|
|
453
832
|
EOF
|
|
454
833
|
echo "Deployed service URLs JSON:"
|