liberu-genealogy / genealogy-laravel

Full genealogy application using Laravel 11, PHP 8.3, Filament 3.2 and Livewire 3.5
https://www.liberu.net
MIT License
125 stars 57 forks source link

Sweep: #345

Closed curtisdelicata closed 7 months ago

curtisdelicata commented 7 months ago

Details

write tests for:

app/Filament/Resources/AddrResource.php app/Filament/Resources/AuthorResource.php app/Filament/Resources/ChanResource.php app/Filament/Resources/CitationResource.php app/Filament/Resources/DnaMatchingResource.php

Checklist - [X] Create `tests/Filament/Resources/AddrResourceTest.php` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/63f912f2e8854e2976c940c12c8277a3997a352a [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/AddrResourceTest.php) - [X] Running GitHub Actions for `tests/Filament/Resources/AddrResourceTest.php` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/AddrResourceTest.php) - [X] Create `tests/Filament/Resources/AuthorResourceTest.php` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/bd9ba529b60f1b3c100904f988aca215d7cc3104 [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/AuthorResourceTest.php) - [X] Running GitHub Actions for `tests/Filament/Resources/AuthorResourceTest.php` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/AuthorResourceTest.php) - [X] Create `tests/Filament/Resources/ChanResourceTest.php` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/4024df5b5b60b8459ace6dc33ef5953a1f58ea49 [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/ChanResourceTest.php) - [X] Running GitHub Actions for `tests/Filament/Resources/ChanResourceTest.php` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/ChanResourceTest.php) - [X] Create `tests/Filament/Resources/CitationResourceTest.php` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/4471d02778eb78a28c1398c5c2b2ec2043285b2f [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/CitationResourceTest.php) - [X] Running GitHub Actions for `tests/Filament/Resources/CitationResourceTest.php` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/CitationResourceTest.php) - [X] Create `tests/Filament/Resources/DnaMatchingResourceTest.php` ✓ https://github.com/liberu-genealogy/genealogy-laravel/commit/bf8b8d2bc72e30837ed61fc947a03519df2c08fc [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/DnaMatchingResourceTest.php) - [X] Running GitHub Actions for `tests/Filament/Resources/DnaMatchingResourceTest.php` ✓ [Edit](https://github.com/liberu-genealogy/genealogy-laravel/edit/sweep/_6b75d/tests/Filament/Resources/DnaMatchingResourceTest.php)
sweep-ai[bot] commented 7 months ago

🚀 Here's the PR! #364

See Sweep's progress at the progress dashboard!
💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID: a1eb886794)

[!TIP] I'll email you at genealogysoftwareuk@gmail.com when I complete this pull request!


Actions (click)

GitHub Actions failed

The sandbox appears to be unavailable or down.


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/liberu-genealogy/genealogy-laravel/blob/d849d5ef6c48a1122afb8ec1d564de97fc81fb59/app/Filament/Resources/AddrResource.php#L1-L89 https://github.com/liberu-genealogy/genealogy-laravel/blob/d849d5ef6c48a1122afb8ec1d564de97fc81fb59/app/Filament/Resources/AuthorResource.php#L1-L81 https://github.com/liberu-genealogy/genealogy-laravel/blob/d849d5ef6c48a1122afb8ec1d564de97fc81fb59/app/Filament/Resources/ChanResource.php#L1-L82 https://github.com/liberu-genealogy/genealogy-laravel/blob/d849d5ef6c48a1122afb8ec1d564de97fc81fb59/app/Filament/Resources/CitationResource.php#L1-L108 https://github.com/liberu-genealogy/genealogy-laravel/blob/d849d5ef6c48a1122afb8ec1d564de97fc81fb59/app/Filament/Resources/DnaMatchingResource.php#L1-L104

Step 2: ⌨️ Coding

Ran GitHub Actions for 63f912f2e8854e2976c940c12c8277a3997a352a:

Ran GitHub Actions for bd9ba529b60f1b3c100904f988aca215d7cc3104:

Ran GitHub Actions for 4024df5b5b60b8459ace6dc33ef5953a1f58ea49:

Ran GitHub Actions for 4471d02778eb78a28c1398c5c2b2ec2043285b2f:

Ran GitHub Actions for bf8b8d2bc72e30837ed61fc947a03519df2c08fc:


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/_6b75d.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.Something wrong? Let us know.

This is an automated message generated by Sweep AI.