generate_artifinder¶
src.generators.artifinder.generate_artifinder
¶
Generate ArtiFinder integration outputs.
Downloads the ArtiFinder-Data set, matches each discovered artifact link to an existing artifact-evaluation (AE) paper by title + author list, and:
- back-patches
assets/data/artifacts.jsonto add anartifinder_urlslist to every AE artifact that ArtiFinder found a link for. These links carry no badges and never affect any score; the only place they may be reused is repository statistics (GitHub stars/forks), per project policy. - writes small Jekyll aggregates for the ArtiFinder discovery page:
_data/artifinder_summary.yml,_data/artifinder_by_year.yml,_data/artifinder_by_conference.yml.
The raw discovered links live in the upstream ArtiFinder-Data repository; we do not republish them here.
Usage::
python -m src.generators.artifinder.generate_artifinder --data_dir ../reprodb.github.io/src
match_entries(entries: list[dict], artifacts: list[dict], authors_by_title: dict[str, set[str]]) -> list[dict]
¶
Match ArtiFinder entries to AE artifacts by title + author overlap.
Mutates matched artifacts in place to append artifinder_urls and
returns the per-entry match records (used only to build the aggregates).
First pass: same conference + year + identical normalised title. Second
pass (fuzzy): for still-unmatched entries, the closest AE title in the same
conference+year with a :data:FUZZY_MIN_RATIO similarity, to recover
same-paper titles that differ by Unicode/LaTeX artifacts or minor wording.
Both passes reject a match when author lists are known on both sides but
share no author (guards against title collisions / different papers).
Source code in src/generators/artifinder/generate_artifinder.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | |
generate_artifinder(data_dir: str, min_year: int | None = DEFAULT_MIN_YEAR, conf_regex: str | None = None, local_dir: str | None = None) -> dict
¶
Run the ArtiFinder integration and write all output files.
Source code in src/generators/artifinder/generate_artifinder.py
311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 | |