{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2603-06781","title":"xaitimesynth: A Python Package for Evaluating Attribution Methods for Time Series with Synthetic Ground Truth","arxiv_id":"2603.06781","date":"2026-03-06","proceeding":null,"authors":["Gregor Baer"],"abstract":"Evaluating time series attribution methods is difficult because real-world datasets rarely provide ground truth for which time points drive a prediction. A common workaround is to generate synthetic data where class-discriminating features are placed at known locations, but each study currently reimplements this from scratch. We introduce xaitimesynth, a Python package that provides reusable infrastructure for this evaluation approach. The package generates synthetic time series following an additive model where each sample is a sum of background signal and a localized, class-discriminating feature, with the feature window automatically tracked as a ground truth mask. A fluent data generation API and YAML configuration format allow flexible and reproducible dataset definitions for both univariate and multivariate time series. The package also provides standard localization metrics, including AUC-PR, AUC-ROC, Relevance Mass Accuracy, and Relevance Rank Accuracy. xaitimesynth is open source and available at https://github.com/gregorbaer/xaitimesynth.","url_abs":"https://arxiv.org/abs/2603.06781","url_pdf":"https://arxiv.org/pdf/2603.06781","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2603.06781","atlas_url":"https://app.syntology.ai/?focus=2603.06781","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2603.06781"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/gregorbaer/xaitimesynth","reach":null}],"summary":{"unverified":18},"by_repo_kind":{"found_in_text":{"samples":18,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"3aea1dd3315b504d","entry":"add_feature","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/functions.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3aea1dd3315b504d"}},{"code_sha256_prefix":"841ee1be85a20356","entry":"add_signal","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/functions.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"841ee1be85a20356"}},{"code_sha256_prefix":"132de940c6367e8c","entry":"constant","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/components.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/components.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"132de940c6367e8c"}},{"code_sha256_prefix":"da7dcee3e68705cc","entry":"gaussian_noise","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/components.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/components.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"da7dcee3e68705cc"}},{"code_sha256_prefix":"8a3520b84961c428","entry":"generate_constant","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/generators.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/generators.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8a3520b84961c428"}},{"code_sha256_prefix":"e51aaafbdfcd06d8","entry":"generate_cylinder_bell_funnel","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/datasets.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/datasets.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e51aaafbdfcd06d8"}},{"code_sha256_prefix":"b55175e52746ea3a","entry":"generate_gaussian_noise","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/generators.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/generators.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b55175e52746ea3a"}},{"code_sha256_prefix":"b6d67dfcf7bb3c02","entry":"generate_random_walk","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/generators.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/generators.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b6d67dfcf7bb3c02"}},{"code_sha256_prefix":"e627b8455bd3af91","entry":"get_component_parameters","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/registry.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/registry.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e627b8455bd3af91"}},{"code_sha256_prefix":"ffe63eebb6da8988","entry":"minmax_normalize","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/functions.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ffe63eebb6da8988"}},{"code_sha256_prefix":"d188756da7d2905e","entry":"pointing_game","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/metrics.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d188756da7d2905e"}},{"code_sha256_prefix":"e200ef7c51cd6f83","entry":"prepare_feature_highlights","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/visualization.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/visualization.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e200ef7c51cd6f83"}},{"code_sha256_prefix":"66df16025739e7ab","entry":"prepare_plot_data","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/visualization.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/visualization.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"66df16025739e7ab"}},{"code_sha256_prefix":"b4098243f5038a68","entry":"random_walk","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/components.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/components.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b4098243f5038a68"}},{"code_sha256_prefix":"56d2af0eee141c55","entry":"register_component","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/registry.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/registry.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"56d2af0eee141c55"}},{"code_sha256_prefix":"aed7b553bae4e790","entry":"register_component_generator","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/registry.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/registry.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"aed7b553bae4e790"}},{"code_sha256_prefix":"fd4d5be440eee2bb","entry":"relevance_mass_accuracy","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/metrics.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fd4d5be440eee2bb"}},{"code_sha256_prefix":"387b61de15eeb6c3","entry":"relevance_rank_accuracy","repo":"gregorbaer/xaitimesynth","repo_kind":"found_in_text","path":"xaitimesynth/metrics.py","file_url":"https://github.com/gregorbaer/xaitimesynth/blob/HEAD/xaitimesynth/metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"387b61de15eeb6c3"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}