Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T04:49:46.529Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

crates/edit_prediction_cli/evals/hello-world--rename-accepted-group-by.md

1.6 KB

+++ repository_url = "https://github.com/octocat/hello-world" revision = "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d" +++

Edit History

--- a/README
+++ b/README
@@ -1,1 +1,6 @@
-Hello World!
+function filterByStatus(items, status) {
+    return items.filter(item => item.status === status);
+}
+
+function groupBy
+

// User accepted prediction:

--- a/README
+++ b/README
@@ -4,3 +4,9 @@
 
-function groupBy
+function groupByStatus(items) {
+    return items.reduce((groups, item) => {
+        const key = item.status;
+        (groups[key] = groups[key] || []).push(item);
+        return groups;
+    }, {});
+}
 
--- a/README
+++ b/README
@@ -4,4 +4,4 @@
 
-function groupByStatus(items) {
+function groupByCat(items) {
     return items.reduce((groups, item) => {

Cursor Position

function filterByStatus(items, status) {
    return items.filter(item => item.status === status);
}

function groupByCat(items) {
#                  ^[CURSOR_POSITION]
    return items.reduce((groups, item) => {
        const key = item.status;
        (groups[key] = groups[key] || []).push(item);
        return groups;
    }, {});
}

Expected Patch

--- a/README
+++ b/README
@@ -5,7 +5,7 @@
-function groupByCat(items) {
+function groupByCategory(items) {
#                        ^[CURSOR_POSITION]
     return items.reduce((groups, item) => {
-        const key = item.status;
+        const key = item.category;
         (groups[key] = groups[key] || []).push(item);
         return groups;
     }, {});
Served at tenant.openagents/omega Member data and write actions are omitted.