harbor run -t openthoughts/tasktrove-exp-rpt-issue-issue-1277harbor download openthoughts/tasktrove-exp-rpt-issue-issue-1277Below is a self-contained coding task describing a bug/feature and what to implement. It includes the minimal relevant code excerpt from the current (pre-fix) version and tells you exactly which file to modify in /app/. Do not reveal the patch details; instead, describe and implement the intended behavior.
Title: Ensure min-similarity-lines is respected when running pylint in parallel (--jobs)
Problem description
What you should implement
Before state (pre-fix code excerpt)
# File: pylint/lint/parallel.py
def check_parallel(linter, jobs, files, arguments=None):
# ... setup, submission of map/reduce tasks, etc. ...
_merge_mapreduce_data(linter, all_mapreduce_data)
# BUG: in the pre-fix code, the stats aggregation does not combine
# the current linter.stats with the per-worker stats in a way that
# preserves worker configuration (e.g., min_similarity_lines).
linter.stats = _merge_stats(all_stats)
# Insert stats data to local checkers.
for checker in linter.get_checkers():
# ...
What to modify (files and targets)
What to implement (high-level behavior)
How to test (recommended approach)
What you’ll need to deliver
Acceptance criteria
Code blocks (for reference, pre-fix only)