| Time |
Nick |
Message |
| 00:22 |
ireallyhateirc |
is making a PR made with Github Copilot fine as long as the code works and is documented? |
| 00:23 |
rubenwardy |
our AI policy can be found in the contributing.md |
| 00:24 |
rubenwardy |
tl;dr (1) you must disclose (2) it's fine but you are responsible for the change like any other - "but the AI wrote it" is no excuse |
| 00:29 |
ireallyhateirc |
I'm not really good at C++ but I can: 1. check if the code works 2. do a basic review (distinguish spaghetti code from ok code) 3. ask it to correct/explain some questionable things 4. rerun the model with additional info when things break |
| 00:29 |
ireallyhateirc |
that said I know lua but C++ only partially |
| 00:29 |
ireallyhateirc |
I've been testing Copilots's most advanced models and got working/good results in most cases as far as my understanding goes |
| 00:30 |
ireallyhateirc |
One example being the last commit in this PR: https://github.com/luanti-org/luanti/pull/15730 |
| 00:31 |
ireallyhateirc |
example prompt: "Write core.generate_caves analogically to core.generate_biomes(), core.generate_ores(), core.generate_decorations(), and core.generate_biome_dust(). See how caves are generated in different mapgens (v7, v5, etc.). Make sure that caves are actually generated and applied to by vmanip." |
| 00:34 |
ireallyhateirc |
I also tried it with the mapblock callback thing: https://github.com/kromka-chleba/minetest/pull/14 |
| 00:34 |
ireallyhateirc |
then asked it to write an example mod and it appears to 100% work |
| 00:35 |
ireallyhateirc |
but yeah if that's fine with you then I'll probably try solving some issues that have been bugging me |
| 01:28 |
|
Sompi joined #luanti |
| 03:09 |
|
sparky4 joined #luanti |