🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • function create_folder

    Creates a nested folder structure in FileCloud by iterating through path elements and checking/creating directories as needed.

    File: /tf/active/vicechatdev/mailsearch/upload_non_wuxi_coded.py | Lines: 23-60

    filecloud folder-creation directory-management api-integration file-system
  • function create_folder_v1

    Creates a nested folder structure on a FileCloud server by traversing a path and creating missing directories.

    File: /tf/active/vicechatdev/filecloud_wuxi_sync.py | Lines: 12-44

    filecloud api folder-creation directory-management rest-api
  • class DocumentAnalyzer

    Analyze PDF documents using OCR and LLM

    File: /tf/active/vicechatdev/mailsearch/document_analyzer.py | Lines: 51-560

    class documentanalyzer
  • function find_best_match

    Finds the best matching document from a list of candidates by comparing hash, size, filename, and content similarity with configurable confidence thresholds.

    File: /tf/active/vicechatdev/mailsearch/enhanced_document_comparison.py | Lines: 225-277

    document-matching fuzzy-matching file-comparison deduplication similarity-detection
  • function compare_pdf_content

    Compares the textual content similarity between two PDF files by extracting text samples and computing a similarity ratio using sequence matching.

    File: /tf/active/vicechatdev/mailsearch/enhanced_document_comparison.py | Lines: 150-158

    pdf comparison similarity text-extraction document-analysis
  • function extract_text_from_pdf_sample

    Extracts text content from the first few pages of a PDF file for content comparison purposes, returning up to 5000 characters.

    File: /tf/active/vicechatdev/mailsearch/enhanced_document_comparison.py | Lines: 135-147

    pdf text-extraction document-processing content-sampling file-processing
  • function fuzzy_match_score

    Calculates a fuzzy string similarity score between two input strings using the SequenceMatcher algorithm, returning a ratio between 0.0 and 1.0.

    File: /tf/active/vicechatdev/mailsearch/enhanced_document_comparison.py | Lines: 130-132

    string-matching fuzzy-matching similarity text-comparison string-similarity
  • function detect_signatures_in_pdf

    Detects Vicebio DocuSign signatures in PDF files to determine document approval status, distinguishing between Vicebio staff signatures (DocuSign) and Wuxi staff signatures (Chinese E-Sign).

    File: /tf/active/vicechatdev/mailsearch/enhanced_document_comparison.py | Lines: 50-127

    pdf signature-detection docusign document-validation approval-workflow
  • function process_directory

    Processes all files matching a specified pattern in a directory, applying date fixes to each file and providing a summary of results.

    File: /tf/active/vicechatdev/mailsearch/fix_file_dates.py | Lines: 120-162

    file-processing batch-processing directory-traversal pdf-processing glob-pattern
  • function fix_file_dates

    Normalizes all timestamp attributes (creation, modification, access) of a file to the oldest timestamp among them, with optional dry-run mode for preview.

    File: /tf/active/vicechatdev/mailsearch/fix_file_dates.py | Lines: 94-117

    file-metadata timestamp-normalization file-dates filesystem metadata-management
  • function set_file_dates

    Sets all file timestamps (creation time, modification time, access time, and change time) to a specified Unix timestamp by directly modifying the file's inode using debugfs.

    File: /tf/active/vicechatdev/mailsearch/fix_file_dates.py | Lines: 45-91

    filesystem timestamp inode debugfs file-metadata
  • function get_file_times

    Retrieves all available timestamps for a file, including modification time, access time, change time, and birth time (creation time) when available.

    File: /tf/active/vicechatdev/mailsearch/fix_file_dates.py | Lines: 15-42

    file-system timestamps metadata file-info creation-time
  • function create_admin_panel_v1

    Factory function that creates and initializes an AdminPanel instance with optional session management, parent application integration, and embedded mode support.

    File: /tf/active/vicechatdev/CDocs single class/ui/admin_panel.py | Lines: 1448-1483

    admin panel ui dashboard authentication
  • class AdminPanel_v1

    Admin configuration interface component

    File: /tf/active/vicechatdev/CDocs single class/ui/admin_panel.py | Lines: 68-1445

    class adminpanel
  • function create_review_panel_v1

    Factory function that creates and initializes a review panel UI component for document review workflow management, with error handling and fallback to a minimal panel on failure.

    File: /tf/active/vicechatdev/CDocs single class/ui/review_panel.py | Lines: 438-470

    ui panel review workflow factory
  • class ReviewPanel

    ReviewPanel is a UI component class for managing document review workflows, providing interfaces for viewing review details, submitting review decisions, and managing review cycles.

    File: /tf/active/vicechatdev/CDocs single class/ui/review_panel.py | Lines: 42-434

    ui-component review-management workflow panel document-management
  • class ReviewPanel_v1

    Review management interface component

    File: /tf/active/vicechatdev/CDocs/ui/review_panel.py | Lines: 62-2023

    class reviewpanel
  • function create_approval_panel_v1

    Factory function that creates and initializes an approval workflow panel UI component for managing document approval cycles.

    File: /tf/active/vicechatdev/CDocs single class/ui/approval_panel.py | Lines: 640-672

    ui panel approval workflow factory
  • 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 | Lines: 1959-2008

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

    Approval management interface component inheriting from WorkflowPanelBase

    File: /tf/active/vicechatdev/CDocs single class/ui/approval_panel.py | Lines: 42-636

    class approvalpanel