Repository Analysis

openinterpreter/open-interpreter

A natural language interface for computers

24.6 Moderate AI signal View on GitHub
24.6
Adjusted Score
24.6
Raw Score
100%
Time Factor
2026-05-17
Last Push
63,739
Stars
Python
Language
23,797
Lines of Code
177
Files
369
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 26MEDIUM 64LOW 278

Pattern Findings

369 matches across 16 categories. Click a row to expand file-level details.

Self-Referential Comments41 hits · 126 pts
SeverityFileLineSnippet
MEDIUMinterpreter/terminal_interface/terminal_interface.py229 # Create a new, identical block where the code will actually be run
MEDIUMinterpreter/terminal_interface/terminal_interface.py238 # Create a temporary file
MEDIUMinterpreter/terminal_interface/local_setup.py195 # Define the choices for local models
MEDIUMinterpreter/terminal_interface/local_setup.py274 # Create a new inquirer selection from the names
MEDIUMinterpreter/terminal_interface/local_setup.py393 # Define the path to the models directory
MEDIUMinterpreter/terminal_interface/components/code_block.py42 # Create a table for the code
MEDIUMinterpreter/terminal_interface/components/code_block.py80 # Create a panel for the code
MEDIUMinterpreter/terminal_interface/components/code_block.py83 # Create a panel for the output (if there is any)
MEDIUMinterpreter/terminal_interface/components/code_block.py89 # Create a group with the code table and output panel
MEDIUMinterpreter/terminal_interface/profiles/profiles.py251 # Create a new dictionary if the part doesn't exist
MEDIUM…/terminal_interface/profiles/defaults/llama3-vision.py32# Define the path to the desktop
MEDIUM…erminal_interface/profiles/defaults/local-assistant.py56# Create a calendar event
MEDIUM…erminal_interface/profiles/defaults/local-assistant.py97# Create a calendar event for the launch date announcement
MEDIUM…eter/terminal_interface/profiles/defaults/codestral.py29# Define the path to the desktop
MEDIUM…eter/terminal_interface/profiles/defaults/codestral.py32# Initialize a variable to store the total size
MEDIUM…rminal_interface/profiles/defaults/codestral-vision.py32# Define the path to the desktop
MEDIUM…rminal_interface/profiles/defaults/codestral-vision.py65# Define the path to the image
MEDIUM…eter/terminal_interface/profiles/defaults/snowpark.yml60# Create a session
MEDIUMinterpreter/core/respond.py61 # Create the version of messages that we'll send to the LLM
MEDIUMinterpreter/core/async_core.py263 # Create a new message
MEDIUMinterpreter/core/utils/temporary_file.py30 # Create a temporary file
MEDIUMinterpreter/core/utils/lazy_import.py22 # Create a module from the spec and set it up for lazy loading
MEDIUMinterpreter/core/computer/utils/computer_vision.py35 # Create an empty list to hold dictionaries for each bounding box
MEDIUMinterpreter/core/computer/utils/computer_vision.py70 # Create a copy of the grayscale image to draw on
MEDIUMinterpreter/core/computer/utils/computer_vision.py142 # Create a small black square background for the ID
MEDIUMinterpreter/core/computer/display/display.py359 # Create a new image with a size that can contain all screenshots
MEDIUMinterpreter/core/computer/display/point/point.py23# Create a set of English words
MEDIUMinterpreter/core/computer/display/point/point.py65 # Create a temporary file to save the image data
MEDIUMinterpreter/core/computer/display/point/point.py79 # Create a draw object
MEDIUMinterpreter/core/computer/display/point/point.py108 # Create a draw object
MEDIUMinterpreter/core/computer/display/point/point.py140 # Create a draw object
MEDIUMinterpreter/core/computer/display/point/point.py174 # Create a draw object
MEDIUMinterpreter/core/computer/display/point/point.py191 # Create a draw object
MEDIUMinterpreter/core/computer/display/point/point.py213 # Create an empty list to store the filtered boxes
MEDIUMinterpreter/core/computer/display/point/point.py237 # Create a copy of the image data
MEDIUMinterpreter/core/computer/display/point/point.py268 # Create a copy of the image data
MEDIUMinterpreter/core/computer/display/point/point.py307 # Define the pixel expansion amount
MEDIUMinterpreter/core/computer/display/point/point.py586 # Create a string with all parameters
MEDIUMinterpreter/core/computer/keyboard/keyboard.py104 # Create the AppleScript
MEDIUMinterpreter/computer_use/tools/edit.py211 # Create a snippet of the edited section
MEDIUMscripts/wtf.py348 # Create the dictionary with filename, line number, and text
Cross-File Repetition18 hits · 90 pts
SeverityFileLineSnippet
HIGHinterpreter/__init__.py0display markdown message. works with multiline strings with lots of indentation. will automatically make single line > t
HIGH…r/terminal_interface/utils/display_markdown_message.py0display markdown message. works with multiline strings with lots of indentation. will automatically make single line > t
HIGHinterpreter/computer_use/loop.py0display markdown message. works with multiline strings with lots of indentation. will automatically make single line > t
HIGH…/terminal_interface/profiles/defaults/llama3-vision.py0\n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar
HIGH…erpreter/terminal_interface/profiles/defaults/local.py0\n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar
HIGH…erminal_interface/profiles/defaults/local-assistant.py0\n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar
HIGH…eter/terminal_interface/profiles/defaults/codestral.py0\n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar
HIGH…rminal_interface/profiles/defaults/codestral-vision.py0\n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar
HIGH…r/terminal_interface/profiles/defaults/codestral-os.py0\n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar
HIGH…eter/terminal_interface/profiles/defaults/llama3-os.py0\n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar
HIGH…reter/terminal_interface/profiles/defaults/local-os.py0\n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar
HIGH…rpreter/terminal_interface/profiles/defaults/llama3.py0\n\nwhat does this output mean (i can't understand it, please help) / what code needs to be run next (if anything, or ar
HIGH…r/terminal_interface/profiles/defaults/codestral-os.py0this is an open interpreter profile. it configures open interpreter to run `llama3` using ollama. images sent to the mod
HIGH…eter/terminal_interface/profiles/defaults/llama3-os.py0this is an open interpreter profile. it configures open interpreter to run `llama3` using ollama. images sent to the mod
HIGH…reter/terminal_interface/profiles/defaults/local-os.py0this is an open interpreter profile. it configures open interpreter to run `llama3` using ollama. images sent to the mod
HIGH…r/terminal_interface/profiles/defaults/codestral-os.py0you are an ai assistant that writes markdown code snippets to answer the user's request. you speak very concisely and qu
HIGH…eter/terminal_interface/profiles/defaults/llama3-os.py0you are an ai assistant that writes markdown code snippets to answer the user's request. you speak very concisely and qu
HIGH…reter/terminal_interface/profiles/defaults/local-os.py0you are an ai assistant that writes markdown code snippets to answer the user's request. you speak very concisely and qu
Deep Nesting76 hits · 76 pts
SeverityFileLineSnippet
LOWinterpreter/__init__.py8
LOWinterpreter/terminal_interface/magic_commands.py259
LOW…rpreter/terminal_interface/start_terminal_interface.py581
LOW…rpreter/terminal_interface/start_terminal_interface.py608
LOWinterpreter/terminal_interface/validate_llm_settings.py19
LOWinterpreter/terminal_interface/terminal_interface.py47
LOWinterpreter/terminal_interface/local_setup.py15
LOWinterpreter/terminal_interface/utils/count_tokens.py47
LOW…r/terminal_interface/utils/display_markdown_message.py6
LOWinterpreter/terminal_interface/utils/display_output.py10
LOWinterpreter/terminal_interface/utils/display_output.py37
LOWinterpreter/terminal_interface/profiles/profiles.py67
LOWinterpreter/terminal_interface/profiles/profiles.py145
LOWinterpreter/terminal_interface/profiles/profiles.py216
LOWinterpreter/terminal_interface/profiles/profiles.py591
LOWinterpreter/terminal_interface/profiles/profiles.py653
LOWinterpreter/terminal_interface/profiles/profiles.py682
LOWinterpreter/terminal_interface/profiles/profiles.py709
LOWinterpreter/core/archived_server_2.py195
LOWinterpreter/core/archived_server_2.py221
LOWinterpreter/core/archived_server_2.py225
LOWinterpreter/core/respond.py14
LOWinterpreter/core/async_core.py297
LOWinterpreter/core/async_core.py65
LOWinterpreter/core/async_core.py110
LOWinterpreter/core/async_core.py209
LOWinterpreter/core/async_core.py438
LOWinterpreter/core/async_core.py643
LOWinterpreter/core/async_core.py820
LOWinterpreter/core/async_core.py443
LOWinterpreter/core/async_core.py508
LOWinterpreter/core/async_core.py549
LOWinterpreter/core/core.py217
LOWinterpreter/core/core.py297
LOWinterpreter/core/archived_server_1.py11
LOWinterpreter/core/archived_server_1.py104
LOWinterpreter/core/llm/run_function_calling_llm.py24
LOWinterpreter/core/llm/run_tool_calling_llm.py101
LOWinterpreter/core/llm/llm.py79
LOWinterpreter/core/llm/llm.py339
LOWinterpreter/core/llm/run_text_llm.py1
LOWinterpreter/core/llm/utils/merge_deltas.py1
LOWinterpreter/core/llm/utils/parse_partial_json.py5
LOW…terpreter/core/llm/utils/convert_to_openai_messages.py9
LOWinterpreter/core/utils/system_debug_info.py81
LOWinterpreter/core/computer/sms/sms.py43
LOWinterpreter/core/computer/mail/mail.py15
LOWinterpreter/core/computer/terminal/terminal.py82
LOWinterpreter/core/computer/terminal/terminal.py156
LOWinterpreter/core/computer/terminal/languages/java.py33
LOW…r/core/computer/terminal/languages/jupyter_language.py507
LOW…r/core/computer/terminal/languages/jupyter_language.py133
LOW…r/core/computer/terminal/languages/jupyter_language.py320
LOW…r/core/computer/terminal/languages/jupyter_language.py134
LOW…ore/computer/terminal/languages/subprocess_language.py73
LOW…ore/computer/terminal/languages/subprocess_language.py140
LOWinterpreter/core/computer/utils/get_active_window.py5
LOWinterpreter/core/computer/utils/computer_vision.py54
LOWinterpreter/core/computer/vision/vision.py59
LOWinterpreter/core/computer/vision/vision.py122
16 more matches not shown…
Excessive Try-Catch Wrapping62 hits · 74 pts
SeverityFileLineSnippet
MEDIUMinterpreter/__init__.py25 print("Error displaying line:", line)
LOWinterpreter/terminal_interface/local_setup.py183 except Exception as e:
LOWinterpreter/terminal_interface/local_setup.py442 except Exception as e:
MEDIUM…r/terminal_interface/utils/display_markdown_message.py23 print("Error displaying line:", line)
LOWinterpreter/terminal_interface/utils/display_output.py83 except Exception as e:
MEDIUMinterpreter/terminal_interface/utils/display_output.py84 print(f"Error opening file: {e}")
MEDIUMinterpreter/terminal_interface/utils/display_output.py75def open_file(file_path):
LOWinterpreter/terminal_interface/profiles/profiles.py792 except Exception:
MEDIUMinterpreter/terminal_interface/profiles/profiles.py768def write_key_to_profile(key, value):
LOW…inal_interface/profiles/defaults/codestral-few-shot.py21except Exception as e:
LOWinterpreter/core/archived_server_2.py248 except Exception as e:
LOWinterpreter/core/respond.py102 except Exception as e:
LOWinterpreter/core/respond.py351 except Exception as e:
LOWinterpreter/core/respond.py384 except Exception as e:
LOWinterpreter/core/async_core.py186 except Exception as e:
MEDIUMinterpreter/core/async_core.py603 print(f"Error: {str(e)}")
LOWinterpreter/core/async_core.py692 except Exception as e:
LOWinterpreter/core/async_core.py701 except Exception as e:
LOWinterpreter/core/async_core.py710 except Exception as e:
LOWinterpreter/core/async_core.py490 except Exception as e:
LOWinterpreter/core/async_core.py534 except Exception as e:
LOWinterpreter/core/async_core.py599 except Exception as e:
LOWinterpreter/core/async_core.py620 except Exception as e:
LOWinterpreter/core/async_core.py639 except Exception as e:
LOWinterpreter/core/core.py201 except Exception as e:
MEDIUMinterpreter/core/core.py164def chat(self, message=None, display=True, stream=False, blocking=True):
LOWinterpreter/core/llm/llm.py365 except Exception as e:
LOWinterpreter/core/llm/llm.py451 except Exception as e:
LOWinterpreter/core/utils/temporary_file.py18 except Exception as e:
LOWinterpreter/core/utils/temporary_file.py44 except Exception as e:
LOWinterpreter/core/utils/system_debug_info.py17 except Exception as e:
LOWinterpreter/core/utils/system_debug_info.py27 except Exception as e:
LOWinterpreter/core/utils/system_debug_info.py86 except Exception as e:
LOWinterpreter/core/utils/system_debug_info.py97 except Exception as e:
MEDIUMinterpreter/core/utils/system_debug_info.py14def get_pip_version():
MEDIUMinterpreter/core/utils/system_debug_info.py22def get_oi_version():
LOWinterpreter/core/utils/scan_code.py53 except Exception as e:
LOWinterpreter/core/computer/terminal/languages/java.py114 except Exception as e:
MEDIUMinterpreter/core/computer/terminal/languages/java.py33def run(self, code):
LOW…r/core/computer/terminal/languages/jupyter_language.py203 except Exception as e:
LOWinterpreter/core/computer/mouse/mouse.py39 except Exception as e:
LOWinterpreter/core/computer/browser/browser.py75 except Exception as e:
MEDIUMinterpreter/core/computer/browser/browser.py76 print(f"An error occurred while setting up the WebDriver: {e}")
MEDIUMinterpreter/core/computer/browser/browser.py65def setup(self, headless):
LOWinterpreter/core/computer/browser/browser_next.py76 except Exception as exc:
LOWinterpreter/core/computer/ai/ai.py14 except Exception:
LOWinterpreter/core/computer/ai/ai.py51 except Exception:
MEDIUMinterpreter/core/computer/ai/ai.py6def split_into_chunks(text, tokens, llm, overlap):
MEDIUMinterpreter/core/computer/ai/ai.py22def chunk_responses(responses, tokens, llm):
LOWinterpreter/core/computer/os/os.py77 except Exception as e:
LOWinterpreter/core/computer/display/display.py271 except Exception as e:
MEDIUMinterpreter/core/computer/skills/skills.py265 print(f"Error: Failed to write skill file to {skill_file_path}")
MEDIUMinterpreter/computer_use/loop.py73 print("Error displaying line:", line)
LOWinterpreter/computer_use/loop.py412 except Exception as e:
MEDIUMinterpreter/computer_use/loop.py413 print("Error: An exception occurred.")
MEDIUMinterpreter/computer_use/loop.py417 # print(f"Error: {e}")
LOWinterpreter/computer_use/loop.py516 except Exception as e:
LOWinterpreter/computer_use/tools/edit.py281 except Exception as e:
LOWinterpreter/computer_use/tools/edit.py288 except Exception as e:
LOWscripts/wtf.py280 except Exception as e:
2 more matches not shown…
Redundant / Tautological Comments41 hits · 55 pts
SeverityFileLineSnippet
LOW…terpreter/terminal_interface/conversation_navigator.py28 # Check if conversations directory exists
LOWinterpreter/terminal_interface/local_setup.py380 if platform.system() == "Darwin": # Check if the system is MacOS
LOWinterpreter/terminal_interface/local_setup.py400 # Check if there are any models in the models folder
LOWinterpreter/terminal_interface/profiles/profiles.py689 # Check if the default.yaml profile exists and has a version key
LOWinterpreter/terminal_interface/profiles/profiles.py748 # Check if a version line already exists
LOW…/terminal_interface/profiles/defaults/llama3-vision.py37 # Check if the file is an image
LOWinterpreter/terminal_interface/profiles/defaults/os.py151# Check if required packages are installed
LOW…rminal_interface/profiles/defaults/codestral-vision.py37 # Check if the file is an image
LOWinterpreter/core/async_core.py913 # Check if we're within 6 seconds of last_start_time
LOWinterpreter/core/core.py280 # Check if the directory exists, if not, create it
LOWinterpreter/core/core.py365 # Check if the chunk's role, type, and format (if present) match the last_flag_base
LOWinterpreter/core/utils/lazy_import.py6 # Check if module is already imported
LOWinterpreter/core/computer/computer.py161 # Check if the method should be ignored based on its decorator
LOWinterpreter/core/computer/terminal/terminal.py83 # Check if this is an apt install command
LOW…r/core/computer/terminal/languages/jupyter_language.py192 # Check if the user input is CTRL-C
LOWinterpreter/core/computer/utils/computer_vision.py126 # Add the center to the list
LOWinterpreter/core/computer/utils/computer_vision.py171 # Increment id
LOWinterpreter/core/computer/vision/vision.py85 # Set path to the path of the temporary file
LOWinterpreter/core/computer/vision/vision.py98 # Set path to the path of the temporary file
LOWinterpreter/core/computer/vision/vision.py107 # Set path to the path of the temporary file
LOWinterpreter/core/computer/os/os.py33 if "darwin" in platform.system().lower(): # Check if the OS is macOS
LOWinterpreter/core/computer/display/display.py30# Check if there's a display available
LOWinterpreter/core/computer/display/point/point.py457 # Check if the model file exists
LOWinterpreter/computer_use/loop.py337 # Check if running in server mode
LOWinterpreter/computer_use/tools/edit.py109 # Check if its an absolute path
LOWinterpreter/computer_use/tools/edit.py115 # Check if path exists
LOWinterpreter/computer_use/tools/edit.py124 # Check if the path points to a directory
LOWinterpreter/computer_use/tools/edit.py180 # Read the file content
LOWinterpreter/computer_use/tools/edit.py185 # Check if old_str is unique in the file
LOWinterpreter/computer_use/tools/computer.py154 if platform.system() == "Darwin": # Check if we're on macOS
LOWtests/test_interpreter.py718 # Check if chunk has the right schema
LOWtests/test_interpreter.py728 # Check if assistant message, console output, and active line are found
LOWtests/test_interpreter.py1224# Open the file in append mode
LOWtests/test_interpreter.py1235 # # Read the file to make sure the number is in there
LOWtests/test_interpreter.py1238 # # Read the file content
LOWtests/test_interpreter.py1241 # # Check if the current number is in the file content
LOWtests/test_interpreter.py1256 # Open the file and read its content
LOWtests/test_interpreter.py1260 # Check if '1' and '5' are in the content
LOWinstallers/oi-linux-installer.sh8# Check if Rust is installed
LOWinstallers/oi-mac-installer.sh14# Check if Git is installed
LOWinstallers/oi-mac-installer.sh57# Check if pyenv is already installed
Unused Imports50 hits · 50 pts
SeverityFileLineSnippet
LOWinterpreter/__init__.py57
LOWinterpreter/__init__.py58
LOW…reter/terminal_interface/contributing_conversations.py6
LOW…rpreter/terminal_interface/render_past_conversation.py8
LOW…rpreter/terminal_interface/start_terminal_interface.py6
LOWinterpreter/terminal_interface/validate_llm_settings.py7
LOWinterpreter/terminal_interface/validate_llm_settings.py11
LOWinterpreter/terminal_interface/validate_llm_settings.py14
LOW…terpreter/terminal_interface/conversation_navigator.py17
LOW…terpreter/terminal_interface/utils/check_for_update.py1
LOW…eter/terminal_interface/profiles/defaults/assistant.py4
LOWinterpreter/core/archived_server_2.py21
LOWinterpreter/core/archived_server_2.py23
LOWinterpreter/core/respond.py4
LOWinterpreter/core/async_core.py24
LOWinterpreter/core/llm/llm.py16
LOWinterpreter/core/llm/llm.py17
LOWinterpreter/core/llm/utils/parse_partial_json.py2
LOWinterpreter/core/utils/telemetry.py12
LOWinterpreter/core/utils/telemetry.py15
LOWinterpreter/core/utils/telemetry.py18
LOWinterpreter/core/utils/scan_code.py8
LOWinterpreter/core/computer/sms/sms.py7
LOW…r/core/computer/terminal/languages/jupyter_language.py7
LOW…rpreter/core/computer/terminal/languages/powershell.py1
LOWinterpreter/core/computer/terminal/languages/ruby.py1
LOWinterpreter/core/computer/terminal/languages/ruby.py2
LOWinterpreter/core/computer/utils/get_active_window.py34
LOWinterpreter/core/computer/utils/computer_vision.py1
LOWinterpreter/core/computer/vision/vision.py9
LOWinterpreter/core/computer/vision/vision.py10
LOWinterpreter/core/computer/display/display.py2
LOWinterpreter/core/computer/display/display.py3
LOWinterpreter/core/computer/display/display.py4
LOWinterpreter/core/computer/display/display.py5
LOWinterpreter/core/computer/display/display.py6
LOWinterpreter/core/computer/display/display.py7
LOWinterpreter/core/computer/display/display.py8
LOWinterpreter/core/computer/display/display.py9
LOWinterpreter/core/computer/display/point/point.py14
LOWinterpreter/core/computer/skills/skills.py2
LOWinterpreter/core/computer/skills/skills.py3
LOWinterpreter/core/computer/skills/skills.py6
LOWinterpreter/core/computer/skills/skills.py11
LOWinterpreter/computer_use/loop.py23
LOWinterpreter/computer_use/loop.py38
LOWinterpreter/computer_use/loop.py38
LOWinterpreter/computer_use/tools/computer.py6
LOWinterpreter/computer_use/tools/computer.py7
LOWtests/test_interpreter.py2
Hyper-Verbose Identifiers34 hits · 28 pts
SeverityFileLineSnippet
LOW…reter/terminal_interface/contributing_conversations.py19def display_contribution_message():
LOW…reter/terminal_interface/contributing_conversations.py32def display_contributing_current_message():
LOW…reter/terminal_interface/contributing_conversations.py60def set_send_future_conversations(interpreter, should_send_future):
LOW…reter/terminal_interface/contributing_conversations.py71def user_wants_to_contribute_past():
LOW…reter/terminal_interface/contributing_conversations.py77def user_wants_to_contribute_future():
LOW…reter/terminal_interface/contributing_conversations.py83def contribute_conversation_launch_logic(interpreter):
LOW…reter/terminal_interface/contributing_conversations.py103def contribute_past_and_future_logic(
LOW…reter/terminal_interface/contributing_conversations.py123def get_contribute_cache_contents() -> ContributionCache:
LOW…reter/terminal_interface/contributing_conversations.py140def write_to_contribution_cache(contribution_cache: ContributionCache):
LOWinterpreter/terminal_interface/validate_llm_settings.py113def display_welcome_message_once(interpreter):
LOW…rpreter/terminal_interface/components/message_block.py31def textify_markdown_code_blocks(text):
LOWinterpreter/terminal_interface/profiles/profiles.py756def migrate_user_app_directory():
LOWinterpreter/core/async_core.py726 async def openai_compatible_generator(run_code):
LOWinterpreter/core/llm/llm.py419def fixed_litellm_completions(**params):
LOW…terpreter/core/llm/utils/convert_to_openai_messages.py9def convert_to_openai_messages(
LOWinterpreter/core/computer/computer.py88 def _get_all_computer_tools_list(self):
LOWinterpreter/core/computer/computer.py107 def _get_all_computer_tools_signature_and_description(self):
LOWinterpreter/core/computer/mail/mail.py151 def format_path_for_applescript(self, file_path):
LOWinterpreter/core/computer/contacts/contacts.py71 def get_full_names_from_first_name(self, first_name):
LOW…preter/core/computer/terminal/languages/applescript.py35 def add_active_line_indicators(self, code):
LOWinterpreter/core/computer/utils/computer_vision.py25def pytesseract_get_text_bounding_boxes(img):
LOWinterpreter/core/computer/browser/browser_next.py37def get_google_search_results(query):
LOWinterpreter/core/computer/files/files.py39def get_close_matches_in_text(original_text, filedata, n=3):
LOWinterpreter/core/computer/display/display.py309 def get_text_as_list_of_lists(self, screenshot=None):
LOWinterpreter/computer_use/loop.py239def _maybe_filter_to_n_most_recent_images(
LOWinterpreter/computer_use/loop.py324def _maybe_prepend_system_tool_result(result: ToolResult, result_text: str):
LOWtests/test_interpreter.py86def test_authenticated_acknowledging_breaking_server():
LOWtests/test_interpreter.py1271def test_nested_loops_and_multiple_newlines():
LOWtests/core/test_async_core.py13 def test_host_and_port_defaults(self):
LOWtests/core/test_async_core.py24 def test_host_and_port_passed_in(self):
LOWtests/core/computer/test_computer.py9 def test_get_all_computer_tools_list(self):
LOWtests/core/computer/test_computer.py16 def test_get_all_computer_tools_signature_and_description(self):
LOWtests/core/computer/files/test_files.py23 def test_edit_original_text_in_filedata(self):
LOWtests/core/computer/files/test_files.py37 def test_edit_original_text_not_in_filedata(self):
Over-Commented Block20 hits · 20 pts
SeverityFileLineSnippet
LOWinterpreter/__init__.py61interpreter = OpenInterpreter()
LOWinterpreter/terminal_interface/profiles/profiles.py501 # Save modified profile file so far, so that it can be read later
LOWinterpreter/terminal_interface/profiles/defaults/os.py221# console = Console()
LOW…eter/terminal_interface/profiles/defaults/snowpark.yml81# safe_mode: "off" # The safety mode for the LLM — one of "off", "ask", "auto"
LOW…eter/terminal_interface/profiles/defaults/default.yaml21# General Configuration
LOWinterpreter/core/archived_server_2.py41 # self.stt.stop() # It needs this for some reason
LOWinterpreter/core/archived_server_2.py161 # self.interpreter.messages[-1]
LOWinterpreter/core/async_core.py1021 # for _ in range(retries):
LOWinterpreter/core/core.py241 self.messages = message
LOWinterpreter/core/archived_server_1.py41 # if (
LOWinterpreter/core/llm/run_tool_calling_llm.py101def run_tool_calling_llm(llm, request_params):
LOWinterpreter/core/llm/run_tool_calling_llm.py121 # "type": "function",
LOWinterpreter/core/llm/run_tool_calling_llm.py141 # m
LOW…terpreter/core/llm/utils/convert_to_openai_messages.py21 # if function_calling == False:
LOWinterpreter/core/utils/system_debug_info.py141 )
LOW…r/core/computer/terminal/languages/jupyter_language.py101 # functions = string_to_python(code)
LOWinterpreter/core/computer/display/display.py121 # Since Local II, all images sent to local models will be rendered to text with moondream and pytesseract.
LOWinterpreter/core/computer/display/point/point.py281 image_data_copy.save(
LOWtests/test_interpreter.py1221# Always create a fresh file
LOWinstallers/oi-mac-installer.sh61 # Try to download and install pyenv using available commands
Cross-Language Confusion5 hits · 20 pts
SeverityFileLineSnippet
HIGHinterpreter/core/async_core.py327 var lastMessageElement = null;
HIGHinterpreter/core/async_core.py349 if (lastMessageElement == null) {
HIGHinterpreter/core/archived_server_1.py73 var lastMessageElement = null;
HIGHinterpreter/core/archived_server_1.py75 if (lastMessageElement == null) {
HIGHscripts/wtf.py41- If multiple steps are needed, explain the process briefly, then provide only the first command or a combined command u
Magic Placeholder Names3 hits · 11 pts
SeverityFileLineSnippet
HIGHinterpreter/terminal_interface/validate_llm_settings.py74 MacOS: `echo 'export OPENAI_API_KEY=your_api_key' >> ~/.zshrc`
HIGHinterpreter/terminal_interface/validate_llm_settings.py75 Linux: `echo 'export OPENAI_API_KEY=your_api_key' >> ~/.bashrc`
HIGHinterpreter/terminal_interface/validate_llm_settings.py76 Windows: `setx OPENAI_API_KEY your_api_key`
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALinterpreter/core/computer/ai/ai.py154 response = self.computer.interpreter.llm.interpreter.chat(text)
Dead Code5 hits · 10 pts
SeverityFileLineSnippet
MEDIUMinterpreter/core/computer/ai/ai.py140
MEDIUMinterpreter/core/computer/ai/ai.py141
MEDIUMinterpreter/core/computer/ai/ai.py142
MEDIUMinterpreter/core/computer/ai/ai.py143
MEDIUMinterpreter/core/computer/ai/ai.py146
Fake / Example Data9 hits · 9 pts
SeverityFileLineSnippet
LOW…erpreter/terminal_interface/profiles/defaults/the01.py75phone_string = computer.contacts.get_phone_number("John Doe")
LOW…erpreter/terminal_interface/profiles/defaults/the01.py76contact_string = computer.contacts.get_email_address("John Doe")
LOW…eter/terminal_interface/profiles/defaults/assistant.py55phone_string = computer.contacts.get_phone_number("John Doe")
LOW…eter/terminal_interface/profiles/defaults/assistant.py56contact_string = computer.contacts.get_email_address("John Doe")
LOW…erminal_interface/profiles/defaults/local-assistant.py67computer.contacts.get_phone_number("John Doe")
LOW…erminal_interface/profiles/defaults/local-assistant.py73computer.sms.send(to=computer.contacts.get_phone_number("John Doe"), message="Hello from the computer!")
LOW…erminal_interface/profiles/defaults/local-assistant.py93jane_email = computer.contacts.get_email_address("Jane Doe")
LOWinterpreter/terminal_interface/profiles/defaults/os.py70computer.contacts.get_phone_number("John Doe")
LOWinterpreter/terminal_interface/profiles/defaults/os.py71computer.contacts.get_email_address("John Doe")
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippet
LOWinterpreter/terminal_interface/terminal_interface.py394 # We're going to just add it to the messages directly, not changing `recipient` here.
LOWinterpreter/core/llm/run_tool_calling_llm.py93 # For non-tool-related messages, just add them as is
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWinterpreter/core/computer/display/point/point.py488 # Usage:
Slop Phrases1 hit · 0 pts
SeverityFileLineSnippet
LOWtests/test_interpreter.py1273 """Can you write a nested for loop in python and shell and run them? Don't forget to properly format your shell