Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
id
int64
0
886
original_context
stringlengths
648
56.6k
modified_context
stringlengths
587
47.6k
omitted_context
sequencelengths
0
19
omitted_index
sequencelengths
0
19
metadata
dict
0
diff --git a/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php b/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php index 09fbf4829e7..25549425b7c 100644 --- a/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php +++ b/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php @@ ...
diff --git a/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php b/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php index 09fbf4829e7..25549425b7c 100644 --- a/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php +++ b/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php @@ ...
[ "+ Line::create(['order_id' => $order->id, 'product_id' => $product2->id]);", "+ $serialized = serialize(new ModelRelationSerializationTestClass($order));", "+ public $timestamps = false;" ]
[ 40, 46, 63 ]
{ "additions": 48, "author": "AndrewMast", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55547", "issue_id": 55547, "merged_at": "2025-04-25T15:21:17Z", "omission_probability": 0.1, "pr_number": 55547, "repo": "laravel/framework", "title": "[12.x] Fix double query in model r...
1
diff --git a/src/Illuminate/Database/Eloquent/Collection.php b/src/Illuminate/Database/Eloquent/Collection.php index 05ec0d345a1..1c9dad35263 100755 --- a/src/Illuminate/Database/Eloquent/Collection.php +++ b/src/Illuminate/Database/Eloquent/Collection.php @@ -761,7 +761,7 @@ public function withRelationshipAutoloading...
diff --git a/src/Illuminate/Database/Eloquent/Collection.php b/src/Illuminate/Database/Eloquent/Collection.php index 05ec0d345a1..1c9dad35263 100755 --- a/src/Illuminate/Database/Eloquent/Collection.php +++ b/src/Illuminate/Database/Eloquent/Collection.php @@ -761,7 +761,7 @@ public function withRelationshipAutoloading...
[ "- $model->autoloadRelationsUsing($callback);", "+ $model->autoloadRelationsUsing($callback, $this);", "+ }" ]
[ 8, 9, 38 ]
{ "additions": 73, "author": "litvinchuk", "deletions": 9, "html_url": "https://github.com/laravel/framework/pull/55542", "issue_id": 55542, "merged_at": "2025-04-25T15:59:34Z", "omission_probability": 0.1, "pr_number": 55542, "repo": "laravel/framework", "title": "[12.x] Improve circular relation c...
2
diff --git a/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php b/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php index da004c83bc74..fd350e6fce6c 100644 --- a/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php +++ b/src/Illuminate/Database/Eloquent/F...
diff --git a/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php b/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php index da004c83bc74..fd350e6fce6c 100644 --- a/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php +++ b/src/Illuminate/Database/Eloquent/F...
[ "+ 'states' => $this->states->prepend(", "+ public function test_factory_model_has_one_relationship_has_pending_attributes_override()", "+ (new FactoryTestPostFactory())->has(new FactoryTestCommentFactory(), 'commentsWithFooBarBazAsBody')->create();", "+ (new FactoryTestPostFactory...
[ 32, 93, 116, 123, 142 ]
{ "additions": 99, "author": "gdebrauwer", "deletions": 4, "html_url": "https://github.com/laravel/framework/pull/55558", "issue_id": 55558, "merged_at": "2025-04-25T15:08:46Z", "omission_probability": 0.1, "pr_number": 55558, "repo": "laravel/framework", "title": "[12.x] Use pendingAttributes of re...
3
diff --git a/src/Illuminate/Mail/resources/views/html/panel.blade.php b/src/Illuminate/Mail/resources/views/html/panel.blade.php index 812db7c08e77..2975a60a021e 100644 --- a/src/Illuminate/Mail/resources/views/html/panel.blade.php +++ b/src/Illuminate/Mail/resources/views/html/panel.blade.php @@ -4,7 +4,7 @@ <table w...
diff --git a/src/Illuminate/Mail/resources/views/html/panel.blade.php b/src/Illuminate/Mail/resources/views/html/panel.blade.php index 812db7c08e77..2975a60a021e 100644 --- a/src/Illuminate/Mail/resources/views/html/panel.blade.php +++ b/src/Illuminate/Mail/resources/views/html/panel.blade.php @@ -4,7 +4,7 @@ <table w...
[ "+ protected $html;", "+| Laravel | Table | Example |" ]
[ 32, 82 ]
{ "additions": 145, "author": "jbraband", "deletions": 3, "html_url": "https://github.com/laravel/framework/pull/55543", "issue_id": 55543, "merged_at": "2025-04-25T08:31:51Z", "omission_probability": 0.1, "pr_number": 55543, "repo": "laravel/framework", "title": "[11.x] Fix `EncodedHtmlString` to i...
4
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index fc211e179a5..b27b7110909 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index fc211e179a5..b27b7110909 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
[ "+ public function testWhenRelationIsNull()" ]
[ 26 ]
{ "additions": 20, "author": "rodrigopedra", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55531", "issue_id": 55531, "merged_at": "2025-04-24T14:05:39Z", "omission_probability": 0.1, "pr_number": 55531, "repo": "laravel/framework", "title": "[12.x] Address Model@relationLoa...
5
diff --git a/src/Illuminate/Mail/Markdown.php b/src/Illuminate/Mail/Markdown.php index e8ec2defc4c4..54c9c2ece372 100644 --- a/src/Illuminate/Mail/Markdown.php +++ b/src/Illuminate/Mail/Markdown.php @@ -69,9 +69,25 @@ public function render($view, array $data = [], $inliner = null) $contents = $bladeCompiler->...
diff --git a/src/Illuminate/Mail/Markdown.php b/src/Illuminate/Mail/Markdown.php index e8ec2defc4c4..54c9c2ece372 100644 --- a/src/Illuminate/Mail/Markdown.php +++ b/src/Illuminate/Mail/Markdown.php @@ -69,9 +69,25 @@ public function render($view, array $data = [], $inliner = null) $contents = $bladeCompiler->...
[ "+ $contents = $this->view->replaceNamespace(", "+ }", "+ return $contents;", "+ str_replace('\\[', '[', $contents), $this->view->make($theme, $data)->render()", "+ }", "+ public function build()" ]
[ 22, 27, 29, 38, 54, 217 ]
{ "additions": 98, "author": "crynobone", "deletions": 16, "html_url": "https://github.com/laravel/framework/pull/55149", "issue_id": 55149, "merged_at": "2025-03-24T14:53:50Z", "omission_probability": 0.1, "pr_number": 55149, "repo": "laravel/framework", "title": "[11.x] Fix `Illuminate\\Support\\E...
6
diff --git a/src/Illuminate/Bus/Dispatcher.php b/src/Illuminate/Bus/Dispatcher.php index 32f917d796a6..0107b9e5acd4 100644 --- a/src/Illuminate/Bus/Dispatcher.php +++ b/src/Illuminate/Bus/Dispatcher.php @@ -51,6 +51,13 @@ class Dispatcher implements QueueingDispatcher */ protected $queueResolver; + /** ...
diff --git a/src/Illuminate/Bus/Dispatcher.php b/src/Illuminate/Bus/Dispatcher.php index 32f917d796a6..0107b9e5acd4 100644 --- a/src/Illuminate/Bus/Dispatcher.php +++ b/src/Illuminate/Bus/Dispatcher.php @@ -51,6 +51,13 @@ class Dispatcher implements QueueingDispatcher protected $queueResolver; + * Indicates if...
[]
[]
{ "additions": 69, "author": "gdebrauwer", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55456", "issue_id": 55456, "merged_at": "2025-04-24T19:45:06Z", "omission_probability": 0.1, "pr_number": 55456, "repo": "laravel/framework", "title": "[12.x] Option to disable dispatchA...
7
diff --git a/src/Illuminate/Notifications/NotificationSender.php b/src/Illuminate/Notifications/NotificationSender.php index c7e75fd851b2..46ef9e88cf15 100644 --- a/src/Illuminate/Notifications/NotificationSender.php +++ b/src/Illuminate/Notifications/NotificationSender.php @@ -6,11 +6,13 @@ use Illuminate\Contracts\T...
diff --git a/src/Illuminate/Notifications/NotificationSender.php b/src/Illuminate/Notifications/NotificationSender.php index c7e75fd851b2..46ef9e88cf15 100644 --- a/src/Illuminate/Notifications/NotificationSender.php +++ b/src/Illuminate/Notifications/NotificationSender.php @@ -6,11 +6,13 @@ use Illuminate\Contracts\T...
[ "+ public function testNotificationNotSentWhenFailed()", "+ $container->instance(Dispatcher::class, $events = m::mock(Dispatcher::class));", "+ foreach ($listeners as $listener) {" ]
[ 123, 150, 164 ]
{ "additions": 88, "author": "rodrigopedra", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55507", "issue_id": 55507, "merged_at": "2025-04-24T19:24:00Z", "omission_probability": 0.1, "pr_number": 55507, "repo": "laravel/framework", "title": "[12.x] Dispatch NotificationFail...
8
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 79a2f5d98cd..6893c1284e3 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 79a2f5d98cd..6893c1284e3 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
[ "+ if (! array_key_exists($relation, $this->relations)) {", "+ return false;", "+ }", "+use Illuminate\\Support\\Facades\\Schema;", "+ $this->assertFalse($model->relationLoaded('invalid'));", "+ $this->assertFalse($model->relationLoaded('twos.invalid'...
[ 18, 25, 26, 48, 81, 94 ]
{ "additions": 190, "author": "tmsperera", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55471", "issue_id": 55471, "merged_at": "2025-04-21T14:32:31Z", "omission_probability": 0.1, "pr_number": 55471, "repo": "laravel/framework", "title": "[12.x] Support nested relations on...
9
diff --git a/src/Illuminate/View/Compilers/Compiler.php b/src/Illuminate/View/Compilers/Compiler.php index dbd349e69e2..1e61eae9593 100755 --- a/src/Illuminate/View/Compilers/Compiler.php +++ b/src/Illuminate/View/Compilers/Compiler.php @@ -44,6 +44,13 @@ abstract class Compiler */ protected $compiledExtensi...
diff --git a/src/Illuminate/View/Compilers/Compiler.php b/src/Illuminate/View/Compilers/Compiler.php index dbd349e69e2..1e61eae9593 100755 --- a/src/Illuminate/View/Compilers/Compiler.php +++ b/src/Illuminate/View/Compilers/Compiler.php @@ -44,6 +44,13 @@ abstract class Compiler */ protected $compiledExtensi...
[ "+ *", "+ $this->shouldCheckTimestamps = $shouldCheckTimestamps;", "+ return false;", "+ }", "+ }" ]
[ 10, 38, 47, 48, 83 ]
{ "additions": 23, "author": "pizkaz", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55536", "issue_id": 55536, "merged_at": "2025-04-24T14:29:34Z", "omission_probability": 0.1, "pr_number": 55536, "repo": "laravel/framework", "title": "Add config option to ignore view cache...
10
diff --git a/src/Illuminate/Queue/BeanstalkdQueue.php b/src/Illuminate/Queue/BeanstalkdQueue.php index d1f64e98249..56e9c4e0664 100755 --- a/src/Illuminate/Queue/BeanstalkdQueue.php +++ b/src/Illuminate/Queue/BeanstalkdQueue.php @@ -125,7 +125,7 @@ public function later($delay, $job, $data = '', $queue = null) { ...
diff --git a/src/Illuminate/Queue/BeanstalkdQueue.php b/src/Illuminate/Queue/BeanstalkdQueue.php index d1f64e98249..56e9c4e0664 100755 --- a/src/Illuminate/Queue/BeanstalkdQueue.php +++ b/src/Illuminate/Queue/BeanstalkdQueue.php @@ -125,7 +125,7 @@ public function later($delay, $job, $data = '', $queue = null) diff --g...
[ "+ $this->createPayload($job, $queue ?: $this->default, $data, $delay),", "+ $query->shouldReceive('insertGetId')->once()->andReturnUsing(function ($array) use ($uuid, $time) {", "+ 'payload' => json_encode(['uuid' => $uuid, 'displayName' => 'foo', 'job' => 'foo', 'maxTries' => ...
[ 103, 195, 227, 366, 369 ]
{ "additions": 68, "author": "taylorotwell", "deletions": 22, "html_url": "https://github.com/laravel/framework/pull/55529", "issue_id": 55529, "merged_at": "2025-04-24T14:15:22Z", "omission_probability": 0.1, "pr_number": 55529, "repo": "laravel/framework", "title": "Add payload creation and origin...
11
diff --git a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php index 4142572207af..7451491cbaf9 100755 --- a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php @@ -436,6 +43...
diff --git a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php index 4142572207af..7451491cbaf9 100755 --- a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php @@ -436,6 +43...
[ "+ return $instances;" ]
[ 22 ]
{ "additions": 28, "author": "onlime", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55262", "issue_id": 55262, "merged_at": "2025-04-04T16:27:04Z", "omission_probability": 0.1, "pr_number": 55262, "repo": "laravel/framework", "title": "[12.x] Add createMany mass-assignment ...
12
diff --git a/src/Illuminate/View/Compilers/BladeCompiler.php b/src/Illuminate/View/Compilers/BladeCompiler.php index 48e5d734d90f..b17bde52bce7 100644 --- a/src/Illuminate/View/Compilers/BladeCompiler.php +++ b/src/Illuminate/View/Compilers/BladeCompiler.php @@ -193,7 +193,17 @@ public function compile($path = null) ...
diff --git a/src/Illuminate/View/Compilers/BladeCompiler.php b/src/Illuminate/View/Compilers/BladeCompiler.php index 48e5d734d90f..b17bde52bce7 100644 --- a/src/Illuminate/View/Compilers/BladeCompiler.php +++ b/src/Illuminate/View/Compilers/BladeCompiler.php @@ -193,7 +193,17 @@ public function compile($path = null) ...
[ "+ $compiledHash = $this->files->hash($compiledPath, 'sha256');" ]
[ 15 ]
{ "additions": 42, "author": "pizkaz", "deletions": 2, "html_url": "https://github.com/laravel/framework/pull/55450", "issue_id": 55450, "merged_at": "2025-04-21T14:13:20Z", "omission_probability": 0.1, "pr_number": 55450, "repo": "laravel/framework", "title": "Update compiled views only if they act...
13
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 6893c1284e3..fc211e179a5 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 6893c1284e3..fc211e179a5 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
[ "+ $relatedModels = is_iterable($relatedModels = $this->$relation)", "+ {", "+ $this->assertTrue($model->relationLoaded('two'));", "+ $this->assertTrue($model->two->is($two));" ]
[ 9, 27, 36, 37 ]
{ "additions": 21, "author": "rodrigopedra", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55519", "issue_id": 55519, "merged_at": "2025-04-23T13:13:45Z", "omission_probability": 0.1, "pr_number": 55519, "repo": "laravel/framework", "title": "[12.x] Ensure related models is ...
14
diff --git a/src/Illuminate/Testing/AssertableJsonString.php b/src/Illuminate/Testing/AssertableJsonString.php index 0bf221bea0da..d089ab071dc3 100644 --- a/src/Illuminate/Testing/AssertableJsonString.php +++ b/src/Illuminate/Testing/AssertableJsonString.php @@ -12,6 +12,8 @@ use Illuminate\Testing\Assert as PHPUnit; ...
diff --git a/src/Illuminate/Testing/AssertableJsonString.php b/src/Illuminate/Testing/AssertableJsonString.php index 0bf221bea0da..d089ab071dc3 100644 --- a/src/Illuminate/Testing/AssertableJsonString.php +++ b/src/Illuminate/Testing/AssertableJsonString.php @@ -12,6 +12,8 @@ use Illuminate\Testing\Assert as PHPUnit; ...
[ "+use function Illuminate\\Support\\enum_value;", "+ 'data' => ['status' => 'booked']," ]
[ 8, 33 ]
{ "additions": 29, "author": "azim-kordpour", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55516", "issue_id": 55516, "merged_at": "2025-04-23T13:17:11Z", "omission_probability": 0.1, "pr_number": 55516, "repo": "laravel/framework", "title": "[12.x] Add Enum support for ass...
15
diff --git a/src/Illuminate/Database/MigrationServiceProvider.php b/src/Illuminate/Database/MigrationServiceProvider.php index cab266bb2f9..037106c7357 100755 --- a/src/Illuminate/Database/MigrationServiceProvider.php +++ b/src/Illuminate/Database/MigrationServiceProvider.php @@ -82,6 +82,8 @@ protected function regist...
diff --git a/src/Illuminate/Database/MigrationServiceProvider.php b/src/Illuminate/Database/MigrationServiceProvider.php index cab266bb2f9..037106c7357 100755 --- a/src/Illuminate/Database/MigrationServiceProvider.php +++ b/src/Illuminate/Database/MigrationServiceProvider.php @@ -82,6 +82,8 @@ protected function regist...
[ "+ {" ]
[ 37 ]
{ "additions": 19, "author": "cosmastech", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55501", "issue_id": 55501, "merged_at": "2025-04-22T13:50:14Z", "omission_probability": 0.1, "pr_number": 55501, "repo": "laravel/framework", "title": "[12.x] Allow Container to build `M...
16
diff --git a/src/Illuminate/Cache/MemoizedStore.php b/src/Illuminate/Cache/MemoizedStore.php index 9888810de6d7..d899ef09d609 100644 --- a/src/Illuminate/Cache/MemoizedStore.php +++ b/src/Illuminate/Cache/MemoizedStore.php @@ -75,12 +75,17 @@ public function many(array $keys) }); } - $res...
diff --git a/src/Illuminate/Cache/MemoizedStore.php b/src/Illuminate/Cache/MemoizedStore.php index 9888810de6d7..d899ef09d609 100644 --- a/src/Illuminate/Cache/MemoizedStore.php +++ b/src/Illuminate/Cache/MemoizedStore.php @@ -75,12 +75,17 @@ public function many(array $keys) }); } - $resul...
[ "+ $this->assertSame([" ]
[ 48 ]
{ "additions": 37, "author": "bmckay959", "deletions": 5, "html_url": "https://github.com/laravel/framework/pull/55503", "issue_id": 55503, "merged_at": "2025-04-22T13:45:35Z", "omission_probability": 0.1, "pr_number": 55503, "repo": "laravel/framework", "title": "Bugfix for Cache::memo()->many() re...
17
diff --git a/src/Illuminate/Broadcasting/BroadcastEvent.php b/src/Illuminate/Broadcasting/BroadcastEvent.php index c4da0faab220..7c03641ace53 100644 --- a/src/Illuminate/Broadcasting/BroadcastEvent.php +++ b/src/Illuminate/Broadcasting/BroadcastEvent.php @@ -50,6 +50,13 @@ class BroadcastEvent implements ShouldQueue ...
diff --git a/src/Illuminate/Broadcasting/BroadcastEvent.php b/src/Illuminate/Broadcasting/BroadcastEvent.php index c4da0faab220..7c03641ace53 100644 --- a/src/Illuminate/Broadcasting/BroadcastEvent.php +++ b/src/Illuminate/Broadcasting/BroadcastEvent.php @@ -50,6 +50,13 @@ class BroadcastEvent implements ShouldQueue ...
[]
[]
{ "additions": 16, "author": "L3o-pold", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55508", "issue_id": 55508, "merged_at": "2025-04-22T13:44:53Z", "omission_probability": 0.1, "pr_number": 55508, "repo": "laravel/framework", "title": "Allow Listeners to dynamically speci...
18
diff --git a/src/Illuminate/Contracts/Validation/InvokableRule.php b/src/Illuminate/Contracts/Validation/InvokableRule.php index bed9ed567fb4..17c296446945 100644 --- a/src/Illuminate/Contracts/Validation/InvokableRule.php +++ b/src/Illuminate/Contracts/Validation/InvokableRule.php @@ -14,7 +14,7 @@ interface Invokable...
diff --git a/src/Illuminate/Contracts/Validation/InvokableRule.php b/src/Illuminate/Contracts/Validation/InvokableRule.php index bed9ed567fb4..17c296446945 100644 --- a/src/Illuminate/Contracts/Validation/InvokableRule.php +++ b/src/Illuminate/Contracts/Validation/InvokableRule.php @@ -14,7 +14,7 @@ interface Invokable...
[ "+use function PHPStan\\Testing\\assertType;", "+};" ]
[ 62, 70 ]
{ "additions": 17, "author": "axlon", "deletions": 4, "html_url": "https://github.com/laravel/framework/pull/52870", "issue_id": 52870, "merged_at": "2024-09-22T15:08:08Z", "omission_probability": 0.1, "pr_number": 52870, "repo": "laravel/framework", "title": "[11.x] Fix validation rule type hints",...
End of preview. Expand in Data Studio

AbsenceBench: Language Models Can't Tell What's Missing

[paper] [code]

Dataset Card for AbsenceBench

AbsenceBench covers three distinct domains:

  • Poetry (realistic)
  • Numerical sequences (synthetic)
  • GitHub pull requests (realistic)

There are 4302 instances in total, with an average context length of 5K tokens.

Data Structure

Each domain contains the following features:

  • original_context: string
  • modified_context: string
  • omitted_context: List[string]
  • omitted_index: List[int]
  • metadata: Dict Extra information regarding the dataset generation

Data Split

Currently we provide only the validation split. Since all instances of AbsenceBench natually come up with labeled answers according to the task setting, we will not be able to provide an unlabeled test split.

Dataset Construction

We provide the source data for generating the poetry domain, originally from the Gutenberg Poetry Corpus in the poetry_raw subset. Please refer to this repo for scripts and more information.

Citation

If you find this work useful, please cite our paper:

@misc{fu2025absencebenchlanguagemodelscant,
      title={AbsenceBench: Language Models Can't Tell What's Missing}, 
      author={Harvey Yiyun Fu and Aryan Shrivastava and Jared Moore and Peter West and Chenhao Tan and Ari Holtzman},
      year={2025},
      eprint={2506.11440},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2506.11440}, 
}
Downloads last month
137

Paper for harveyfin/AbsenceBench