CODE TO REPORTED OUTPUTS

Run Code/run_all.py for the main text and complete statistical supplement; run Code/run_primary.py for the three main models only.

Main sequential models and Table 1: compare_job_simple_controls_20261106.R; publish_simple_main_results_20261106.R. reproduce_primary_models.R provides the primary-only route.
Figures 2 and 3: plot_final_figures_2_3_20261107.R; export_final_figures_pdf.R.
Figure 1: conceptual diagram supplied separately; no statistical estimation code.
Appendix A1-A2: export_job_appendix_tables_20261105.R; export_job_sequential_tables_20261105.R.
Appendix A3-A6 and S1-S2: fit_job_plot_stages_20261105.R; export_job_pooled_stages_20261105.R; export_job_figure1_pooled_20261105.R; plot_job_pooled_figure2_20261105.R; export_appendix_cutpoints.R; plot_job_clean_20261106.R and its two redesign helpers. These also provide intermediate predictions used by the main figures.
Appendix A7 and moderator availability/same-sample baselines: prepare_ai_mechanisms_20261104.py; job_moderation_20261107.R; export_moderation_thresholds_20261107.R.
Appendix A8: compare_four_job_models_20261105.R.
Appendix A9: prepare_job_native_comparison_20261106.py; fit_job_merged_reference_20261106.R.
Sample flow and diagnostics: audit_ai_data_20261105.py; audit_clean_reference_20261105.R; audit_proportional_odds_20261105.R.
Shared preparation: prepare_ai_combined_20261104.py; prepare_ai_followup_20261104.py; prepare_w10_gender_roles_20261105.py; ai_descriptive_20261104.py and ai_target_audit_20261104.py (preparation prefixes only).
Shared estimation helpers: ai_model_common.R; ordinal_parts.R; firth_binary_helpers.R.

Some scripts produce intermediate aggregate outputs required downstream. Numerical_tables/ contains the selected numerical outputs accompanying the submission. No unreported exploratory model scripts or Word layout builders are included.
