[content] crowd-pilot-extension/.crowd-pilot-preferences.jsonl (jsonl)
{"timestamp":1765382050204,"context":[{"role":"system","content":"You are a helpful assistant that interacts with a computer shell to solve programming tasks.
Your goal is to predict the next bash command a developer would most likely execute, given their editing and navigation history.

=== CONVERSATION FORMAT ===
The conversation history alternates between:
- Assistant messages: bash commands in fenced code blocks
- User messages: command output wrapped in <stdout>...</stdout> tags

File contents are displayed with 6-character right-aligned line numbers followed by a tab, e.g.:
     1	first line
     2	second line

File content is typically shown in viewports of ~20 lines around the area of interest.

=== RESPONSE FORMAT ===
Your response must contain exactly ONE bash code block with one command or two commands connected with &&.

<format_example>
```bash
your_command_here
```
</format_example>

Failure to follow these rules will cause your response to be rejected.

=== EDIT COMMAND FORMAT (IMPORTANT) ===
When you want to EDIT a file, you MUST encode the edit using line-based sed commands in ONE of the following forms,
and you MUST NOT use substitution commands like \"Ns/old/new/g\".

Assume all line numbers are 1-based and paths are absolute.
Allowed edit encodings (choose exactly one per response):

1) Replace a contiguous block of lines:
   sed -i 'START,ENDc\\
NEW_LINE_1
NEW_LINE_2
...
' /abs/path/to/file && cat -n /abs/path/to/file | sed -n 'VSTART,VENDp'

2) Delete a contiguous block of lines:
   sed -i 'START,ENDd' /abs/path/to/file && cat -n /abs/path/to/file | sed -n 'VSTART,VENDp'

3) Insert new lines BEFORE a given line:
   sed -i 'STARTi\\
NEW_LINE_1
NEW_LINE_2
...
' /abs/path/to/file && cat -n /abs/path/to/file | sed -n 'VSTART,VENDp'

4) Append new lines at the END of the file:
   sed -i '$a\\
NEW_LINE_1
NEW_LINE_2
...
' /abs/path/to/file && cat -n /abs/path/to/file | sed -n 'VSTART,VENDp'

Where VSTART and VEND specify a small viewport around the edited region.

Do NOT emit commands like \"3s/print/print()/g\" or any other \"s/old/new/\" style sed substitution; instead,
always rewrite the affected lines using one of the line-based forms above.

When you are NOT editing files (e.g., running tests, git commands, tools, etc.), you may emit arbitrary bash commands."},{"role":"assistant","content":"```bash
squeue
```
"},{"role":"user","content":"<stdout>
  JOBID       USER PARTITION NODES  CPUS ST         SUBMIT_TIME          START_TIME     TIME TIME_LIMIT NODELIST(REASON)
  36249 franz.sram interacti     1    20  R 2025-12-10T16:52:17 2025-12-10T16:52:17     0:42 1-00:00:00 hai004
  36147   xiao.liu interacti     1   128  R 2025-12-10T07:33:10 2025-12-10T07:33:10  9:19:49   23:59:00 hai006
  36136   xiao.liu interacti     1   128  R 2025-12-10T05:12:34 2025-12-10T05:12:34 11:40:25   23:59:00 hai005
  36157   xiao.liu  standard     1   128  R 2025-12-10T09:29:57 2025-12-10T15:15:29  1:37:30   23:59:00 hai007
  36223 kalyan.nad  standard     1    16  R 2025-12-10T13:53:12 2025-12-10T13:53:31  2:59:28   23:00:00 hai004
  36135 nishant.ku  standard     3   624  R 2025-12-09T22:39:45 2025-12-09T22:39:45 18:13:14 1-00:00:00 hai[001-003]
</stdout>"},{"role":"assistant","content":"```bash
cat -n /home/franz.srambical/crowd-pilot-extension/package.json | sed -n '1,11p'
```
"},{"role":"user","content":"<stdout>
     1	{
     2	  \"name\": \"crowd-pilot\",
     3	  \"displayName\": \"crowd-pilot-extension\",
     4	  \"description\": \"Teaching language models to code like humans.\",
     5	  \"publisher\": \"p-doom\",
     6	  \"version\": \"0.0.1\",
     7	  \"repository\": {
     8	    \"type\": \"git\",
     9	    \"url\": \"https://github.com/p-doom/crowd-pilot-extension\"
    10	  },
    11	  \"engines\": {
</stdout>"},{"role":"assistant","content":"```bash
cat -n /home/franz.srambical/crowd-pilot-extension/package.json | sed -n '70,90p'
```
"},{"role":"user","content":"<stdout>
    70	        },
    71	        \"crowd-pilot.minAvgLogprob\": {
    72	          \"type\": \"number\",
    73	          \"default\": -1.0,
    74	          \"description\": \"Minimum average log-probability per token for displaying suggestions. Higher values (closer to 0) require more confidence. -1.0 ≈ perplexity 2.7\"
    75	        },
    76	        \"crowd-pilot.maxContextTokens\": {
    77	          \"type\": \"number\",
    78	          \"default\": 120000,
    79	          \"description\": \"Context length (in tokens). Older messages are truncated to fit. Set below your model's limit to leave room for the response.\"
    80	        },
    81	        \"crowd-pilot.enablePreferenceLogging\": {
    82	          \"type\": \"boolean\",
    83	          \"default\": true,
    84	          \"description\": \"Enable logging of accept/reject data for reward model training and RLHF/DPO\"
    85	        },
    86	        \"crowd-pilot.preferenceLogPath\": {
    87	          \"type\": \"string\",
    88	          \"default\": \"\",
    89	          \"description\": \"Custom path for the preference log file (JSONL format). If empty, uses workspace/.crowd-pilot-preferences.jsonl\"
    90	        }
</stdout>"},{"role":"assistant","content":"```bash
pwd
```
"},{"role":"assistant","content":"```bash
cat -n /home/franz.srambical/crowd-pilot-extension/package.json | sed -n '70,90p'
```
"},{"role":"user","content":"<stdout>
    70	        },
    71	        \"crowd-pilot.minAvgLogprob\": {
    72	          \"type\": \"number\",
    73	          \"default\": -1.0,
    74	          \"description\": \"Minimum average log-probability per token for displaying suggestions. Higher values (closer to 0) require more confidence. -1.0 ≈ perplexity 2.7\"
    75	        },
    76	        \"crowd-pilot.maxContextTokens\": {
    77	          \"type\": \"number\",
    78	          \"default\": 120000,
    79	          \"description\": \"Context length (in tokens). Older messages are truncated to fit. Set below your model's limit to leave room for the response.\"
    80	        },
    81	        \"crowd-pilot.enablePreferenceLogging\": {
    82	          \"type\": \"boolean\",
    83	          \"default\": true,
    84	          \"description\": \"Enable logging of accept/reject data for reward model training and RLHF/DPO\"
    85	        },
    86	        \"crowd-pilot.preferenceLogPath\": {
    87	          \"type\": \"string\",
    88	          \"default\": \"\",
    89	          \"description\": \"Custom path for the preference log file (JSONL format). If empty, uses workspace/.crowd-pilot-preferences.jsonl\"
    90	        }
</stdout>"},{"role":"assistant","content":"```bash
cat -n /home/franz.srambical/crowd-pilot-extension/.crowd-pilot-preferences.jsonl
```
"},{"role":"user","content":"<stdout>
     1	{\"timestamp\":1765382039706,\"context\":[{\"role\":\"system\",\"content\":\"You are a helpful assistant that interacts with a computer shell to solve programming tasks.
     2	Your goal is to predict the next bash command a developer would most likely execute, given their editing and navigation history.
     3	
     4	=== CONVERSATION FORMAT ===
     5	The conversation history alternates between:
     6	- Assistant messages: bash commands in fenced code blocks
     7	- User messages: command output wrapped in <stdout>...</stdout> tags
     8	
     9	File contents are displayed with 6-character right-aligned line numbers followed by a tab, e.g.:
    10	     1\	first line
    11	     2\	second line
    12	
    13	File content is typically shown in viewports of ~20 lines around the area of interest.
    14	
    15	=== RESPONSE FORMAT ===
    16	Your response must contain exactly ONE bash code block with one command or two commands connected with &&.
    17	
    18	<format_example>
    19	```bash
    20	your_command_here
    21	```
    22	</format_example>
    23	
    24	Failure to follow these rules will cause your response to be rejected.
    25	
    26	=== EDIT COMMAND FORMAT (IMPORTANT) ===
    27	When you want to EDIT a file, you MUST encode the edit using line-based sed commands in ONE of the following forms,
    28	and you MUST NOT use substitution commands like \\\"Ns/old/new/g\\\".
    29	
    30	Assume all line numbers are 1-based and paths are absolute.
    31	Allowed edit encodings (choose exactly one per response):
    32	
    33	1) Replace a contiguous block of lines:
    34	   sed -i 'START,ENDc\\\\
    35	NEW_LINE_1
    36	NEW_LINE_2
    37	...
    38	' /abs/path/to/file && cat -n /abs/path/to/file | sed -n 'VSTART,VENDp'
    39	
    40	2) Delete a contiguous block of lines:
    41	   sed -i 'START,ENDd' /abs/path/to/file && cat -n /abs/path/to/file | sed -n 'VSTART,VENDp'
    42	
    43	3) Insert new lines BEFORE a given line:
    44	   sed -i 'STARTi\\\\
    45	NEW_LINE_1
    46	NEW_LINE_2
    47	...
    48	' /abs/path/to/file && cat -n /abs/path/to/file | sed -n 'VSTART,VENDp'
    49	
    50	4) Append new lines at the END of the file:
    51	   sed -i '$a\\\\
    52	NEW_LINE_1
    53	NEW_LINE_2
    54	...
    55	' /abs/path/to/file && cat -n /abs/path/to/file | sed -n 'VSTART,VENDp'
    56	
    57	Where VSTART and VEND specify a small viewport around the edited region.
    58	
    59	Do NOT emit commands like \\\"3s/print/print()/g\\\" or any other \\\"s/old/new/\\\" style sed substitution; instead,
    60	always rewrite the affected lines using one of the line-based forms above.
    61	
    62	When you are NOT editing files (e.g., running tests, git commands, tools, etc.), you may emit arbitrary bash commands.\"},{\"role\":\"assistant\",\"content\":\"```bash
    63	cat -n /home/franz.srambical/crowd-pilot-extension/package.json
    64	```
    65	\"},{\"role\":\"user\",\"content\":\"<stdout>
    66	     1\	{
    67	     2\	  \\\"name\\\": \\\"crowd-pilot\\\",
    68	     3\	  \\\"displayName\\\": \\\"crowd-pilot-extension\\\",
    69	     4\	  \\\"description\\\": \\\"Teaching language models to code like humans.\\\",
    70	     5\	  \\\"publisher\\\": \\\"p-doom\\\",
    71	     6\	  \\\"version\\\": \\\"0.0.1\\\",
    72	     7\	  \\\"repository\\\": {
    73	     8\	    \\\"type\\\": \\\"git\\\",
    74	     9\	    \\\"url\\\": \\\"https://github.com/p-doom/crowd-pilot-extension\\\"
    75	    10\	  },
    76	    11\	  \\\"engines\\\": {
    77	    12\	    \\\"vscode\\\": \\\"^1.99.3\\\"
    78	    13\	  },
    79	    14\	  \\\"categories\\\": [
    80	    15\	    \\\"Other\\\"
    81	    16\	  ],
    82	    17\	  \\\"activationEvents\\\": [
    83	    18\	    \\\"onStartupFinished\\\"
    84	    19\	  ],
    85	    20\	  \\\"main\\\": \\\"./out/extension.js\\\",
    86	    21\	  \\\"contributes\\\": {
    87	    22\	    \\\"commands\\\": [
    88	    23\	      {
    89	    24\	        \\\"command\\\": \\\"crowd-pilot.toggleSuggestions\\\",
    90	    25\	        \\\"title\\\": \\\"crowd-pilot: Toggle Tab Suggestions\\\"
    91	    26\	      },
    92	    27\	      {
    93	    28\	        \\\"command\\\": \\\"crowd-pilot.hideUi\\\",
    94	    29\	        \\\"title\\\": \\\"crowd-pilot: Hide Preview\\\"
    95	    30\	      },
    96	    31\	      {
    97	    32\	        \\\"command\\\": \\\"crowd-pilot.sglangTest\\\",
    98	    33\	        \\\"title\\\": \\\"crowd-pilot: Test SGLang\\\"
    99	    34\	      },
   100	    35\	      {
   101	    36\	        \\\"command\\\": \\\"crowd-pilot.modelRun\\\",
   102	    37\	        \\\"title\\\": \\\"crowd-pilot: Model Plan & Run\\\"
   103	    38\	      },
   104	    39\	      {
   105	    40\	        \\\"command\\\": \\\"crowd-pilot.clearContext\\\",
   106	    41\	        \\\"title\\\": \\\"crowd-pilot: Clear Context\\\"
   107	    42\	      },
   108	    43\	      {
   109	    44\	        \\\"command\\\": \\\"crowd-pilot.openPreferenceLog\\\",
   110	    45\	        \\\"title\\\": \\\"crowd-pilot: Open Preference Log\\\"
   111	    46\	      }
   112	    47\	    ],
   113	    48\	    \\\"configuration\\\": {
   114	    49\	      \\\"title\\\": \\\"crowd-pilot\\\",
   115	    50\	      \\\"properties\\\": {
   116	    51\	        \\\"crowd-pilot.hostname\\\": {
   117	    52\	          \\\"type\\\": \\\"string\\\",
   118	    53\	          \\\"default\\\": \\\"hai002\\\",
   119	    54\	          \\\"description\\\": \\\"Hostname of the SGLang server\\\"
   120	    55\	        },
   121	    56\	        \\\"crowd-pilot.port\\\": {
   122	    57\	          \\\"type\\\": \\\"number\\\",
   123	    58\	          \\\"default\\\": 30000,
   124	    59\	          \\\"description\\\": \\\"Port of the SGLang server\\\"
   125	    60\	        },
   126	    61\	        \\\"crowd-pilot.basePath\\\": {
   127	    62\	          \\\"type\\\": \\\"string\\\",
   128	    63\	          \\\"default\\\": \\\"/v1/chat/completions\\\",
   129	    64\	          \\\"description\\\": \\\"Base path for the SGLang API endpoint\\\"
   130	    65\	        },
   131	    66\	        \\\"crowd-pilot.modelName\\\": {
   132	    67\	          \\\"type\\\": \\\"string\\\",
   133	    68\	          \\\"default\\\": \\\"qwen/qwen3-8b\\\",
   134	    69\	          \\\"description\\\": \\\"Model name to use for completions\\\"
   135	    70\	        },
   136	    71\	        \\\"crowd-pilot.minAvgLogprob\\\": {
   137	    72\	          \\\"type\\\": \\\"number\\\",
   138	    73\	          \\\"default\\\": -1.0,
   139	    74\	          \\\"description\\\": \\\"Minimum average log-probability per token for displaying suggestions. Higher values (closer to 0) require more confidence. -1.0 ≈ perplexity 2.7\\\"
   140	    75\	        },
   141	    76\	        \\\"crowd-pilot.maxContextTokens\\\": {
   142	    77\	          \\\"type\\\": \\\"number\\\",
   143	    78\	          \\\"default\\\": 120000,
   144	    79\	          \\\"description\\\": \\\"Context length (in tokens). Older messages are truncated to fit. Set below your model's limit to leave room for the response.\\\"
   145	    80\	        },
   146	    81\	        \\\"crowd-pilot.enablePreferenceLogging\\\": {
   147	    82\	          \\\"type\\\": \\\"boolean\\\",
   148	    83\	          \\\"default\\\": true,
   149	    84\	          \\\"description\\\": \\\"Enable logging of accept/reject data for reward model training and RLHF/DPO\\\"
   150	    85\	        },
   151	    86\	        \\\"crowd-pilot.preferenceLogPath\\\": {
   152	    87\	          \\\"type\\\": \\\"string\\\",
   153	    88\	          \\\"default\\\": \\\"\\\",
   154	    89\	          \\\"description\\\": \\\"Custom path for the preference log file (JSONL format). If empty, uses workspace/.crowd-pilot-preferences.jsonl\\\"
   155	    90\	        }
   156	    91\	      }
   157	    92\	    },
   158	    93\	    \\\"keybindings\\\": [
   159	    94\	      {
   160	    95\	        \\\"command\\\": \\\"crowd-pilot.modelRun\\\",
   161	    96\	        \\\"key\\\": \\\"tab\\\",
   162	    97\	        \\\"mac\\\": \\\"tab\\\",
   163	    98\	        \\\"when\\\": \\\"editorTextFocus && crowdPilot.uiVisible\\\"
   164	    99\	      },
   165	   100\	      {
   166	   101\	        \\\"command\\\": \\\"crowd-pilot.modelRun\\\",
   167	   102\	        \\\"key\\\": \\\"tab\\\",
   168	   103\	        \\\"mac\\\": \\\"tab\\\",
   169	   104\	        \\\"when\\\": \\\"inQuickOpen && crowdPilot.uiVisible\\\"
   170	   105\	      },
   171	   106\	      {
   172	   107\	        \\\"command\\\": \\\"crowd-pilot.hideUi\\\",
   173	   108\	        \\\"key\\\": \\\"escape\\\",
   174	   109\	        \\\"mac\\\": \\\"escape\\\",
 "}],"completion":{"rawModelOutput":"```bash
cat -n /home/franz.srambical/crowd-pilot-extension/.crowd-pilot-preferences.jsonl | sed -n '1,20p'
```","parsedAction":{"kind":"setSelections","selections":[{"start":[1,0],"end":[1,0]}]},"avgLogprob":-0.0060764175369906566},"outcome":"ignored","outcomeTimestamp":1765382051203,"modelName":"qwen/qwen3-8b"}