{"id":"W4385374119","doi":"10.48550/arxiv.2307.14733","title":"StubCoder: Automated Generation and Repair of Stub Code for Mock Objects","year":2023,"lang":"en","type":"preprint","venue":"arXiv (Cornell University)","topic":"Software Testing and Debugging Techniques","field":"Computer Science","cited_by":0,"is_retracted":false,"has_abstract":true,"ca_institutions":"McGill University","funders":"National Natural Science Foundation of China; National Science Foundation","keywords":"Stub (electronics); Computer science; Unit testing; Regression testing; Test case; Leverage (statistics); Programming language; Software; Engineering; Structural engineering; Artificial intelligence; Software development; Machine learning; Regression analysis","routes":{"ca_aff":true,"ca_fund":false,"ca_venue":false,"about_ca":false,"invisible_to_affiliation_only":false},"retraction":null,"screen":null,"direct_labels":[],"prediction":{"model_version":"codex-gemma-dda1882f352a","candidate_categories":[],"consensus_categories":[],"category_scores_codex":[0.0003917229,0.0002074262,0.0003072034,0.0002673925,0.0001238402,0.00005869793,0.0006604483,0.0002154531,6.123153e-7],"category_scores_gemma":[0.0002602592,0.0002412176,0.0001319602,0.000368208,0.00006627892,0.0001504534,0.001087413,0.0001706436,0.000002997835],"about_ca_system_candidate":false,"about_ca_system_consensus":false,"about_ca_system_score_codex":0.00007334915,"about_ca_system_score_gemma":0.000143426,"about_ca_topic_candidate":false,"about_ca_topic_consensus":false,"about_ca_topic_score_codex":0.0001681206,"about_ca_topic_score_gemma":0.00007281858,"domain_scores_codex":[0.9985828,0.00008276128,0.000206483,0.0008372294,0.00007901382,0.0002117482],"domain_scores_gemma":[0.9982508,0.0003173437,0.0002416851,0.0008624531,0.0002533829,0.00007436389],"domain_codex":null,"domain_gemma":null,"domain_candidate":null,"domain_consensus":null,"study_design_codex":"simulation_or_modeling","study_design_gemma":"simulation_or_modeling","study_design_scores_codex":[0.0001551483,0.0007269838,0.0688699,0.003198052,0.001151681,0.0006121735,0.004282263,0.5194578,0.00126415,0.1859425,0.2110236,0.003315734],"study_design_scores_gemma":[0.0002188446,0.0001070093,0.001476185,0.0001142755,0.00004267735,0.00000238822,0.000008009469,0.9347634,0.0004329935,0.06256379,0.00004235869,0.0002281091],"study_design_candidate":"simulation_or_modeling","study_design_consensus":"simulation_or_modeling","genre_codex":"methods","genre_gemma":"empirical","genre_scores_codex":[0.1970141,0.00005976223,0.7737534,0.00004484866,0.0003629529,0.0004845863,0.00005175595,0.02814201,0.00008662424],"genre_scores_gemma":[0.9403855,0.00006874342,0.0588598,0.00002991358,0.00004376327,0.000004676706,0.00002771188,0.00002198684,0.0005579527],"genre_candidate":"empirical","genre_consensus":null,"teacher_disagreement_score":0.7433714,"threshold_uncertainty_score":0.9836569,"prediction_status":"machine_predicted_unvalidated"},"machine_scores":{"provisional":true,"baseline":true,"maturity_gate_passed":false,"score_opus":0.1711203268709225,"score_gpt":0.2398695776439807,"score_spread":0.06874925077305824,"validation_status":"score_only:v0-immature-baseline","note":"Baseline scores from an immature model (maturity gate not passed). Scores rank; they never assert a category."}}