lispm-llm / contrastive_data.py
Ryan.K
Publish LispM Emacs agent harness classifier
6ae9156 unverified
Raw History Blame Contribute Delete
48.3 kB
"""Development contrast sets for operation, target, direction and argument intent.
These authored examples are training/calibration additions, not an independent
benchmark. Each supported family has eight training bases and three separately
phrased calibration bases. Close/delete operations have ordinary positive
paraphrases alongside near-miss copy, duplicate, replace and target variants;
the rejection class must not learn that every unusual verb or noun is unsafe.
NAME denotes one separately parsed string. The existing dataset builder applies
its common wrappers and vocabulary variants. Nothing here is an inference
lookup table or a runtime keyword policy, and no evaluation file is read.
HARD_TRAINING_ROWS contains only the new training bases for optional balanced
extra sampling; calibration examples never enter that pool.
"""
TRAINING_FAMILIES = {
'split-window-right': (
'make an extra editing pane to the right of this pane',
'divide the selected pane with the new half on its right',
'give me a second editing window on the right',
'place a newly split pane beside the current one to its right',
'form a right side pane from the current window',
'split off an editing pane on the right hand side',
'add another view immediately right of this editing window',
'create a rightward split of the focused pane',
),
'split-window-below': (
'make an extra editing pane underneath this pane',
'divide the selected pane with the new half underneath',
'give me a second editing window below the current one',
'place a newly split pane beneath the current editing window',
'form a lower pane from the selected window',
'split off an editing pane underneath this one',
'add another view directly below this editing pane',
'create a downward split of the focused pane',
),
'other-window': (
'hand editing focus to the next pane in sequence',
'advance editing focus by one window position',
'put me in the next window of the editing layout',
'choose the succeeding editing pane',
'step once forward in the editor window cycle',
'transfer selection to the following editor window',
'activate whichever editing pane comes next in order',
'let me edit in the window immediately following this one',
),
'delete-other-windows': (
'remove the sibling editing panes to leave this pane alone',
'let this selected editing window occupy the entire frame',
'dismiss every editing pane apart from the one in focus',
'collapse all other editing windows around this one',
'give the whole editor frame to the focused window',
'retain just the pane where i am editing',
'clear away the other panes to expand this editing window',
'leave the focused pane as the single editing view',
),
'balance-windows': (
'distribute the available editor space evenly among all panes',
'bring all editing windows to balanced dimensions',
'equalize how much frame space each editing pane receives',
'adjust every pane so the layout has equal sizes',
'give the editing windows matching shares of the frame',
'make the space allocation across panes even again',
'normalize the sizes of all editing windows together',
'resize the full pane layout into equal portions',
),
'beginning-of-buffer': (
'send point to the opening position of this buffer',
'place the insertion point at the very start of the entire buffer',
'navigate all the way to the buffer beginning',
'take the editing cursor to this buffer initial position',
'move point to where the complete buffer starts',
'jump to the earliest character position in the current buffer',
'return the cursor to the beginning of the whole buffer',
'bring point to the top boundary of the buffer',
),
'end-of-buffer': (
'send point to the closing position of this buffer',
'place the insertion point at the very end of the entire buffer',
'navigate all the way to the buffer ending',
'take the editing cursor to this buffer final position',
'move point to where the complete buffer finishes',
'jump past the final character of the current buffer',
'bring the cursor to the ending of the whole buffer',
'bring point to the bottom boundary of the buffer',
),
'switch-to-buffer': (
'choose the existing buffer called NAME for this window',
'make the displayed editing buffer be NAME',
'bring the named buffer NAME into the selected editing pane',
'let this window display the buffer known as NAME',
'change my editing context to buffer NAME',
'select NAME as the buffer in this pane',
'activate the editing buffer bearing the name NAME',
'take me into the buffer whose name is NAME',
),
'previous-window': (
'hand editing focus to the previous pane in sequence',
'move editing focus back by one window position',
'put me in the preceding window of the editing layout',
'choose the preceding editing pane',
'step once backward in the editor window cycle',
'transfer selection to the preceding editor window',
'activate whichever editing pane comes immediately earlier in order',
'let me edit in the window immediately preceding this one',
),
'delete-window': (
'dismiss the editing pane i currently have selected',
'remove only the focused editor window from this layout',
'shut the selected editing pane',
'close the pane where the editing cursor is active',
'get rid of this particular editing window',
'take the currently selected pane out of the editor layout',
'drop only the active editing window from the pane layout',
'remove this editing view from the frame',
),
'save-buffer': (
'write the active editing buffer back to its associated file',
'persist the changes in this buffer to its existing disk file',
'store the current edited contents in the visited file',
'save what i have edited in the selected buffer',
'flush the modifications in this buffer to its file',
'record these buffer changes on disk now',
'update the existing file with the current buffer contents',
'write out the edits from the buffer currently in use',
),
'undo-only': (
'reverse the most recent modification to the active buffer',
'take one backward step through the editing history',
'remove the effect of my most recent buffer edit',
'undo a single editing change here',
'restore the buffer state preceding the last modification',
'roll back exactly one recent edit in this buffer',
'take back the change i most recently applied',
'reverse the latest editing modification',
),
'undo-redo': (
'reinstate the edit that the latest undo removed',
'take one forward step through the redo history',
'restore the effect of my most recently undone edit',
'redo a single undone change here',
'bring back the buffer modification that was just reversed',
'reapply exactly one edit from the undo reversal history',
'put back the change i most recently undid',
'reverse the latest undo operation on this buffer',
),
'beginning-of-line': (
'move point to the opening position of the line under the cursor',
'place the insertion point at this line left boundary',
'navigate to the first position in the current text line',
'bring the editing cursor to the start of this single line',
'go directly to where the line containing point starts',
'return point to column zero on the same line',
'position the cursor at the beginning of the line being edited',
'travel to the start boundary of the current line',
),
'end-of-line': (
'move point to the closing position of the line under the cursor',
'place the insertion point at this line right boundary',
'navigate to the final position in the current text line',
'bring the editing cursor to the end of this single line',
'go directly to where the line containing point finishes',
'position point just past the last character on the same line',
'position the cursor at the ending of the line being edited',
'travel to the end boundary of the current line',
),
'forward-word': (
'advance the insertion point across a single word',
'take the editing cursor one word farther forward',
'move point ahead using a single word motion',
'travel one word forward from the present cursor position',
'jump the insertion point forward by one word unit',
'step ahead across one word in the buffer',
'send the cursor forward through the next word',
'make one forward word movement here',
),
'backward-word': (
'retreat the insertion point across a single word',
'take the editing cursor one word farther backward',
'move point back using a single word motion',
'travel one word backward from the present cursor position',
'jump the insertion point backward by one word unit',
'step back across one word in the buffer',
'send the cursor backward through the preceding word',
'make one backward word movement here',
),
'scroll-up-command': (
'advance the editor view by a full screenful',
'reveal the next page of text in this editing pane',
'move the viewport a page toward the buffer ending',
'scroll farther down the buffer by one screen',
'show the screenful immediately following this one',
'page onward through the text in the current window',
'take the displayed buffer region one page forward',
'let me read the next full page in this pane',
),
'scroll-down-command': (
'retreat the editor view by a full screenful',
'reveal the previous page of text in this editing pane',
'move the viewport a page toward the buffer beginning',
'scroll farther up the buffer by one screen',
'show the screenful immediately preceding this one',
'page backward through the text in the current window',
'take the displayed buffer region one page back',
'let me read the previous full page in this pane',
),
'mark-whole-buffer': (
'make all characters in the active buffer part of the region',
'select the buffer from its beginning through its end',
'mark the entire text currently held in this buffer',
'set a selection spanning the complete editing buffer',
'highlight this buffer in full',
'include every character of the current buffer in the selection',
'make the active region encompass the whole buffer',
'select all contents of the buffer being edited',
),
'yank': (
'insert the newest killed text at the current insertion point',
'paste the most recently copied contents right here',
'put the current kill ring text into this editing buffer',
'yank the top kill ring item into the current location',
'retrieve the latest copied text at point',
'paste what was most recently put in the kill ring',
'insert the currently available clipboard text at this cursor',
'bring the latest saved kill into the buffer here',
),
'kill-line': (
'cut the line content starting at point through its ending',
'delete the text to the right of point on this line',
'remove this line remaining characters from the cursor onward',
'erase the suffix of the line where i am editing',
'kill everything from point through the remaining line contents',
'trim away the current line portion following point',
'cut off the text from the insertion point to line end',
'clear the current line tail beginning at the cursor',
),
'find-file': (
'visit the existing file found at path NAME',
'bring the file at NAME into the current editing window',
'begin editing the on disk file named NAME',
'open NAME as an editable file buffer',
'read the existing file NAME into the editor',
'select the filesystem file NAME for editing',
'show the file stored at path NAME in an editing buffer',
'take me into an editing buffer for file NAME',
),
'search-forward': (
'find the following literal occurrence of NAME from here',
'look ahead from point for the string NAME',
'seek the next text match for NAME in this buffer',
'search onward from the current cursor for literal NAME',
'advance point to a following occurrence of the string NAME',
'locate the next matching text NAME within this buffer',
'scan the remaining buffer text forward for NAME',
'perform a literal forward lookup of NAME from point',
),
'lispm-finder-home': (
'bring finder up at my home location',
'show the file manager with the home directory selected',
'return the finder view to my home folder',
'take the file manager directly to home',
'display my home directory through finder',
'launch the folder browsing app at home',
'show finder starting in the home directory',
'bring my home folder into the file manager',
),
'lispm-finder-open-directory': (
'navigate the file manager into the directory NAME',
'show the existing folder at NAME using finder',
'list the directory NAME in the finder interface',
'take the finder view to the folder path NAME',
'browse the contents of the existing directory NAME',
'bring folder NAME into the file manager view',
'open NAME as a directory listing in finder',
'display the folder located at NAME in the folder browser',
),
'lispm-finder-back': (
'step once backward along the finder location history',
'restore the directory finder visited immediately earlier',
'move the file manager history back one entry',
'return to the preceding location recorded by finder',
'show the earlier folder from finder navigation history',
'back up one visit in the file manager',
'take finder to its preceding history entry',
'navigate the folder browser backward by one visit',
),
'lispm-finder-forward': (
'step once forward along the finder location history',
'restore the directory next in finder forward history',
'move the file manager history ahead one entry',
'advance to the succeeding location recorded by finder',
'show the later folder from finder forward history',
'advance one visit in the file manager history',
'take finder to its succeeding history entry',
'navigate the folder browser forward by one visit',
),
'lispm-finder-up': (
'ascend from this finder directory to its parent',
'show the folder that directly contains the current finder folder',
'move the file manager outward by one directory level',
'take finder into the enclosing directory',
'browse one directory level above the folder shown now',
'open the parent of the directory being browsed',
'go from this folder to its immediate containing folder',
'climb one folder level in the finder view',
),
'lispm-finder-refresh': (
'rescan the contents of the directory finder is showing',
'reread the file list for the currently browsed folder',
'fetch a fresh listing of this finder directory',
'update the displayed directory entries in the file manager',
'reload this folder listing from the filesystem',
'show the current directory contents again with updated entries',
'refresh the list of files in the selected finder folder',
'make the folder browser reread its current location',
),
'lispm-finder-new-folder': (
'create a fresh child folder with basename NAME',
'add an empty directory called NAME within the current finder folder',
'make a new child folder NAME here in the file manager',
'create a subfolder bearing the name NAME in this location',
'put a new empty folder called NAME in the browsed directory',
'add a newly created child directory with name NAME',
'make an empty subdirectory NAME under the current folder',
'create the folder named NAME inside the finder location',
),
'lispm-browser': (
'bring the web browsing application into view',
'display the built in web browsing interface',
'show the browser app panel now',
'open up the application used for web browsing',
'bring the browser workspace onto the desktop',
'launch the integrated web browsing app',
'let me see the browser application interface',
'show the web browser workspace on screen',
),
'lispm-browser-open-url': (
'navigate the displayed browser tab directly to url NAME',
'visit the web location identified by NAME',
'load the address NAME as a page in the browser',
'point the current web tab at NAME',
'show the website located at the address NAME',
'take the browser to the web address supplied as NAME',
'open the http address NAME in the browsing app',
'use the current browser view to visit NAME',
),
'lispm-browser-back': (
'step back one entry in this tab browsing history',
'restore the web page visited immediately earlier in this tab',
'return the shown browser tab to its preceding history page',
'take one backward navigation step in the browser',
'show the previous location from this tab page history',
'navigate the active web tab back by one visit',
'revisit the page just behind this one in browser history',
'move the current browsing history position backward once',
),
'lispm-browser-forward': (
'step forward one entry in this tab browsing history',
'restore the web page available next in this tab forward history',
'advance the shown browser tab to its succeeding history page',
'take one forward navigation step in the browser',
'show the next location from this tab forward history',
'navigate the active web tab forward by one visit',
'revisit the page just ahead in browser forward history',
'move the current browsing history position forward once',
),
'lispm-browser-reload': (
'request the page displayed in this web tab again',
'fetch a fresh copy of the current browser page',
'reload the site currently shown by the web browser',
'refresh the existing page in the selected web tab',
'make the browser retrieve its current url again',
'reload the content already open in this browser tab',
'update this displayed website by loading it again',
'refresh the web page that has browser focus',
),
'lispm-browser-new-tab': (
'add an unused blank web tab to the browser',
'make a browsing tab containing a blank page',
'create a separate fresh tab with an empty page',
'give the browser an additional blank tab',
'open up a fresh blank browsing tab',
'start another browser tab on an empty page',
'append a newly opened blank tab to the browser',
'create a clean web tab starting with nothing loaded',
),
'lispm-browser-next-tab': (
'move browser selection to the next existing tab',
'activate the succeeding tab in the browser tab sequence',
'pass web browsing focus to the following tab',
'choose the browser tab immediately following this one',
'cycle one tab forward in the web browsing application',
'display the next already open web tab',
'take me to the following tab in this browser',
'advance the active browser tab selection once',
),
'lispm-browser-previous-tab': (
'move browser selection to the previous existing tab',
'activate the preceding tab in the browser tab sequence',
'pass web browsing focus to the preceding tab',
'choose the browser tab immediately preceding this one',
'cycle one tab backward in the web browsing application',
'display the previous already open web tab',
'take me to the preceding tab in this browser',
'retreat the active browser tab selection once',
),
'lispm-browser-close-shown-tab': (
'shut the web tab currently on screen',
'discard just the visible browser tab',
'remove this browsing tab from the tab bar',
'dismiss the selected web page tab',
'close the foreground browsing tab',
'get the currently viewed tab out of the browser',
'shut only this web browser tab',
'retire the active browsing tab',
),
'lispm-stickies': (
'bring the sticky note application into view',
'display the workspace for my sticky notes',
'open the panel showing the stickies application',
'let me see the sticky note app interface',
'launch the application for desktop sticky notes',
'bring the stickies workspace onto the screen',
'show the desktop sticky note application',
'open up the existing stickies workspace',
),
'lispm-stickies-new-note': (
'create a fresh sticky carrying the literal text NAME',
'add a newly written sticky note whose contents are NAME',
'make a separate note in stickies containing NAME',
'put the supplied text NAME onto a new sticky',
'write a fresh desktop note containing the words NAME',
'create an additional sticky filled with NAME',
'add a new note to the stickies workspace with text NAME',
'make a fresh stickies card saying NAME',
),
'lispm-stickies-next-note': (
'move the stickies selection to the next existing note',
'activate the succeeding note in the sticky note cycle',
'show the sticky immediately following the selected one',
'pass note focus forward once in stickies',
'advance to the following desktop sticky',
'choose the next already created stickies note',
'cycle ahead by one note in the stickies application',
'bring the following note into focus in stickies',
),
'lispm-stickies-previous-note': (
'move the stickies selection to the previous existing note',
'activate the preceding note in the sticky note cycle',
'show the sticky immediately preceding the selected one',
'pass note focus backward once in stickies',
'retreat to the preceding desktop sticky',
'choose the previous already created stickies note',
'cycle back by one note in the stickies application',
'bring the preceding note into focus in stickies',
),
'lispm-rotom': (
'bring the rotom application interface into view',
'display the rotom app workspace',
'open up the rotom application panel',
'show the rotom user interface on screen',
'launch the rotom desktop application',
'let me see the rotom application window',
'bring up the main rotom interface',
'show the workspace belonging to rotom',
),
'lispm-comfyui': (
'bring the comfyui application interface into view',
'display the comfyui app workspace',
'open up the comfyui application panel',
'show the comfyui user interface on screen',
'launch the comfyui desktop application',
'let me see the comfyui application window',
'bring up the main comfyui interface',
'show the workspace belonging to comfyui',
),
'lispm-office': (
'bring the office application interface into view',
'display the office app workspace',
'open up the office application panel',
'show the office user interface on screen',
'launch the office desktop application',
'let me see the office application window',
'bring up the main office interface',
'show the workspace belonging to office',
),
'lispm-mail': (
'bring the mail application interface into view',
'display the mail app workspace',
'open up the mail application panel',
'show the mail user interface on screen',
'launch the mail desktop application',
'let me see the mail application window',
'bring up the main mail interface',
'show the workspace belonging to mail',
),
}
CALIBRATION_FAMILIES = {
'split-window-right': (
'produce a second editing view on the right of the focused pane',
'divide this editor window by placing its new pane to the right',
'let the selected pane gain a new right hand neighbor',
),
'split-window-below': (
'produce a second editing view beneath the focused pane',
'divide this editor window by placing its new pane underneath',
'let the selected pane gain a new lower neighbor',
),
'other-window': (
'shift editor focus onward to the subsequent pane',
'continue with the next window in the editor cycle',
'move editing selection ahead by a single window',
),
'delete-other-windows': (
'let the focused editing view become the only remaining pane',
'dismiss the neighboring panes to leave this editing pane alone',
'use the complete frame for the currently focused editing window',
),
'balance-windows': (
'allocate the editing area evenly to all visible panes',
'arrange for every window to receive an equal amount of space',
'correct the uneven pane sizes across this editor frame',
),
'beginning-of-buffer': (
'relocate the insertion point to the initial buffer boundary',
'go to the absolute beginning of the text in this buffer',
'move the cursor to the buffer opening boundary',
),
'end-of-buffer': (
'relocate the insertion point to the final buffer boundary',
'go to the absolute end of the text in this buffer',
'move the cursor to the buffer closing boundary',
),
'switch-to-buffer': (
'put the editing buffer named NAME into this selected view',
'use the buffer known as NAME for the active editing pane',
'change the buffer shown here to the one called NAME',
),
'previous-window': (
'shift editor focus back to the preceding pane',
'continue with the previous window in the editor cycle',
'move editing selection backward by a single window',
),
'delete-window': (
'dismiss just the currently focused editing view',
'remove the editor pane that is selected right now',
'shut down only this pane in the editor layout',
),
'save-buffer': (
'persist this edited buffer back into the file it visits',
'commit the present buffer modifications to the associated disk file',
'store the latest contents of the buffer being edited on disk',
),
'undo-only': (
'back out one modification from the buffer edit history',
'remove the last applied editing change from this buffer',
'return the edited text to its state preceding the latest change',
),
'undo-redo': (
'reinstate one modification from the redo history',
'restore the last editing change removed by an undo',
'recover the edited text change that was just undone',
),
'beginning-of-line': (
'relocate point to the opening boundary of the current line',
'move the cursor all the way to this line beginning',
'put the insertion point at the initial position of the same line',
),
'end-of-line': (
'relocate point to the closing boundary of the current line',
'move the cursor all the way to this line ending',
'put the insertion point at the final position of the same line',
),
'forward-word': (
'make the cursor traverse one word in the forward direction',
'step the insertion position ahead by a single word',
'take point one word onward from its present location',
),
'backward-word': (
'make the cursor traverse one word in the backward direction',
'step the insertion position back by a single word',
'take point one word backward from its present location',
),
'scroll-up-command': (
'advance the text viewport to the following screenful',
'move the displayed buffer area one screen toward its end',
'continue viewing the buffer a full page farther down',
),
'scroll-down-command': (
'retreat the text viewport to the preceding screenful',
'move the displayed buffer area one screen toward its start',
'continue viewing the buffer a full page farther up',
),
'mark-whole-buffer': (
'make the selection extend across every character in this buffer',
'set the region to encompass this complete editing buffer',
'mark the active buffer contents from the first position to the last',
),
'yank': (
'place the newest item from the kill ring at this insertion point',
'retrieve the most recently copied text into the buffer here',
'insert the clipboard text currently available at point',
),
'kill-line': (
'cut away this line suffix beginning at the insertion point',
'remove the text remaining on the current line beyond point',
'erase the current line portion running from here to its end',
),
'find-file': (
'bring the existing file at filesystem location NAME into an editor buffer',
'visit NAME as the file i want to edit',
'display the disk file identified by path NAME for editing',
),
'search-forward': (
'seek the first upcoming literal match for NAME from here',
'move point forward to an occurrence of the exact string NAME',
'look onward in the remaining buffer for text NAME',
),
'lispm-finder-home': (
'bring the home directory into the finder browsing view',
'start the file browsing interface in my home folder',
'return the directory viewer to the home location',
),
'lispm-finder-open-directory': (
'inspect the directory located at NAME through the file manager',
'direct finder to display the folder with path NAME',
'browse the existing filesystem folder NAME in the directory viewer',
),
'lispm-finder-back': (
'reopen the preceding entry from finder location history',
'retreat a single navigation entry in the directory browser',
'restore the last historical folder view in finder',
),
'lispm-finder-forward': (
'reopen the succeeding entry from finder forward history',
'advance a single navigation entry in the directory browser history',
'restore the following historical folder view in finder',
),
'lispm-finder-up': (
'move the directory browser into this folder parent',
'ascend to the immediate containing directory of the finder location',
'show the filesystem directory one level above the current folder',
),
'lispm-finder-refresh': (
'reread the current directory so finder shows updated entries',
'rescan the listing displayed by the directory browser',
'refresh the filesystem entries shown in this folder view',
),
'lispm-finder-new-folder': (
'make a fresh subfolder with the basename NAME in finder',
'add an empty child directory named NAME to this location',
'create a new filesystem folder called NAME beneath the browsed folder',
),
'lispm-browser': (
'let me access the integrated web browsing interface',
'display the main application window for web browsing',
'bring the browsing application workspace to the screen',
),
'lispm-browser-open-url': (
'direct the active browsing view to the web address NAME',
'show the page served at url NAME in the web browser',
'take this browser tab to the supplied website address NAME',
),
'lispm-browser-back': (
'retreat the shown web tab by one recorded page visit',
'restore the browsing history entry preceding the current page',
'navigate to the earlier history location of this browser tab',
),
'lispm-browser-forward': (
'advance the shown web tab by one recorded forward visit',
'restore the browsing history entry following the current page',
'navigate to the later history location of this browser tab',
),
'lispm-browser-reload': (
'retrieve the currently displayed browser page once more',
'refresh the content at the address this web tab already shows',
'fetch the selected browsing page anew',
),
'lispm-browser-new-tab': (
'start an additional browsing tab showing a completely blank page',
'add a clean empty tab to the current web browser',
'make another web tab initialized to a blank page',
),
'lispm-browser-next-tab': (
'hand browser focus to the subsequent existing web tab',
'move web tab selection one place ahead in tab order',
'activate the open browsing tab immediately following the current one',
),
'lispm-browser-previous-tab': (
'hand browser focus to the preceding existing web tab',
'move web tab selection one place back in tab order',
'activate the open browsing tab immediately preceding the current one',
),
'lispm-browser-close-shown-tab': (
'take the displayed web tab out of the browser',
'close only the browser tab that is visible right now',
'dismiss the foreground web browsing tab',
),
'lispm-stickies': (
'let me access the desktop sticky note workspace',
'display the main interface of the stickies program',
'bring the sticky note application panel onto the screen',
),
'lispm-stickies-new-note': (
'add a fresh desktop sticky whose literal contents are NAME',
'create a separate stickies card holding the supplied text NAME',
'put the words NAME into an additional newly created note',
),
'lispm-stickies-next-note': (
'hand selection to the subsequent note in the stickies cycle',
'make the next existing desktop sticky the selected note',
'advance stickies focus by a single note position',
),
'lispm-stickies-previous-note': (
'hand selection to the preceding note in the stickies cycle',
'make the previous existing desktop sticky the selected note',
'retreat stickies focus by a single note position',
),
'lispm-rotom': (
'let me access the main rotom application workspace',
'display the panel for the rotom program',
'bring the rotom app interface onto the desktop',
),
'lispm-comfyui': (
'let me access the main comfyui application workspace',
'display the panel for the comfyui program',
'bring the comfyui app interface onto the desktop',
),
'lispm-office': (
'let me access the main office application workspace',
'display the panel for the office program',
'bring the office app interface onto the desktop',
),
'lispm-mail': (
'let me access the main mail application workspace',
'display the panel for the mail program',
'bring the mail app interface onto the desktop',
),
}
# Unsupported operations use the same target nouns as valid actions. Most are
# syntactically admissible, so success requires learned intent discrimination.
TRAINING_REJECTS = (
'duplicate the currently selected browsing tab',
'copy the active web tab into another tab',
'clone the tab currently displayed in the browser',
'replicate this web tab including its current page',
'make a second copy of the selected browser tab',
'reproduce the active browser tab in another tab',
'create a duplicate of the browsing tab on screen',
'open an identical copy of this web tab',
'copy the web page into a duplicate browser tab',
'clone this browsing session tab',
'make another tab with the same page as this one',
'replicate the current browser tab state',
'duplicate a web tab with its history intact',
'produce a twin of this browser tab',
'copy the existing tab rather than creating a blank page',
'reopen the browser tab i closed earlier',
'restore the most recently closed browsing tab',
'recover a deleted browser tab',
'pin the currently visible browser tab',
'unpin the selected web tab',
'mute the web tab currently shown',
'move the current web tab to another browser window',
'rename the active browser tab',
'close every tab in this browser',
'close the other web tabs while keeping this one',
'remove the tab immediately to the right of this browser tab',
'close the previous browsing tab',
'open three fresh blank browser tabs',
'advance browser selection by two tabs',
'cycle backward across three web tabs',
'reload all browser tabs together',
'close the entire browser application',
'search the web for the query NAME',
'look up NAME using the browser search engine',
'find the words NAME inside the displayed web page',
'bookmark the website at url NAME',
'save the current browser page as a bookmark',
'download the web page from NAME',
'save the browser page to a local file NAME',
'download the file served at url NAME',
'zoom the displayed browser page inward',
'make the current website text larger',
'reduce the zoom level of this web tab',
'print the page open in the browser',
'copy the current browser url to the clipboard',
'clear the browsing history for this tab',
'inspect the source of the current web page',
'run a script on the website NAME',
'open url NAME in a new browser window',
'load url NAME in a private browsing session',
'navigate the browser to its configured home page',
'return the browser to the first page in its history',
'create an empty regular file named NAME in finder',
'make a new text file called NAME in this folder',
'add a newly created document file NAME to the current directory',
'touch the file NAME in the finder location',
'write a blank file with basename NAME',
'create a directory tree with path NAME',
'make several new folders using the name NAME',
'duplicate the folder named NAME',
'copy the current directory to NAME',
'clone the selected finder folder',
'replicate this directory including its files',
'rename the selected finder folder to NAME',
'move the current folder into NAME',
'delete the directory called NAME from the filesystem',
'trash the selected file in finder',
'remove every file inside the current folder',
'copy a selected finder file to the clipboard',
'show hidden entries in the current finder folder',
'sort this folder listing by modification time',
'search finder for files with names matching NAME',
'open the selected finder file in an external application',
'ascend two directory levels in finder',
'rewind the finder navigation history by three visits',
'refresh every open finder directory at once',
'change permissions on the folder NAME',
'compress the directory NAME into an archive',
'mount the filesystem at NAME in finder',
'duplicate the currently selected desktop sticky',
'copy the existing sticky note into another note',
'clone this stickies card with its existing contents',
'replicate the selected sticky note verbatim',
'make a second copy of the note currently shown',
'create a twin of this existing sticky',
'rename the selected sticky note to NAME',
'replace the contents of the active sticky with NAME',
'append the text NAME to the existing sticky note',
'erase the currently selected sticky note',
'delete all sticky notes from the workspace',
'change this sticky note color to NAME',
'move the current sticky to a different desktop',
'export the selected sticky note to file NAME',
'search existing sticky notes for the text NAME',
'open three new sticky notes containing NAME',
'skip forward over two notes in stickies',
'copy all sticky note text to the clipboard',
'remove the entire line containing point',
'erase all characters in the current buffer',
'delete the word immediately following point',
'cut the text from line start to the cursor',
'kill the current paragraph',
'replace the rest of this line with NAME',
'copy the remaining line text instead of removing it',
'duplicate the text line under the cursor',
'comment the line currently being edited',
'indent the text from point to the line ending',
'move point to the middle of the current line',
'select only the word under the cursor',
'copy the entire editing buffer into a new buffer',
'clone the selected editing window layout',
'duplicate the current buffer under the name NAME',
'close the editing buffer rather than its window',
'erase the buffer named NAME',
'rename the active editing buffer to NAME',
'save a copy of this buffer under a different path NAME',
'write every modified buffer to its file',
'reload this buffer from its saved file',
'discard all unsaved modifications to this buffer',
'undo the last three editing changes',
'redo every change available in redo history',
'clear all records from the undo history',
'repeat the last editor command irrespective of its type',
'move point forward by four words',
'retreat the editing cursor by two word units',
'scroll the editing window down by two pages',
'move the text viewport back by half a screen',
'select the final editing pane in the frame',
'close the next editor window in sequence',
'rotate the contents of all editor panes',
'swap this editing window with its neighbor',
'resize the focused pane to twice its present width',
'give just the right editing window more space',
'search backward from point for the string NAME',
'search across all editing buffers for NAME',
'find the regular expression NAME going forward',
'replace the next literal occurrence of NAME',
'collect every match for NAME across the project',
'search for NAME with exact case matching forced on',
'count the matching occurrences of NAME in this buffer',
'open the file NAME in a separate editing window',
'insert the contents of file NAME at the current point',
'open file NAME in read only mode',
'paste an older entry from the kill ring',
'cycle the pasted text through previous clipboard entries',
'paste the clipboard three times at point',
'copy the active selection into the clipboard',
'replace the selected region with the text NAME',
'submit a new generation job in comfyui',
'run the current comfyui workflow now',
'download a new comfyui model named NAME',
'send the current email message from the mail application',
'compose an email addressed to NAME',
'delete the selected mail message',
'change the rotom provider configuration to NAME',
'start a new rotom conversation using prompt NAME',
'execute the selected rotom tool',
'make a new document with the title NAME in the office application',
'print the current document from office',
'export the office document to path NAME',
'approve a pending agent permission request',
)
CALIBRATION_REJECTS = (
'make a duplicate of the web tab i am viewing',
'clone the selected browsing tab into a second tab',
'replicate the displayed browser page in another identical tab',
'copy this open web tab together with its navigation history',
'produce another instance of the current browser tab contents',
'bring back the most recently dismissed web tab',
'pin the foreground browsing tab in place',
'remove every browser tab apart from the visible one',
'close the succeeding web tab instead of this one',
'make two additional blank browsing tabs',
'refresh all the open web pages simultaneously',
'move browser tab focus ahead by several positions',
'bookmark the currently visible website address',
'search the internet for the words NAME',
'locate NAME within the current website text',
'download the resource at the web address NAME',
'magnify the page currently displayed by the browser',
'save this browsing page as a local document NAME',
'create a fresh ordinary file called NAME inside the folder',
'add an empty text document named NAME to the finder directory',
'copy the browsed folder together with its contents',
'clone the filesystem directory currently selected in finder',
'rename this finder directory using the new basename NAME',
'remove the selected directory from the disk',
'sort the visible finder entries by their sizes',
'find files inside this directory whose names contain NAME',
'ascend several levels in the directory hierarchy',
'change filesystem permissions for directory NAME',
'make a duplicate of the desktop note i am viewing',
'copy the selected sticky card into a second identical card',
'replicate the existing note contents in another sticky',
'replace the text already on this sticky with NAME',
'append a sentence NAME to the current desktop note',
'discard the active sticky note from the workspace',
'recolor the currently displayed stickies card',
'advance note focus by several sticky cards',
'delete the current text line from its first character onward',
'copy the line suffix from point to the clipboard',
'indent the remainder of this editing line',
'select just the paragraph containing point',
'clone the current editing buffer using a new name NAME',
'close the buffer itself while leaving the editor window available',
'save all the modified editing buffers together',
'undo several recent buffer modifications',
'redo all previously reversed edits in this buffer',
'advance the insertion point by several words',
'search toward the buffer beginning for NAME',
'replace every matching string with NAME',
'find the text NAME throughout every file in the project',
'insert the older clipboard contents at point',
'open NAME as a read only file buffer',
'copy the current file into a new filesystem file NAME',
'send an email from the mail workspace',
'run an image workflow inside the comfyui application',
'change a provider setting in the rotom application',
'write a new office document with title NAME',
)
# Flatten only development training bases. The integrator may sample supported
# and reject rows separately so extra contrastive sampling remains balanced.
HARD_TRAINING_ROWS = tuple(
(phrase, label)
for label, phrases in TRAINING_FAMILIES.items()
for phrase in phrases
) + tuple((phrase, 'reject') for phrase in TRAINING_REJECTS)