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.
Files changed (392) hide show
  1. aimodelshare-0.5.23/.github/workflows/build_model_cache.yml +77 -0
  2. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/deploy_gradio_apps.yml +397 -18
  3. aimodelshare-0.5.23/.github/workflows/deploy_single_apps.yml +154 -0
  4. aimodelshare-0.5.23/.github/workflows/test_cache_preds.yml +53 -0
  5. aimodelshare-0.5.23/Dockerfile +69 -0
  6. {aimodelshare-0.3.62/aimodelshare.egg-info → aimodelshare-0.5.23}/PKG-INFO +1 -1
  7. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/model.py +2 -2
  8. aimodelshare-0.5.23/aimodelshare/moral_compass/__init__.py +174 -0
  9. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/__init__.py +33 -11
  10. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/bias_detective_ca.py +2778 -0
  11. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/bias_detective_en.py +2773 -0
  12. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/bias_detective_es.py +2778 -0
  13. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/ethical_revelation.py +5 -5
  14. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/fairness_fixer_ca.py +1877 -0
  15. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/fairness_fixer_en.py +1872 -0
  16. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/fairness_fixer_es.py +1877 -0
  17. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/justice_equity_upgrade.py +815 -0
  18. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/justice_equity_upgrade_ca.py +824 -0
  19. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/justice_equity_upgrade_en.py +887 -0
  20. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/justice_equity_upgrade_es.py +824 -0
  21. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/model_building_app_ca.py +3714 -0
  22. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/model_building_app_ca_final.py +3559 -0
  23. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/model_building_app_en.py +513 -921
  24. 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
  25. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/model_building_app_es.py +3715 -0
  26. 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
  27. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/model_building_game.py +607 -562
  28. aimodelshare-0.5.23/aimodelshare/moral_compass/apps/team_name_i18n.py +98 -0
  29. {aimodelshare-0.3.62 → aimodelshare-0.5.23/aimodelshare.egg-info}/PKG-INFO +1 -1
  30. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare.egg-info/SOURCES.txt +20 -0
  31. aimodelshare-0.5.23/convert_db.py +44 -0
  32. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/lambda/app.py +60 -0
  33. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/main.tf +6 -0
  34. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/launch_entrypoint.py +69 -48
  35. aimodelshare-0.5.23/precompute_cache.py +229 -0
  36. aimodelshare-0.5.23/tests/test_team_name_i18n.py +286 -0
  37. aimodelshare-0.5.23/tests/verify_cache_integrity.py +156 -0
  38. aimodelshare-0.3.62/Dockerfile +0 -23
  39. aimodelshare-0.3.62/aimodelshare/moral_compass/__init__.py +0 -75
  40. aimodelshare-0.3.62/aimodelshare/moral_compass/apps/justice_equity_upgrade.py +0 -853
  41. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/ai_lead_engineer_app_test.yml +0 -0
  42. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/aimodelshare-tests.yml +0 -0
  43. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/bootstrap-terraform.yml +0 -0
  44. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/cleanup-test-resources.yml +0 -0
  45. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/deploy-infra.yml +0 -0
  46. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/destroy-infra.yml +0 -0
  47. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/gradio-session-login-integration.yml +0 -0
  48. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/kpi-dict-submissioncount-integration.yml +0 -0
  49. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/mc-comprehensive-integration-test.yml +0 -0
  50. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/mc-rank-integration-test.yml +0 -0
  51. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/mc_auth_debug.yml +0 -0
  52. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/moral_compass_auth_test.yml +0 -0
  53. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/playground-integration-tests.yml +0 -0
  54. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/publish-lambda-layers.yml +0 -0
  55. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/pypi-manual-publish.yml +0 -0
  56. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/sessionid-kpi-workflow.yml +0 -0
  57. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/test-colab-install.yml +0 -0
  58. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/test-colab-simulated.yml +0 -0
  59. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.github/workflows/unit-tests.yml +0 -0
  60. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/.gitignore +0 -0
  61. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/ACTIVITIES_7_8_9_IMPLEMENTATION.md +0 -0
  62. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_AUTH_UPDATE.md +0 -0
  63. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_ENHANCEMENTS.md +0 -0
  64. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_RANK_FIX_SUMMARY.md +0 -0
  65. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_TASK_TRACKING.md +0 -0
  66. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_TRANSITIONS_IMPLEMENTATION.md +0 -0
  67. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/BIAS_DETECTIVE_V2_IMPLEMENTATION.md +0 -0
  68. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/CHANGES_SUMMARY.md +0 -0
  69. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/CLEANUP_RESOURCES.md +0 -0
  70. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/CLOUD_RUN_DEPLOYMENT.md +0 -0
  71. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/CODE_REVIEW.md +0 -0
  72. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/COMPLETED_TASK_IDS_IMPLEMENTATION.md +0 -0
  73. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/GRADIO_APPS_IMPLEMENTATION.md +0 -0
  74. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY.md +0 -0
  75. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_ACTIVITIES_7_8_9.md +0 -0
  76. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_DIAGNOSTICS.md +0 -0
  77. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_READINESS_GATING.md +0 -0
  78. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_REGION_AWARE.md +0 -0
  79. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/IMPLEMENTATION_SUMMARY_UX_ENHANCEMENTS.md +0 -0
  80. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/INTEGRATION_TEST_IMPLEMENTATION_SUMMARY.md +0 -0
  81. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/KPI_IMPROVEMENTS_SUMMARY.md +0 -0
  82. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/LICENSE +0 -0
  83. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MANIFEST.in +0 -0
  84. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/METADATA_FIX_DOCUMENTATION.md +0 -0
  85. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MODEL_BUILDING_GAME_REFACTOR_PLAN.md +0 -0
  86. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MODEL_IMPROVEMENT_APPS_FIX.md +0 -0
  87. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MODERNIZATION_SUMMARY.md +0 -0
  88. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/MORAL_COMPASS_INTEGRATION.md +0 -0
  89. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/NAVIGATION_FIX_SUMMARY.md +0 -0
  90. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/PLAYGROUND_TEST_ISOLATION.md +0 -0
  91. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/PREPROCESSOR_DIAGNOSTICS.md +0 -0
  92. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/PR_SUMMARY.md +0 -0
  93. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/README.md +0 -0
  94. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/RESTORE_V0164_PR_DESCRIPTION.md +0 -0
  95. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/TEAM_PERSISTENCE_IMPLEMENTATION.md +0 -0
  96. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/TEST_MODE_DOCUMENTATION.md +0 -0
  97. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/README.md +0 -0
  98. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/__init__.py +0 -0
  99. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/aimsonnx.py +0 -0
  100. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/api.py +0 -0
  101. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/auth.py +0 -0
  102. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/aws.py +0 -0
  103. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/aws_client.py +0 -0
  104. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/base_image.py +0 -0
  105. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/bucketpolicy.py +0 -0
  106. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/color_mappings/color_mapping_keras.csv +0 -0
  107. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/color_mappings/color_mapping_pytorch.csv +0 -0
  108. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerisation.py +0 -0
  109. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization.py +0 -0
  110. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization_templates/Dockerfile.txt +0 -0
  111. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization_templates/Dockerfile_PySpark.txt +0 -0
  112. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization_templates/buildspec.txt +0 -0
  113. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/containerization_templates/lambda_function.txt +0 -0
  114. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/custom_approach/__init__.py +0 -0
  115. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/custom_approach/lambda_function.py +0 -0
  116. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/custom_eval_metrics.py +0 -0
  117. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/__init__.py +0 -0
  118. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/Dockerfile.txt +0 -0
  119. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/__init__.py +0 -0
  120. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/buildspec.txt +0 -0
  121. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/codebuild_policies.txt +0 -0
  122. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/data_sharing_templates/codebuild_trust_relationship.txt +0 -0
  123. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/download_data.py +0 -0
  124. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/share_data.py +0 -0
  125. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/data_sharing/utils.py +0 -0
  126. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/deploy_custom_lambda.py +0 -0
  127. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/Makefile +0 -0
  128. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/__init__.py +0 -0
  129. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/_version.py +0 -0
  130. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/breadcrumbs.html +0 -0
  131. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/layout.html +0 -0
  132. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/search.html +0 -0
  133. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/searchbox.html +0 -0
  134. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css +0 -0
  135. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css.map +0 -0
  136. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css +0 -0
  137. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css.map +0 -0
  138. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css +0 -0
  139. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css.map +0 -0
  140. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.eot +0 -0
  141. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.svg +0 -0
  142. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.ttf +0 -0
  143. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff +0 -0
  144. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff2 +0 -0
  145. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/static/js/theme.js +0 -0
  146. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/karma_sphinx_theme/theme.conf +0 -0
  147. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/make.bat +0 -0
  148. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/requirements.txt +0 -0
  149. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/about.rst +0 -0
  150. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/advanced_features.rst +0 -0
  151. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/competition.rst +0 -0
  152. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/conf.py +0 -0
  153. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/create_credentials.rst +0 -0
  154. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/example_notebooks.rst +0 -0
  155. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/functions.rst +0 -0
  156. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/gettingstarted.rst +0 -0
  157. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds1.png +0 -0
  158. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds2.png +0 -0
  159. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds3.png +0 -0
  160. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds4.png +0 -0
  161. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds5.png +0 -0
  162. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/creds_file_example.png +0 -0
  163. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/images/predict_tab.png +0 -0
  164. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/index.rst +0 -0
  165. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/documentation/source/modelplayground.rst +0 -0
  166. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/exceptions.py +0 -0
  167. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/generatemodelapi.py +0 -0
  168. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/iam/codebuild_policy.txt +0 -0
  169. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/iam/codebuild_trust_relationship.txt +0 -0
  170. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/iam/lambda_policy.txt +0 -0
  171. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/iam/lambda_trust_relationship.txt +0 -0
  172. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/__init__.py +0 -0
  173. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/api_json.txt +0 -0
  174. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/auth/policy.txt +0 -0
  175. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/auth/role.txt +0 -0
  176. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/eval/policy.txt +0 -0
  177. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/eval/role.txt +0 -0
  178. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/function/policy.txt +0 -0
  179. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/function/role.txt +0 -0
  180. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/integration_response.txt +0 -0
  181. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/lambda_policy_1.txt +0 -0
  182. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/lambda_policy_2.txt +0 -0
  183. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/lambda_role_1.txt +0 -0
  184. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/json_templates/lambda_role_2.txt +0 -0
  185. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/leaderboard.py +0 -0
  186. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/1.txt +0 -0
  187. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/1B.txt +0 -0
  188. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/2.txt +0 -0
  189. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/3.txt +0 -0
  190. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/4.txt +0 -0
  191. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/5.txt +0 -0
  192. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/6.txt +0 -0
  193. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/7.txt +0 -0
  194. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/8.txt +0 -0
  195. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/__init__.py +0 -0
  196. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/authorization.txt +0 -0
  197. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/eval_classification.txt +0 -0
  198. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/eval_lambda.txt +0 -0
  199. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/eval_regression.txt +0 -0
  200. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/lambda_function.txt +0 -0
  201. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/main/nst.txt +0 -0
  202. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/modeluser.py +0 -0
  203. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/README.md +0 -0
  204. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/_version.py +0 -0
  205. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/api_client.py +0 -0
  206. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/ai_consequences.py +0 -0
  207. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/bias_detective_part1.py +0 -0
  208. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/bias_detective_part2.py +0 -0
  209. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/fairness_fixer.py +0 -0
  210. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/judge.py +0 -0
  211. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/mc_integration_helpers.py +0 -0
  212. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/model_building_game_beginner.py +0 -0
  213. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/moral_compass_challenge.py +0 -0
  214. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/session_auth.py +0 -0
  215. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/shared_activity_styles.css +0 -0
  216. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/tutorial.py +0 -0
  217. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/apps/what_is_ai.py +0 -0
  218. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/challenge.py +0 -0
  219. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/moral_compass/config.py +0 -0
  220. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/placeholders/model.onnx +0 -0
  221. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/placeholders/preprocessor.zip +0 -0
  222. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/playground.py +0 -0
  223. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/postprocessormodules.py +0 -0
  224. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/preprocessormodules.py +0 -0
  225. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/1.txt +0 -0
  226. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/1B.txt +0 -0
  227. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/2.txt +0 -0
  228. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/3.txt +0 -0
  229. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/4.txt +0 -0
  230. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/5.txt +0 -0
  231. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/6.txt +0 -0
  232. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/7.txt +0 -0
  233. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/8.txt +0 -0
  234. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/__init__.py +0 -0
  235. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/authorization.txt +0 -0
  236. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/eval_classification.txt +0 -0
  237. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/eval_lambda.txt +0 -0
  238. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/eval_regression.txt +0 -0
  239. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/lambda_function.txt +0 -0
  240. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/pyspark/nst.txt +0 -0
  241. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/python/my_preprocessor.py +0 -0
  242. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/readme.md +0 -0
  243. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/reproducibility.py +0 -0
  244. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/Dockerfile.txt +0 -0
  245. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/Dockerfile_PySpark.txt +0 -0
  246. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/__init__.py +0 -0
  247. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/buildspec.txt +0 -0
  248. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/codebuild_policies.txt +0 -0
  249. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/codebuild_trust_relationship.txt +0 -0
  250. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/codepipeline_policies.txt +0 -0
  251. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/codepipeline_trust_relationship.txt +0 -0
  252. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/spark-class.txt +0 -0
  253. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/sam/template.txt +0 -0
  254. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/tools.py +0 -0
  255. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/utils/__init__.py +0 -0
  256. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/utils/optional_deps.py +0 -0
  257. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare/utils.py +0 -0
  258. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare.egg-info/dependency_links.txt +0 -0
  259. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare.egg-info/requires.txt +0 -0
  260. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/aimodelshare.egg-info/top_level.txt +0 -0
  261. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/docs/DEPRECATION_PLAN.md +0 -0
  262. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/docs/REGION_AWARE_NAMING.md +0 -0
  263. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/docs/aimodshare_banner.jpg +0 -0
  264. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/docs/justice_equity_challenge_example.md +0 -0
  265. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/README.md +0 -0
  266. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/ROLLOUT_GUIDE.md +0 -0
  267. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/bootstrap/README.md +0 -0
  268. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/bootstrap/main.tf +0 -0
  269. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/bootstrap/outputs.tf +0 -0
  270. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/bootstrap/variables.tf +0 -0
  271. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/lambda-layer-bucket/README.md +0 -0
  272. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/lambda-layer-bucket/main.tf +0 -0
  273. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/layer/build_layer.sh +0 -0
  274. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/layer/requirements.txt +0 -0
  275. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/outputs.tf +0 -0
  276. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/terraform.tfvars +0 -0
  277. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/infra/variables.tf +0 -0
  278. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/meta.yaml +0 -0
  279. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/minimal_session_auth_demo.py +0 -0
  280. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/00_Justice_Challenge_Landing.ipynb +0 -0
  281. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/Etica_en_Joc_Justice_Challenge (7).ipynb +0 -0
  282. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/Etica_en_Joc_Justice_Challenge.ipynb +0 -0
  283. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/Etica_en_Joc_Justice_Challenge_nightly.ipynb +0 -0
  284. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/aimodelshare_colab_smoke.ipynb +0 -0
  285. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/compas_playground_multiframework.ipynb +0 -0
  286. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/moral_compass_model_submissions_and_challenge_progress.ipynb +0 -0
  287. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/moral_compass_playground_setup.ipynb +0 -0
  288. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/notebooks/notebooks_compas_playground_multiframework.ipynb +0 -0
  289. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/pyproject.toml +0 -0
  290. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/requirements-apps.txt +0 -0
  291. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/requirements-auth.txt +0 -0
  292. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/requirements-eval.txt +0 -0
  293. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/requirements.txt +0 -0
  294. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/cache_terraform_outputs.sh +0 -0
  295. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/cleanup_test_resources.py +0 -0
  296. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/demo_moral_compass_metrics.py +0 -0
  297. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/mc_rank_integration_test.py +0 -0
  298. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/run_moral_compass_integration_test.sh +0 -0
  299. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/scripts/verify_api_reachable.sh +0 -0
  300. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/setup.cfg +0 -0
  301. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/setup.py +0 -0
  302. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/about.rst +0 -0
  303. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/advanced_features.rst +0 -0
  304. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/competition.rst +0 -0
  305. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/conf.py +0 -0
  306. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/create_credentials.rst +0 -0
  307. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/example_notebooks.rst +0 -0
  308. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/functions.rst +0 -0
  309. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/gettingstarted.rst +0 -0
  310. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds1.png +0 -0
  311. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds2.png +0 -0
  312. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds3.png +0 -0
  313. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds4.png +0 -0
  314. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds5.png +0 -0
  315. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/creds_file_example.png +0 -0
  316. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/images/predict_tab.png +0 -0
  317. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/index.rst +0 -0
  318. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/source/modelplayground.rst +0 -0
  319. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/test_bias_detective_with_session.py +0 -0
  320. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/MORAL_COMPASS_INTEGRATION_TEST_README.md +0 -0
  321. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/MORAL_COMPASS_TEST_COVERAGE.md +0 -0
  322. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/QUICK_START_INTEGRATION_TEST.md +0 -0
  323. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/README.md +0 -0
  324. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/__init__.py +0 -0
  325. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/example_run_integration_test.sh +0 -0
  326. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/load_mixed_duration.py +0 -0
  327. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/load_multi_table.py +0 -0
  328. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/load_single_table.py +0 -0
  329. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/requirements.txt +0 -0
  330. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_aimsonnx.py +0 -0
  331. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_api_integration.py +0 -0
  332. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_api_pagination.py +0 -0
  333. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_auth.py +0 -0
  334. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_combined_score.py +0 -0
  335. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_enhancements.py +0 -0
  336. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_parts.py +0 -0
  337. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_rank_integration.py +0 -0
  338. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_task_tracking.py +0 -0
  339. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_bias_detective_test_mode.py +0 -0
  340. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_cleanup_script.py +0 -0
  341. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_kpi_dict_unhashable_integration.py +0 -0
  342. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_kpi_improvements.py +0 -0
  343. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_kpi_updates_on_second_submission.py +0 -0
  344. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_launch_entrypoint.py +0 -0
  345. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_model_building_game_conclusion.py +0 -0
  346. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_model_building_game_enhancements.py +0 -0
  347. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_model_building_game_readiness_gating.py +0 -0
  348. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_model_building_game_slider_fix.py +0 -0
  349. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_apps.py +0 -0
  350. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_auth.py +0 -0
  351. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_auth_create_table.py +0 -0
  352. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_client_minimal.py +0 -0
  353. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_comprehensive_integration.py +0 -0
  354. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_dynamic_metrics.py +0 -0
  355. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_moral_compass_unit.py +0 -0
  356. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground.py +0 -0
  357. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_ai_lead_engineer_app.py +0 -0
  358. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_compas_multiframework.py +0 -0
  359. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_compas_multiframework_short.py +0 -0
  360. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_keras_model_types.py +0 -0
  361. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_model_types.py +0 -0
  362. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_moral_compass_challenge.py +0 -0
  363. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playground_torch_model_types.py +0 -0
  364. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_playgrounds_nodataimport.py +0 -0
  365. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_region_aware_naming.py +0 -0
  366. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_session_auto_login.py +0 -0
  367. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_sessionid_kpi_integration.py +0 -0
  368. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_submission_count_updates.py +0 -0
  369. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_team_assignment.py +0 -0
  370. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/test_token_authentication.py +0 -0
  371. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/DEBUGGING_GUIDE.md +0 -0
  372. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/README.md +0 -0
  373. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/__init__.py +0 -0
  374. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/run_tests.sh +0 -0
  375. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_bucket_setup.py +0 -0
  376. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_credentials.py +0 -0
  377. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_data_preprocessing.py +0 -0
  378. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_eval_metrics_smoke.py +0 -0
  379. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_model_helpers.py +0 -0
  380. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_model_training.py +0 -0
  381. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_modernization.py +0 -0
  382. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_playground_init.py +0 -0
  383. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_playground_operations.py +0 -0
  384. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_preprocessor_diagnostics.py +0 -0
  385. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_preprocessor_validation.py +0 -0
  386. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_setup_sanity.py +0 -0
  387. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_submit_model_returns.py +0 -0
  388. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_transformer_preprocessor.py +0 -0
  389. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/tests/unit/test_utils_imports.py +0 -0
  390. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/validate_modernization.py +0 -0
  391. {aimodelshare-0.3.62 → aimodelshare-0.5.23}/verify_enhancements.py +0 -0
  392. {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 ONCE
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=2Gi
195
+ --memory=4Gi
181
196
  --cpu=2
182
197
  --session-affinity
183
- --concurrency=20
198
+ --concurrency=40
184
199
  --min-instances=0
185
- --max-instances=50
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=2Gi
223
+ --memory=4Gi
209
224
  --cpu=2
210
225
  --session-affinity
211
- --concurrency=20
226
+ --concurrency=40
212
227
  --min-instances=0
213
- --max-instances=50
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=2Gi
251
+ --memory=4Gi
237
252
  --cpu=2
238
253
  --session-affinity
239
- --concurrency=20
254
+ --concurrency=40
240
255
  --min-instances=0
241
- --max-instances=50
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-es,GRADIO_SERVER_NAME=0.0.0.0,GRADIO_ANALYTICS_ENABLED=False,GRADIO_NUM_PORTS=1
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
- # Renamed existing bias-detective deploy job to explicitly deploy part1
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:"