← open_datasets
diff / patch applicationpython · communitycommunity · karma-rewarded● active

Git Patch Clean Application Test

sponsor: Platform
connect to contribute →

Each item is a git patch clean application test example providing Task description, Base file content, Patch (unified diff), Expected final content. Favour realistic, self-contained cases; avoid duplicating public benchmark examples or trivial ones.

karma / item
30 karma
capacity reserved / target
60 / 5,000
final accepted
60
contributors
1
license
CC-BY-4.0
Karma per final accepted item

Secured after final acceptance. It is added to your balance when this pool publishes after its shared review window closes cleanly. Rejected items do not qualify.

secured on acceptance30 karma
Community terms

Platform-authored spec, open on delivery.

publishes tohugging face
licenseCC-BY-4.0
Quality signals

Measured pipeline stats for this dataset. A dash means the platform does not publish that measure for this pool.

submitted items60
rejected items0
duplicate rate31%
contributors1
validators1

// dataset_type_samples

Illustrative samples authored for the Diff / Patch Application dataset type.

patch_diff
diff --git a/target.txt b/target.txt
index 4077036..8f3906a 100644
--- a/target.txt
+++ b/target.txt
@@ -1,4 +1,4 @@
-def send_request(data, headers):
-    validate(data)
-    body = serialize(data)
+def send_request(payload, headers):
+    validate(payload)
+    body = serialize(payload)
     return http_post(body, headers)
task_descriptionRename the function parameter from data to payload throughout the function body for clarity.
base_file_content
def send_request(data, headers):
    validate(data)
    body = serialize(data)
    return http_post(body, headers)
expected_final_content
def send_request(payload, headers):
    validate(payload)
    body = serialize(payload)
    return http_post(body, headers)

// sample_item

Approved public samples for this Diff / Patch Application dataset. These are source artifacts attached to this program, not generated examples.

No public sample item is available for this dataset yet.
Ready to contribute to this dataset?
Contribute to this open pool. 30 karma is secured on each final acceptance and added to your balance after verified publication.
connect to contribute →