{"bundle_type":"pith_open_graph_bundle","bundle_version":"1.0","pith_number":"pith:2023:JFST6MEMCFUSNHCV5UNMZW56KY","short_pith_number":"pith:JFST6MEM","canonical_record":{"source":{"id":"2307.14733","kind":"arxiv","version":1},"metadata":{"license":"http://creativecommons.org/licenses/by-nc-nd/4.0/","primary_cat":"cs.SE","submitted_at":"2023-07-27T09:42:40Z","cross_cats_sorted":[],"title_canon_sha256":"4b56b530b2a576b712eba6b27c57b20b149e8e249e818d94bc0e68f36be8e8ac","abstract_canon_sha256":"bcc338f875b6c09108e7e892c8a539e8347cbd514b90a691730064ec0998612e"},"schema_version":"1.0"},"canonical_sha256":"49653f308c1169269c55ed1accdbbe563fb4c3b2b2eed2764554f92578cd8aaf","source":{"kind":"arxiv","id":"2307.14733","version":1},"source_aliases":[{"alias_kind":"arxiv","alias_value":"2307.14733","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"arxiv_version","alias_value":"2307.14733v1","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2307.14733","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"pith_short_12","alias_value":"JFST6MEMCFUS","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"pith_short_16","alias_value":"JFST6MEMCFUSNHCV","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"pith_short_8","alias_value":"JFST6MEM","created_at":"2026-07-05T06:42:44Z"}],"events":[{"event_type":"record_created","subject_pith_number":"pith:2023:JFST6MEMCFUSNHCV5UNMZW56KY","target":"record","payload":{"canonical_record":{"source":{"id":"2307.14733","kind":"arxiv","version":1},"metadata":{"license":"http://creativecommons.org/licenses/by-nc-nd/4.0/","primary_cat":"cs.SE","submitted_at":"2023-07-27T09:42:40Z","cross_cats_sorted":[],"title_canon_sha256":"4b56b530b2a576b712eba6b27c57b20b149e8e249e818d94bc0e68f36be8e8ac","abstract_canon_sha256":"bcc338f875b6c09108e7e892c8a539e8347cbd514b90a691730064ec0998612e"},"schema_version":"1.0"},"canonical_sha256":"49653f308c1169269c55ed1accdbbe563fb4c3b2b2eed2764554f92578cd8aaf","receipt":{"kind":"pith_receipt","key_id":"pith-v1-2026-05","algorithm":"ed25519","signed_at":"2026-07-05T06:42:44.638028Z","signature_b64":"ydJNoHc6MNYtNJLF3TYeKpi8hnvF7CscTKpxSBhndaQl60z+Xk4QXh6FCRiBaQMFRn9Y1IXf+Vir8FALK5N5BA==","signed_message":"canonical_sha256_bytes","builder_version":"pith-number-builder-2026-05-17-v1","receipt_version":"0.3","canonical_sha256":"49653f308c1169269c55ed1accdbbe563fb4c3b2b2eed2764554f92578cd8aaf","last_reissued_at":"2026-07-05T06:42:44.637521Z","signature_status":"signed_v1","first_computed_at":"2026-07-05T06:42:44.637521Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"source_kind":"arxiv","source_id":"2307.14733","source_version":1,"attestation_state":"computed"},"signer":{"signer_id":"pith.science","signer_type":"pith_registry","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"created_at":"2026-07-05T06:42:44Z","supersedes":[],"prev_event":null,"signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"1WKl7ib1nirEwo4BfY7t2zYGBYXJnhu87OoMOsDpaTDGCyf46zql+Ns0GchEgzDP4+y93gUJfWndc7uwqpBdCA==","signed_message":"open_graph_event_sha256_bytes","signed_at":"2026-07-27T07:56:46.495061Z"},"content_sha256":"2ee27c46aee53aff00f691d4fbd1331266cef279838a61179a350990e004a026","schema_version":"1.0","event_id":"sha256:2ee27c46aee53aff00f691d4fbd1331266cef279838a61179a350990e004a026"},{"event_type":"graph_snapshot","subject_pith_number":"pith:2023:JFST6MEMCFUSNHCV5UNMZW56KY","target":"graph","payload":{"graph_snapshot":{"paper":{"title":"StubCoder: Automated Generation and Repair of Stub Code for Mock Objects","license":"http://creativecommons.org/licenses/by-nc-nd/4.0/","headline":"","cross_cats":[],"primary_cat":"cs.SE","authors_text":"Bing Zhang, Hengcheng Zhu, Jiarong Wu, Lihong Song, Lili Wei, Qin Sheng, Shing-Chi Cheung, Valerio Terragni, Yepang Liu","submitted_at":"2023-07-27T09:42:40Z","abstract_excerpt":"Mocking is an essential unit testing technique for isolating the class under test (CUT) from its dependencies. Developers often leverage mocking frameworks to develop stub code that specifies the behaviors of mock objects. However, developing and maintaining stub code is labor-intensive and error-prone. In this paper, we present StubCoder to automatically generate and repair stub code for regression testing. StubCoder implements a novel evolutionary algorithm that synthesizes test-passing stub code guided by the runtime behavior of test cases. We evaluated our proposed approach on 59 test case"},"claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"2307.14733","kind":"arxiv","version":1},"verdict":{"id":null,"model_set":{},"created_at":null,"strongest_claim":"","one_line_summary":"","pipeline_version":null,"weakest_assumption":"","pith_extraction_headline":""},"integrity":{"clean":true,"summary":{"advisory":0,"critical":0,"by_detector":{},"informational":0},"endpoint":"/pith/2307.14733/integrity.json","findings":[],"available":true,"detectors_run":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938"},"references":{"count":0,"sample":[],"resolved_work":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","internal_anchors":0},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"author_claims":{"count":0,"strong_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"builder_version":"pith-number-builder-2026-05-17-v1"},"verdict_id":null},"signer":{"signer_id":"pith.science","signer_type":"pith_registry","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"created_at":"2026-07-05T06:42:44Z","supersedes":[],"prev_event":null,"signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"bsyJ4p88uuX2LxVMlARQpzTpOgZy3S0LogFRiXXaOQ43zX0a0rLkS83jHcTKgEq4f1C/JEp270e4vJgnxJFBCw==","signed_message":"open_graph_event_sha256_bytes","signed_at":"2026-07-27T07:56:46.495458Z"},"content_sha256":"3b9e61fb4f7e99560e1fe09108e7e04dd07ec22a6534d9b5b73898dfd73cad4d","schema_version":"1.0","event_id":"sha256:3b9e61fb4f7e99560e1fe09108e7e04dd07ec22a6534d9b5b73898dfd73cad4d"}],"timestamp_proofs":[],"mirror_hints":[{"mirror_type":"https","name":"Pith Resolver","base_url":"https://pith.science","bundle_url":"https://pith.science/pith/JFST6MEMCFUSNHCV5UNMZW56KY/bundle.json","state_url":"https://pith.science/pith/JFST6MEMCFUSNHCV5UNMZW56KY/state.json","well_known_bundle_url":"https://pith.science/.well-known/pith/JFST6MEMCFUSNHCV5UNMZW56KY/bundle.json","status":"primary"}],"public_keys":[{"key_id":"pith-v1-2026-05","algorithm":"ed25519","format":"raw","public_key_b64":"stVStoiQhXFxp4s2pdzPNoqVNBMojDU/fJ2db5S3CbM=","public_key_hex":"b2d552b68890857171a78b36a5dccf368a953413288c353f7c9d9d6f94b709b3","fingerprint_sha256_b32_first128bits":"RVFV5Z2OI2J3ZUO7ERDEBCYNKS","fingerprint_sha256_hex":"8d4b5ee74e4693bcd1df2446408b0d54","rotates_at":null,"url":"https://pith.science/pith-signing-key.json","notes":"Pith uses this Ed25519 key to sign canonical record SHA-256 digests. Verify with: ed25519_verify(public_key, message=canonical_sha256_bytes, signature=base64decode(signature_b64))."}],"merge_version":"pith-open-graph-merge-v1","built_at":"2026-07-27T07:56:46Z","links":{"resolver":"https://pith.science/pith/JFST6MEMCFUSNHCV5UNMZW56KY","bundle":"https://pith.science/pith/JFST6MEMCFUSNHCV5UNMZW56KY/bundle.json","state":"https://pith.science/pith/JFST6MEMCFUSNHCV5UNMZW56KY/state.json","well_known_bundle":"https://pith.science/.well-known/pith/JFST6MEMCFUSNHCV5UNMZW56KY/bundle.json"},"state":{"state_type":"pith_open_graph_state","state_version":"1.0","pith_number":"pith:2023:JFST6MEMCFUSNHCV5UNMZW56KY","merge_version":"pith-open-graph-merge-v1","event_count":2,"valid_event_count":2,"invalid_event_count":0,"equivocation_count":0,"current":{"canonical_record":{"metadata":{"abstract_canon_sha256":"bcc338f875b6c09108e7e892c8a539e8347cbd514b90a691730064ec0998612e","cross_cats_sorted":[],"license":"http://creativecommons.org/licenses/by-nc-nd/4.0/","primary_cat":"cs.SE","submitted_at":"2023-07-27T09:42:40Z","title_canon_sha256":"4b56b530b2a576b712eba6b27c57b20b149e8e249e818d94bc0e68f36be8e8ac"},"schema_version":"1.0","source":{"id":"2307.14733","kind":"arxiv","version":1}},"source_aliases":[{"alias_kind":"arxiv","alias_value":"2307.14733","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"arxiv_version","alias_value":"2307.14733v1","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.2307.14733","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"pith_short_12","alias_value":"JFST6MEMCFUS","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"pith_short_16","alias_value":"JFST6MEMCFUSNHCV","created_at":"2026-07-05T06:42:44Z"},{"alias_kind":"pith_short_8","alias_value":"JFST6MEM","created_at":"2026-07-05T06:42:44Z"}],"graph_snapshots":[{"event_id":"sha256:3b9e61fb4f7e99560e1fe09108e7e04dd07ec22a6534d9b5b73898dfd73cad4d","target":"graph","created_at":"2026-07-05T06:42:44Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"graph_snapshot":{"author_claims":{"count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","strong_count":0},"builder_version":"pith-number-builder-2026-05-17-v1","claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"integrity":{"available":true,"clean":true,"detectors_run":[],"endpoint":"/pith/2307.14733/integrity.json","findings":[],"snapshot_sha256":"c28c3603d3b5d939e8dc4c7e95fa8dfce3d595e45f758748cecf8e644a296938","summary":{"advisory":0,"by_detector":{},"critical":0,"informational":0}},"paper":{"abstract_excerpt":"Mocking is an essential unit testing technique for isolating the class under test (CUT) from its dependencies. Developers often leverage mocking frameworks to develop stub code that specifies the behaviors of mock objects. However, developing and maintaining stub code is labor-intensive and error-prone. In this paper, we present StubCoder to automatically generate and repair stub code for regression testing. StubCoder implements a novel evolutionary algorithm that synthesizes test-passing stub code guided by the runtime behavior of test cases. We evaluated our proposed approach on 59 test case","authors_text":"Bing Zhang, Hengcheng Zhu, Jiarong Wu, Lihong Song, Lili Wei, Qin Sheng, Shing-Chi Cheung, Valerio Terragni, Yepang Liu","cross_cats":[],"headline":"","license":"http://creativecommons.org/licenses/by-nc-nd/4.0/","primary_cat":"cs.SE","submitted_at":"2023-07-27T09:42:40Z","title":"StubCoder: Automated Generation and Repair of Stub Code for Mock Objects"},"references":{"count":0,"internal_anchors":0,"resolved_work":0,"sample":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"2307.14733","kind":"arxiv","version":1},"verdict":{"created_at":null,"id":null,"model_set":{},"one_line_summary":"","pipeline_version":null,"pith_extraction_headline":"","strongest_claim":"","weakest_assumption":""}},"verdict_id":null}}],"author_attestations":[],"timestamp_anchors":[],"storage_attestations":[],"citation_signatures":[],"replication_records":[],"corrections":[],"mirror_hints":[],"record_created":{"event_id":"sha256:2ee27c46aee53aff00f691d4fbd1331266cef279838a61179a350990e004a026","target":"record","created_at":"2026-07-05T06:42:44Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"attestation_state":"computed","canonical_record":{"metadata":{"abstract_canon_sha256":"bcc338f875b6c09108e7e892c8a539e8347cbd514b90a691730064ec0998612e","cross_cats_sorted":[],"license":"http://creativecommons.org/licenses/by-nc-nd/4.0/","primary_cat":"cs.SE","submitted_at":"2023-07-27T09:42:40Z","title_canon_sha256":"4b56b530b2a576b712eba6b27c57b20b149e8e249e818d94bc0e68f36be8e8ac"},"schema_version":"1.0","source":{"id":"2307.14733","kind":"arxiv","version":1}},"canonical_sha256":"49653f308c1169269c55ed1accdbbe563fb4c3b2b2eed2764554f92578cd8aaf","receipt":{"algorithm":"ed25519","builder_version":"pith-number-builder-2026-05-17-v1","canonical_sha256":"49653f308c1169269c55ed1accdbbe563fb4c3b2b2eed2764554f92578cd8aaf","first_computed_at":"2026-07-05T06:42:44.637521Z","key_id":"pith-v1-2026-05","kind":"pith_receipt","last_reissued_at":"2026-07-05T06:42:44.637521Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","receipt_version":"0.3","signature_b64":"ydJNoHc6MNYtNJLF3TYeKpi8hnvF7CscTKpxSBhndaQl60z+Xk4QXh6FCRiBaQMFRn9Y1IXf+Vir8FALK5N5BA==","signature_status":"signed_v1","signed_at":"2026-07-05T06:42:44.638028Z","signed_message":"canonical_sha256_bytes"},"source_id":"2307.14733","source_kind":"arxiv","source_version":1}}},"equivocations":[],"invalid_events":[],"applied_event_ids":["sha256:2ee27c46aee53aff00f691d4fbd1331266cef279838a61179a350990e004a026","sha256:3b9e61fb4f7e99560e1fe09108e7e04dd07ec22a6534d9b5b73898dfd73cad4d"],"state_sha256":"5540551adadf1bd90aac34a0126a0a0264d616fd4842c719349c782a573c6524"},"bundle_signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"X6PVBDrCopQREh9e7RnscnrnIZ/G2Nt9dAOZJAKMmCqes3Wo3ZWVqGwxOlUHGtJBNlW2OsLvrDuSFDkVrzyyAw==","signed_message":"bundle_sha256_bytes","signed_at":"2026-07-27T07:56:46.498098Z","bundle_sha256":"981c93d062edfb613a3d2445b71881dfcca49b3e8c99e646c70c5b8a487ae78e"}}