🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "robust"

Found 50 matching component(s)

  • function create_audit_entry

    Creates an audit trail entry for document actions, logging user activity, document changes, and lifecycle events with fallback mechanisms.

    File: /tf/active/vicechatdev/document_controller_backup.py

    audit logging document-management compliance tracking
  • class MyEmbeddingFunction_v2

    A custom embedding function class that generates embeddings for text documents using OpenAI's embedding models, with automatic text summarization and token management for large documents.

    File: /tf/active/vicechatdev/offline_docstore_multi_vice.py

    embeddings openai chromadb text-processing summarization
  • class DocumentConverter

    A class that converts various document formats (Word, Excel, PowerPoint, OpenDocument, Visio) to PDF using LibreOffice's headless conversion capabilities, with support for parallel processing and directory structure preservation.

    File: /tf/active/vicechatdev/pdfconverter.py

    document-conversion pdf libreoffice batch-processing parallel-processing
  • function msg_to_eml

    Converts Microsoft Outlook .msg files to standard .eml format, preserving email headers, body content (plain text and HTML), and attachments.

    File: /tf/active/vicechatdev/msg_to_eml.py

    email-conversion msg-to-eml outlook email-processing file-conversion
  • function merge_pdfs_v1

    Merges multiple PDF files into a single output PDF file with robust error handling and fallback mechanisms.

    File: /tf/active/vicechatdev/msg_to_eml.py

    pdf merge file-processing document-processing pdf-manipulation
  • function generate_html_from_msg

    Converts an email message object into a formatted HTML representation with styling, headers, body content, and attachment information.

    File: /tf/active/vicechatdev/msg_to_eml.py

    email html-generation email-parsing formatting msg-file
  • function html_to_pdf

    Converts HTML content to a PDF file using ReportLab with intelligent parsing of email-formatted HTML, including metadata extraction, body content processing, and attachment information.

    File: /tf/active/vicechatdev/msg_to_eml.py

    pdf-generation html-to-pdf email-conversion document-generation reportlab
  • function msg_to_pdf_improved

    Converts a Microsoft Outlook .msg file to PDF format using EML as an intermediate format for improved reliability, with fallback to direct conversion if needed.

    File: /tf/active/vicechatdev/msg_to_eml.py

    email-conversion msg-to-pdf file-conversion pdf-generation outlook
  • function eml_to_pdf

    Converts an .eml email file to PDF format, including the email body and all attachments merged into a single PDF document.

    File: /tf/active/vicechatdev/msg_to_eml.py

    email-processing pdf-conversion eml-parser document-conversion attachment-handling
  • class DocxMerger

    A class named DocxMerger

    File: /tf/active/vicechatdev/word_merge.py

    class docxmerger
  • class MyEmbeddingFunction_v3

    A custom embedding function class that generates embeddings for text documents using OpenAI's embedding models, with automatic text summarization and token limit handling for large documents.

    File: /tf/active/vicechatdev/offline_docstore_multi.py

    embeddings openai vector-database chromadb text-processing
  • class DocumentExtractor

    A document text extraction class that supports multiple file formats including Word, PowerPoint, PDF, and plain text files, with automatic format detection and conversion capabilities.

    File: /tf/active/vicechatdev/leexi/document_extractor.py

    document-processing text-extraction pdf word powerpoint
  • class OpenAIResponsesLLM

    Adapter class for OpenAI's Responses API, specifically designed for GPT-5 family models with automatic fallback mechanisms to stable models when responses fail.

    File: /tf/active/vicechatdev/docchat/llm_factory.py

    openai llm gpt-5 responses-api adapter
  • function test_edge_cases

    Tests edge cases and variations in European tax ID formats by analyzing a sample contract document containing Swiss, Norwegian, Swedish, and Danish tax identifiers.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_international_tax_ids.py

    testing tax-id-extraction european-formats contract-analysis llm-validation
  • class DocumentProcessor_v1

    A document processing class that extracts text from PDF and Word documents using llmsherpa as the primary method with fallback support for PyPDF2, pdfplumber, and python-docx.

    File: /tf/active/vicechatdev/contract_validity_analyzer/utils/document_processor_new.py

    document-processing text-extraction pdf-processing word-processing llmsherpa
  • class DocumentProcessor_v2

    A document processing class that extracts text from PDF and Word documents using llmsherpa as the primary method with fallback support for PyPDF2, pdfplumber, and python-docx.

    File: /tf/active/vicechatdev/contract_validity_analyzer/utils/document_processor_old.py

    document-processing text-extraction pdf-processing word-processing llmsherpa
  • class PDFAConverter

    A class that converts PDF files to PDF/A format for long-term archiving and compliance, supporting multiple compliance levels (1b, 2b, 3b) with fallback conversion methods.

    File: /tf/active/vicechatdev/document_auditor/src/utils/pdf_utils.py

    pdf pdf-a document-conversion archiving compliance
  • class DocumentProtector

    A class that handles protecting PDF documents from editing by applying encryption and permission restrictions using pikepdf and PyMuPDF libraries.

    File: /tf/active/vicechatdev/document_auditor/src/security/document_protection.py

    pdf security encryption document-protection permissions
  • class AgentExecutor

    Agent-based script executor that generates standalone Python files, manages dependencies, and provides iterative debugging capabilities

    File: /tf/active/vicechatdev/vice_ai/agent_executor.py

    class agentexecutor
  • function markdown_to_html

    Converts Markdown formatted text to HTML using the python-markdown library with multiple extensions, falling back to basic conversion if the library is unavailable.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    markdown html conversion text-processing formatting
  • function smart_read_csv

    Automatically detects CSV file delimiters (comma, semicolon, tab) and handles regional decimal formats (European comma vs US/UK point) to reliably parse CSV files from different locales.

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    csv data-loading file-parsing delimiter-detection regional-formats
  • function convert_quill_delta_to_html

    Converts Quill Delta format (rich text editor format) to HTML, with fallback handling for plain text, JSON strings, and already-formatted HTML content.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    quill delta html-conversion rich-text text-processing
  • function smartstat_get_history

    Flask API endpoint that retrieves analysis history for a SmartStat session, with automatic session recovery from saved data if the session is not found in memory.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask api-endpoint session-management data-recovery authentication
  • class StatisticalAgent

    LLM-powered statistical analysis agent

    File: /tf/active/vicechatdev/vice_ai/statistical_agent.py

    class statisticalagent
  • function remove_outliers

    Removes outliers from a pandas DataFrame based on the Interquartile Range (IQR) method for a specified column.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/f5da873e-41e6-4f34-b3e4-f7443d4d213b/analysis_5.py

    data-cleaning outlier-detection IQR interquartile-range data-preprocessing
  • function load_dataset

    Loads a CSV dataset from a specified file path using pandas and returns it as a DataFrame with error handling for file not found and general exceptions.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/e1ecec5f-4ea5-49c5-b4f5-d051ce851294/project_1/analysis.py

    data-loading csv pandas file-io error-handling
  • function detect_outliers_iqr_v1

    Detects outliers in a dataset using the Interquartile Range (IQR) method, returning boolean indices of outliers and the calculated bounds.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/328d2f87-3367-495e-89f7-e633ff8c5b3d/analysis_2.py

    outlier-detection IQR interquartile-range statistics data-cleaning
  • function get_all_documents

    Retrieves all controlled documents from a Neo4j graph database with their associated owner information, formatted for administrative management interfaces.

    File: /tf/active/vicechatdev/CDocs/controllers/admin_controller.py

    database neo4j document-management admin query
  • function get_documents

    Retrieves controlled documents from a Neo4j database with comprehensive filtering, permission-based access control, pagination, and full-text search capabilities.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py

    document-management neo4j graph-database filtering pagination
  • function extract_uid

    Extracts a UID (Unique Identifier) from an object or dictionary by checking both 'uid' and 'UID' properties, returning a string representation or a default value if not found.

    File: /tf/active/vicechatdev/CDocs/utils/uid_helper.py

    uid-extraction utility data-access identifier dictionary
  • function create_relationship_with_retry

    Creates a relationship between two nodes in a graph database with automatic retry logic that handles case-insensitive UID matching when the initial attempt fails.

    File: /tf/active/vicechatdev/CDocs/utils/uid_helper.py

    graph-database neo4j relationship-creation retry-logic case-insensitive
  • class SignatureImage

    A ReportLab Flowable subclass for embedding signature images in PDFs with automatic fallback to placeholder text when images are unavailable or cannot be loaded.

    File: /tf/active/vicechatdev/CDocs/utils/pdf_utils.py

    reportlab pdf-generation signature flowable image-handling
  • function html_to_text

    Converts HTML content to plain text by removing HTML tags, decoding common HTML entities, and normalizing whitespace.

    File: /tf/active/vicechatdev/CDocs/utils/notifications.py

    html text-conversion html-parsing text-extraction html-entities
  • function _process_event_record

    Processes a single event record from a database by normalizing timestamps, adding user information, and parsing JSON details fields.

    File: /tf/active/vicechatdev/CDocs/utils/audit_trail.py

    data-processing event-processing database timestamp-normalization json-parsing
  • function create_approval_panel_v2

    Factory function that creates and initializes an ApprovalPanel instance for managing document approvals, with error handling and fallback to a minimal panel on failure.

    File: /tf/active/vicechatdev/CDocs/ui/approval_panel.py

    ui panel approval-management factory-function error-handling
  • class AgentExecutor_v1

    Agent-based script executor that generates standalone Python files, manages dependencies, and provides iterative debugging capabilities

    File: /tf/active/vicechatdev/full_smartstat/agent_executor.py

    class agentexecutor
  • class EnhancedSQLWorkflow

    Enhanced SQL workflow with iterative optimization

    File: /tf/active/vicechatdev/full_smartstat/enhanced_sql_workflow.py

    class enhancedsqlworkflow
  • class TwoPassSqlWorkflow

    Two-pass SQL generation workflow with iteration and error correction

    File: /tf/active/vicechatdev/full_smartstat/two_pass_sql_workflow.py

    class twopasssqlworkflow
  • function safe_json_dumps

    Safely serializes Python objects to JSON format, handling NaN values and datetime objects that would otherwise cause serialization errors.

    File: /tf/active/vicechatdev/full_smartstat/services.py

    json serialization data-conversion nan-handling datetime
  • class DataProcessor

    Handles data loading, validation, and preprocessing

    File: /tf/active/vicechatdev/full_smartstat/data_processor.py

    class dataprocessor
  • class DataProcessor_v1

    Handles data loading, validation, and preprocessing

    File: /tf/active/vicechatdev/smartstat/data_processor.py

    class dataprocessor
  • function callable_name

    Extracts and returns a meaningful string name from various types of callable objects including functions, methods, classes, generators, and partial functions.

    File: /tf/active/vicechatdev/patches/util.py

    callable introspection reflection name-extraction utility
  • function isnumeric

    Determines whether a given value can be converted to a numeric type (int or float), excluding strings and boolean types.

    File: /tf/active/vicechatdev/patches/util.py

    validation type-checking numeric data-validation type-conversion
  • function find_range

    Robustly computes the minimum and maximum values from a collection, with fallback mechanisms for edge cases and support for extending the range with soft bounds.

    File: /tf/active/vicechatdev/patches/util.py

    data-processing statistics range-finding min-max numpy
  • function max_range

    Computes the maximal lower and upper bounds from a list of range tuples, handling various data types including numeric, datetime, and string values.

    File: /tf/active/vicechatdev/patches/util.py

    data-processing range-computation bounds aggregation datetime-handling
  • function is_number

    Determines whether an object is a number or behaves like a number, with special handling for numpy types and numeric-like classes.

    File: /tf/active/vicechatdev/patches/util.py

    type-checking validation numeric numpy duck-typing
  • function is_int

    Checks if an object is an integer type, supporting native Python integers, NumPy integer types, and optionally float types with integer values.

    File: /tf/active/vicechatdev/patches/util.py

    type-checking validation integer numpy dtype
  • function wrap_tuple

    A utility function that ensures the input is wrapped in a tuple, leaving existing tuples unchanged and wrapping non-tuple values in a single-element tuple.

    File: /tf/active/vicechatdev/patches/util.py

    utility tuple type-conversion normalization wrapper
  • function is_nan

    A type-safe utility function that checks whether a given value is NaN (Not a Number), handling arbitrary types without raising exceptions.

    File: /tf/active/vicechatdev/patches/util.py

    validation nan-check type-safe data-validation numpy
  • class PromptManager

    A class that manages loading and accessing prompt templates from a specified directory, with automatic directory creation and error handling.

    File: /tf/active/vicechatdev/QA_updater/core/prompt_manager.py

    prompt-management template-loading file-io configuration llm-prompts

Search Examples