Zapcopy QA Run 2026-04-21T14-35-12Z__iter_03

2026-04-21T14-35-12Z__iter_03

4/21/2026, 2:35:12 PM · 1 flow · 6,205ms total

clean All settings match production defaults (app_defaults.yaml asOf 2026-04-19).
Build provenance
App
1.4·3
com.flashcopy.app.dev
Git
9000297eac
feature/ocr-v2-structured-lambdas
Sim
AAC26DF1…
com.flashcopy.app.dev
Built at
4/21/2026, 1:54:04 PM
single-photo
v1 ok pipeline →
Input media
No media file found for this input.
code_screen_picture.JPG545.9 KBsha256 6b8b73d079
Input id
AAAA0011
Total
6.21s
Output
108 words
702 chars
Cost est
$0.00009
gemini-2.5-flash · basis: chars
in 433 · out 176 tok
Stage timings
local-vision
1.27s
moderation
341ms
s3-upload
587ms
gemini-ocr
4.01s
Stage details
local-vision
regions 21
conf 0.976
moderation
lambda extended_lambda_ocr
approved true
s3-upload
bucket qr-uploads-sup
key incoming/8f80c6d7-276f-43c8-93fc-832aaedc91bf.jpg
gemini-ocr
lambda extended_lambda_ocr
model gemini-2.5-flash
Extracted text
108 words · 702 chars
def is_prime(n):
    """
    Checks if an integer 'n' is a prime number.

    A prime number is a natural number greater than 1
    that has no positive divisors other than 1 and itself.
    """
    if n <= 1:
        return False
    # Check for factors from 2 up to the square root of n
    for i in range(2, int(math.sqrt(n)) + 1):
        if n % i == 0:
            return False
    return True

def find_first_n_primes(count):
    """
    Finds a specified count of the first prime numbers.
    """
    primes = []
    num = 2 # Start checking from the first prime candidate
    while len(primes…
Prompts used
all prompts →
photo_ocr gemini-2.5-flash 48496a3017… · 699 chars
Can you please OCR this image? Please OCR and do not modify the content and try and generate the OCR result with the same exact formatting as the input image. Please focus in ensuring the OCR process flawlessly retains the source's formatting. I aim to go line-by-line, capturing every detail, including special characters, comments, and those crucial line breaks, indentations, and case differences, thus guaranteeing the output mirrors the original. However, please remove any items from an editor or parts of the IDE/word processor that are shown in any potential screenshot to as just show only the content instead. (For instance removing the list of windows open/ line numbers, file name etc.)
qr_reader_v1/EXTENDED_LAMBDA_OCR.py:108
Diff+0 words0 words=108 unchanged·99.6% similar (by char)(prior run 2026-04-21T14-34-10Z__iter_02this run)
def is_prime(n):
    """
    Checks if an integer 'n' is a prime number.

    A prime number is a natural number greater than 1
    that has no positive divisors other than 1 and itself.
    """
    if n <= 1:
        return False

    
    # Check for factors from 2 up to the square root of n
    for i in range(2, int(math.sqrt(n)) + 1):
        if n % i == 0:
            return False
    return True




def find_first_n_primes(count):
    """
    Finds a specified count of the first prime numbers.
    """
    primes = []
    num = 2   # Start checking from the first prime candidate
    while len(primes) < count:
        if is_prime(num):
            primes.append(num)
        num += 1
    return primes
Run settings
Show all 20 values
{
  "videoFramesPerSecond": 1,
  "videoStitchingMethod": "gemini_only",
  "videoPipelineMode": "s3_parallel",
  "useBackgroundVideoProcessing": true,
  "rekognitionThreshold": 80,
  "geminiModel": "gemini-2.5-flash",
  "photoOcrPromptSha": "48496a3017a2708a92d142281c5ab19f64f8132555514a00cbc35ca9d39daeba",
  "frameOcrPromptSha": "66326cc5be6bdd434dbbdd330b519e26bd8bbcab4a6037a64c2148b66cd2aceb",
  "imageRetentionHours": 24,
  "bypassImageSaveConfirmation": true,
  "bypassProcessingResultWindow": true,
  "enableAnalytics": true,
  "confirmCollectionReset": true,
  "enableNotifications": false,
  "autoProcessImages": true,
  "includeBrandingInSharedText": true,
  "autoSavePhotos": true,
  "multiPhotoSeparator": "double_line",
  "showDebugInfo": false,
  "headerFooterStyle": "equals"
}