file_hash
stringlengths
16
16
language
stringclasses
8 values
line_count
int64
20
500
theme
stringclasses
8 values
source_code
stringlengths
236
8.19k
prompt_idx
int64
0
6
messages
listlengths
3
3
433897037f510dd6
python
91
Default Light+
from .common import InfoExtractor from ..utils import ( determine_ext, int_or_none, parse_duration, url_or_none, ) class YouJizzIE(InfoExtractor): _VALID_URL = r'https?://(?:\w+\.)?youjizz\.com/videos/(?:[^/#?]*-(?P<id>\d+)\.html|embed/(?P<embed_id>\d+))' _TESTS = [{ 'url': 'http://www...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
296d6df567bc149c
typescript
88
Solarized Light
"use client" import * as React from "react" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry/bases/radix/ui/dropdown-menu" import { SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/registry/bases/radix/ui/sidebar" import { IconPlaceholder } ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
9ddc8e7276b3c28b
typescript
64
Solarized Light
"use client" import * as React from "react" import { IconCheck, IconCopy } from "@tabler/icons-react" import { trackEvent, type Event } from "@/lib/events" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/regis...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
c6ac6f6200f086f2
java
124
Dracula
/* Copyright (c) 2014 by Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
956ed9381c19b44e
python
64
Solarized Light
""" == Juggler Sequence == Juggler sequence start with any positive integer n. The next term is obtained as follows: If n term is even, the next term is floor value of square root of n . If n is odd, the next term is floor value of 3 time the square root of n. https://en.wikipedia.org/wiki/Juggler_sequence """...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
4291d9213d701157
csharp
45
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
8b03291d871b1fed
csharp
240
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using CalculatorApp.ViewModel; using CalculatorApp.ViewModel.Common; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace CalculatorApp { [Windows.Foundation.Metadata.WebHostHidden] public sealed parti...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
0c3f3f599d61034c
csharp
87
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
820c899d4ae19c07
rust
258
Default Dark+
//! BNF grammar: //! //! ```text //! condition = value ("==" | ">" ...) value //! to = value value TO value //! ``` use nom::branch::alt; use nom::bytes::complete::tag; use nom::character::complete::{char, multispace0, multispace1}; use nom::combinator::{cut, map, value}; use nom::sequence::{preceded,...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
f88f972956ee030b
java
70
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
0dc3088e56177752
typescript
78
GitHub Dark
import type { BasicColumn } from '/@/components/Table/src/types/table'; import { h, Ref, toRaw } from 'vue'; import EditableCell from './EditableCell.vue'; import { isArray } from '/@/utils/is'; interface Params { text: string; record: Recordable; index: number; } export function renderEditCell(column: BasicC...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
f55f7b095c2d3f48
java
59
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
c2e3f301e28ad815
cpp
38
One Dark Pro
#pragma once #include "ggml-backend.h" #include <cstring> #ifdef __cplusplus extern "C" { #endif #define GGML_OPENVINO_NAME "OPENVINO" // backend API GGML_BACKEND_API ggml_backend_t ggml_backend_openvino_init(int device); GGML_BACKEND_API bool ggml_backend_is_openvino(ggml_backend_t backend); GGML_BACKEND_API bo...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
0f85288fdbf2aca1
typescript
327
One Dark Pro
import { HoppCollection } from "@hoppscotch/data" import { getAffectedIndexes } from "./affectedIndex" import { GetSingleRequestDocument } from "../backend/graphql" import { runGQLQuery } from "../backend/GQLClient" import * as E from "fp-ts/Either" import { getService } from "~/modules/dioc" import { RESTTabService } ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
2b7b74597b3246e2
java
68
Default Light+
package com.thealgorithms.strings; import java.util.ArrayList; import java.util.List; /** * Implementation of Knuth–Morris–Pratt algorithm Usage: see the main function * for an example */ public final class KMP { private KMP() { } /** * find the starting index in string haystack[] that matches th...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
8f89ea16c1dcfcf6
cpp
61
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
3b3da63459d3df7f
java
225
Default Dark+
package org.schabi.newpipe.player.helper; import static org.schabi.newpipe.MainActivity.DEBUG; import android.content.Context; import android.util.Log; import androidx.annotation.Nullable; import com.google.android.exoplayer2.database.StandaloneDatabaseProvider; import com.google.android.exoplayer2.source.Progressi...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
0037463de05d4bb8
python
84
Default Light+
import collections import contextlib import functools import importlib import sys import types _NO_ATTRIBUTE = object() _Package = collections.namedtuple('Package', ('name', 'version')) def get_package_info(module): return _Package( name=getattr(module, '_yt_dlp__identifier', module.__name__), v...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
881c38bde7d4387b
typescript
48
Solarized Light
"use client" import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" import { ChartContainer, type ChartConfig, } from "@/registry/new-york-v4/ui/chart" const chartData = [ { month: "January", desktop: 186, mobile: 80 }, { month: "February", desktop: 305, mobile: 200 }, { month: "March", desktop: 23...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
bac173ce214cede5
typescript
41
Solarized Light
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/examples/base/ui/accordion" const items = [ { value: "item-1", trigger: "How do I reset my password?", content: "Click on 'Forgot Password' on the login page, enter your email address, and we'll send you a link...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
d9ca9b78a827d21c
rust
455
Default Dark+
use std::borrow::Cow; use std::cmp::Reverse; use std::collections::HashSet; use std::path::Path; use std::result::Result as StdResult; use std::str; use std::str::FromStr; use hmac::{Hmac, Mac}; use meilisearch_types::heed::{BoxedError, WithoutTls}; use meilisearch_types::index_uid_pattern::IndexUidPattern; use meilis...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
8e1b085ca17b2d79
typescript
35
Solarized Light
import { IconBell } from "@tabler/icons-react" import { RefreshCcwIcon } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from "@/registry/new-york-v4/ui/empty" export default function Empty...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
248c0a50bd0a27fa
python
163
Default Light+
from __future__ import annotations import os import time from modules import timer from modules import initialize_util from modules import initialize startup_timer = timer.startup_timer startup_timer.record("launcher") initialize.imports() initialize.check_versions() def create_api(app): from modules.api.api...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
57d2ece8d1edc570
rust
53
GitHub Dark
//! This module provides a function to find the position of the most significant bit (MSB) //! set to 1 in a given positive integer. /// Finds the position of the highest (most significant) set bit in a positive integer. /// /// # Arguments /// /// * `num` - An integer value for which the highest set bit will be deter...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
6f86c893ba2fd0ba
cpp
85
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2009 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
42bb5bf8c24d61aa
go
239
Default Light+
package handles import ( "encoding/base64" "encoding/binary" "encoding/json" "fmt" "github.com/alist-org/alist/v3/internal/authn" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/db" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/op...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
bb05ad520f05a6ff
csharp
275
Monokai
using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Net.NetworkInformation; using System.Net.Sockets; using System.Text; using System.Text.Json; using System.Threading; namespace winPEAS.Info.NetworkInfo { // ───────────────────────────────────────────────────────────...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
5a914024c4f1189d
csharp
28
Monokai
using System.Runtime.InteropServices; namespace ScreenToGif.Native.Structs; [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] public struct ShellExecuteInfo { public int cbSize; public uint fMask; public IntPtr hwnd; [MarshalAs(UnmanagedType.LPTStr)] public string lpVerb; [MarshalA...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
979405acaa9c2296
csharp
142
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Process; using Step03.Models; using Step03.Steps; namespace Step03.Processes; /// <summary> /// Sample process that showcases how to create a process with sequential steps and reuse of existing steps.<br/>...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
6a5aa656d9c883e3
typescript
52
Default Light+
import { createStore, get, set } from "idb-keyval"; import type { SavedChats } from "@excalidraw/excalidraw/components/TTDDialog/types"; import { STORAGE_KEYS } from "../app_constants"; /** * IndexedDB adapter for TTD chat storage. * Implements TTDPersistenceAdapter interface. */ export class TTDIndexedDBAdapter ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
7d731af42cf6794d
typescript
477
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import fs from 'node:fs/promises'; import { calculateTurnStats, calculateRewindImpact, revertFileChanges, } from './rewindFileOps.js'; import { coreEvents, ty...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
102cc23edcff43c7
csharp
249
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
84bf92f019dde312
cpp
128
One Dark Pro
#include "ssm_conv.hpp" #include "common.hpp" #include <cstdio> using namespace sycl; static void kernel_ssm_conv( queue &q, const float *src_data, const float *weights, float *dst_data, int d_conv, int d_inner, int n_t, int n_s, int ncs __attribute__((unused)), int src_stride...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
5cfba09e88c77383
python
187
Dracula
from collections.abc import Callable, Mapping from typing import ( Annotated, Any, BinaryIO, TypeVar, cast, ) from annotated_doc import Doc from pydantic import GetJsonSchemaHandler from starlette.datastructures import URL as URL # noqa: F401 from starlette.datastructures import Address as Address...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
ccde6a7b2f7342dc
typescript
90
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { spawn } from 'node:child_process'; import { RELAUNCH_EXIT_CODE } from './processUtils.js'; import { writeToStderr, type AdminControlsSettings, } from '@google/gemini-cli-core'; export async function relaunchOnExitCode...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
e361a1071a3b490e
go
74
Default Dark+
// Copyright 2020 Matthew Holt and The Caddy Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
2f6ddb017c012c01
typescript
62
Solarized Dark
import { Box, Button, Typography } from '@mui/material' import { useLockFn } from 'ahooks' import { useRef, useState } from 'react' import { useTranslation } from 'react-i18next' interface Props { onChange: (file: File, value: string) => void } export const FileInput = (props: Props) => { const { onChange } = pro...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
341dd3c28498bb6a
java
129
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
cafa4cc0a54076dd
csharp
58
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
041a3a318575b3ac
go
132
Solarized Dark
// Copyright 2021 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
477d5a41df713874
typescript
88
Solarized Light
import { mergeProps } from "@base-ui/react/merge-props" import { useRender } from "@base-ui/react/use-render" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/registry/bases/base/lib/utils" import { Separator } from "@/registry/bases/base/ui/separator" const buttonGroupVariants ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
0ef9abbd830bb260
javascript
32
GitHub Dark
'use strict'; /*eslint no-console:0*/ /** * Supply a warning to the developer that a method they are using * has been deprecated. * * @param {string} method The name of the deprecated method * @param {string} [instead] The alternate method to use if applicable * @param {string} [docs] The documentation URL to g...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
8942d7b7110333cc
go
200
Solarized Light
package auth import ( "context" "log/slog" "strings" "time" "github.com/pkg/errors" "google.golang.org/protobuf/types/known/timestamppb" "github.com/usememos/memos/internal/util" storepb "github.com/usememos/memos/proto/gen/store" "github.com/usememos/memos/store" ) // Authenticator provides shared authent...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
04775ed658f2c29f
typescript
39
Dracula
export interface Options { /** * default: 'defaults' */ targets?: string | string[] | Record<string, string> /** * default: 'edge>=79, firefox>=67, chrome>=64, safari>=12, chromeAndroid>=64, iOS>=12' */ modernTargets?: string | string[] /** * default: true */ polyfills?: boolean | string[]...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
3c1f77fd4dce2865
java
22
GitHub Dark
package com.xxmassdeveloper.mpchartexample.custom; import com.github.mikephil.charting.components.AxisBase; import com.github.mikephil.charting.formatter.IAxisValueFormatter; import java.text.DecimalFormat; public class MyAxisValueFormatter implements IAxisValueFormatter { private final DecimalFormat mFormat; ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
f6e0e4d6c547eaf7
typescript
271
One Dark Pro
import { Service } from "dioc" import { SpotlightSearcher, SpotlightSearcherResult, SpotlightSearcherSessionState, SpotlightService, } from "../" import { Ref, computed, effectScope, markRaw, ref, watch } from "vue" import { getI18n } from "~/modules/i18n" import MiniSearch from "minisearch" import { graphqlHis...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
ad25c89795dd5594
java
36
Default Light+
package com.thealgorithms.maths; /* * Java program to find 'twin prime' of a prime number * Twin Prime: Twin prime of a number n is (n+2) * if and only if n & (n+2) are prime. * Wikipedia: https://en.wikipedia.org/wiki/Twin_prime * * Author: Akshay Dubey (https://github.com/itsAkshayDubey) * * */ import com.th...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
0f9d9b1fdc2443d3
java
189
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
97360e5781159f3a
java
106
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
dad96029cdd32267
csharp
419
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text.Json; using System.Threading.Tasks; using Amazon.BedrockAgent; using Amazon.BedrockAgent.Model; using Amazon.BedrockAgentRuntime; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.Bedrock; using Moq; using Xuni...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
a2cc85af7a30adec
python
22
Monokai
# Copyright (c) Microsoft. All rights reserved. import sys from semantic_kernel.connectors.ai.embedding_generator_base import EmbeddingGeneratorBase as NewEmbeddingGeneratorBase from semantic_kernel.utils.feature_stage_decorator import experimental if sys.version_info >= (3, 13): from warnings import deprecated ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
6801e6e28ccec703
cpp
35
One Dark Pro
#include <hex/api/content_registry/pattern_language.hpp> #include <pl/patterns/pattern.hpp> namespace hex::plugin::visualizers { void drawLinePlotVisualizer(pl::ptrn::Pattern &, bool, std::span<const pl::core::Token::Literal> arguments); void drawScatterPlotVisualizer(pl::ptrn::Pattern &, bool, std::span<co...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
fc1f6812736ef56d
cpp
36
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include <atomic> #include <utility> // null, no cost dummy "mutex" and dummy "atomic" int namespace spdlog { namespace details { struct null_mutex { void lock()...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
a8e784c4c85a96bf
typescript
113
One Dark Pro
import { InputType, Field } from '@nestjs/graphql'; import { IsOptional, Matches } from 'class-validator'; import { WorkspaceType } from 'src/types/WorkspaceTypes'; @InputType() export class CreatePublishedDocsArgs { @Field({ name: 'title', description: 'Title of the published document', }) title: string...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
cf525cbfb153c921
rust
38
Default Dark+
use std::ops::Deref; pub use ureq::{ AsSendBody, Body, BodyBuilder, BodyWithConfig, Error, Proxy, ProxyBuilder, ProxyProtocol, RequestBuilder, RequestExt, ResponseExt, SendBody, Timeout, http, middleware, tls, typestate, unversioned, }; use crate::policy::IpPolicy; pub mod config; mod resolver; #[derive...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
c4bc744c95b41428
csharp
152
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
82f49269ed7f5626
rust
277
GitHub Dark
use std::collections::{HashMap, VecDeque}; fn initialize_men( men_preferences: &HashMap<String, Vec<String>>, ) -> (VecDeque<String>, HashMap<String, usize>) { let mut free_men = VecDeque::new(); let mut next_proposal = HashMap::new(); for man in men_preferences.keys() { free_men.push_back(man...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
2583bc01c1c2f561
typescript
29
Solarized Light
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/examples/radix/ui/breadcrumb" export function BreadcrumbBasic() { return ( <Breadcrumb> <BreadcrumbList> <BreadcrumbItem> <BreadcrumbLink href="#">Home</Breadcru...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
a39aa657cbeabc08
csharp
250
Dracula
using System.Formats.Tar; using System.IO.Compression; namespace ServiceLib.Common; public static class FileUtils { private static readonly string _tag = "FileManager"; public static bool ByteArrayToFile(string fileName, byte[] content) { try { File.WriteAllBytes(fileName, con...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
597aeb3f697fc0cd
cpp
59
Dracula
/** * Copyright 2025-2026, XGBoost Contributors */ #include "tree_view.h" #include "xgboost/context.h" // for Context #include "xgboost/host_device_vector.h" // for HostDeviceVector #include "xgboost/linalg.h" // for MakeTensorView #include "xgboost/span.h" // for Span names...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
3d040b54ed56c6a0
javascript
20
Dracula
import fisherYates from '../fisherYates'; import { sortedArr } from '../../../sorting/SortTester'; import QuickSort from '../../../sorting/quick-sort/QuickSort'; describe('fisherYates', () => { it('should shuffle small arrays', () => { expect(fisherYates([])).toEqual([]); expect(fisherYates([1])).toEqual([1]...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
2097f9e265023a9b
cpp
99
One Dark Pro
#pragma once #include <hex.hpp> #include <hex/api/imhex_api/hex_editor.hpp> #include <hex/api/event_manager.hpp> /* Forward declarations */ namespace pl::ptrn { class Pattern; } /* Interaction requests definitions */ namespace hex { /** * @brief Requests a selection change in the Hex editor * * T...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
83afa69a001a78ac
java
60
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
f1eb24925b68da6e
go
86
Solarized Dark
// Copyright 2021 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
f715dd566fbdef5e
typescript
91
Solarized Light
import path from "path" import { getShadcnRegistryIndex } from "@/src/registry/api" import { getBase, getConfig } from "@/src/utils/get-config" import { handleError } from "@/src/utils/handle-error" import { highlighter } from "@/src/utils/highlighter" import { logger } from "@/src/utils/logger" import { Command } from...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
0049eb2cc83715d1
java
74
Default Light+
package com.thealgorithms.prefixsum; /** * Implements an algorithm to efficiently compute the sum of elements * between any two indices in an integer array using the Prefix Sum technique. * * <p> * Given an array nums, this algorithm precomputes the prefix sum array * to allow O(1) sum queries for any range [lef...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
d54fd2139b315f6b
java
51
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
672dbd5caae9d555
java
300
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
6856767bb98ac7c5
go
115
Default Dark+
// Copyright 2015 Matthew Holt and The Caddy Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
965d1f8a8eeea6bc
java
81
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
82d610edcde7a7a5
python
381
Monokai
# Based on: # https://github.com/PixArt-alpha/PixArt-alpha [Apache 2.0 license] # https://github.com/PixArt-alpha/PixArt-sigma [Apache 2.0 license] import torch import torch.nn as nn import torch.nn.functional as F from einops import rearrange from comfy.ldm.modules.diffusionmodules.mmdit import TimestepEmbedder, Mlp,...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
af4fb6886de94038
typescript
360
One Dark Pro
import VoiceIcon from "@/app/icons/voice.svg"; import VoiceOffIcon from "@/app/icons/voice-off.svg"; import PowerIcon from "@/app/icons/power.svg"; import styles from "./realtime-chat.module.scss"; import clsx from "clsx"; import { useState, useRef, useEffect } from "react"; import { useChatStore, createMessage, use...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
d48e9f6723fbf37d
cpp
294
One Dark Pro
//===------------------------- MicrosoftDemangle.h --------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
a5c171bd79bd2da7
typescript
29
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import winston from 'winston'; const logger = winston.createLogger({ level: 'info', format: winston.format.combine( // First, add a timestamp to the log info object winston.format.timestamp({ format: 'YYYY-MM-DD ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
6bcd0ce90fd74c9e
java
39
Dracula
package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.SmsCouponHistoryMapper; import com.macro.mall.model.SmsCouponHistory; import com.macro.mall.model.SmsCouponHistoryExample; import com.macro.mall.service.SmsCouponHistoryService...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
aaa56279d8184f51
python
153
Solarized Light
import os from firecrawl import FirecrawlApp import json from dotenv import load_dotenv from openai import OpenAI # ANSI color codes class Colors: CYAN = '\033[96m' YELLOW = '\033[93m' GREEN = '\033[92m' RED = '\033[91m' MAGENTA = '\033[95m' BLUE = '\033[94m' RESET = '\033[0m' # Load envir...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
43208f9f5b7a6c4f
java
35
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
08c507ea032c62d4
java
75
Dracula
package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.portal.config.AlipayConfig; import com.macro.mall.portal.domain.AliPayParam; import com.macro.mall.portal.service.AlipayService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
5945a273b3776f1f
java
328
Default Light+
package com.thealgorithms.datastructures.heaps; import java.util.Arrays; import java.util.Comparator; import java.util.IdentityHashMap; import java.util.Objects; import java.util.function.Consumer; /** * An addressable (indexed) min-priority queue with O(log n) updates. * * <p>Key features: * <ul> * <li>Each e...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
cee3dd80887aa652
typescript
354
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { SafetyCheckInput } from '../safety/protocol.js'; export enum PolicyDecision { ALLOW = 'allow', DENY = 'deny', ASK_USER = 'ask_user', } /** * Valid sources for hook execution */ export type HookSource = 'proj...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
e4609da37f9f81e0
java
48
Default Light+
package com.thealgorithms.dynamicprogramming; /** * A Dynamic Programming solution for the Rod cutting problem. * Returns the best obtainable price for a rod of length n and price[] as prices of different pieces. */ public final class RodCutting { private RodCutting() { } /** * This method calcula...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
3b40983a504e6acb
typescript
166
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { render } from '../../../test-utils/render.js'; import { ExpandableText, MAX_WIDTH } from './ExpandableText.js'; describe('ExpandableText', () => { const color = 'white'; ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
a8f63939081649e5
java
68
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
a60f158b29440781
java
91
Default Dark+
package org.schabi.newpipe.player.ui; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.function.Consumer; public final class PlayerUiList { final List<PlayerUi> playerUis = new ArrayList<>(); /** * Creates a {@link PlayerUiList} starting with the provided pl...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
a510d697ffd52c95
javascript
109
Dracula
#!/usr/bin/env node 'use strict'; const fs = require('fs'); const path = require('path'); const { buildOrchestrationPlan, executePlan, materializePlan } = require('./lib/tmux-worktree-orchestrator'); function usage() { console.log([ 'Usage:', ' node scripts/orchestrate-worktrees.js <plan.json> [--ex...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
ddf06784ca9448b4
cpp
159
One Dark Pro
// __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ // | | |__ | | | | | | version 3.12.0 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013 - 2025 Niels Lohmann <https://nlohmann.me> // SPDX-License-Identifier: MIT #pragma once #undef JS...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
243592f747b2ac3b
typescript
20
Dracula
import React from 'react' export default function Root() { const [count, setCount] = React.useState(0) const [hydrated, setHydrated] = React.useState(false) React.useEffect(() => { setHydrated(true) }, []) return ( <div> <div>hydrated: {String(hydrated)}</div> <div>Count: {count}</div> ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
9a68e797f333c4df
typescript
31
Solarized Light
import { Field, FieldError, FieldLabel } from "@/examples/radix/ui/field" import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, } from "@/examples/radix/ui/select" export function SelectInvalid() { return ( <Field data-invalid className="w-full max-w-48"> <FieldLa...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
20a6fa03cd43aa6c
cpp
54
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" namespace DateCalculationUnitTests { class DateUtils { public: // Converts SYSTEMTIME structure to DateTime value // Converts: SYSTEMTIME -> FILETIME -> DateTime static ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
f61c3e168ede48fe
typescript
40
Solarized Light
"use client" import * as React from "react" import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/registry/bases/base/ui/sidebar" export function NavSecondary({ items, ...props }: { items: { title: string url: string icon: React.ReactNode ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
a326961abe10e7fa
java
360
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
50e3dac8a05417b2
python
99
Monokai
from collections import deque from datetime import datetime import io import logging import sys import threading logs = None stdout_interceptor = None stderr_interceptor = None class LogInterceptor(io.TextIOWrapper): def __init__(self, stream, *args, **kwargs): buffer = stream.buffer encoding = ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
3651790ae35b96cf
java
47
Default Dark+
package org.schabi.newpipe.streams.io; import androidx.annotation.NonNull; import java.io.IOException; import java.io.OutputStream; /** * Simply wraps a writable {@link SharpStream} allowing it to be used with built-in Java stuff that * supports {@link OutputStream}. */ public class SharpOutputStream extends Outp...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
80257aa71c4b7e16
csharp
96
Default Light+
// Copyright (c) 2021 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
f3e4db520017ccb5
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Weaviate; internal sealed class WeaviateOperationResult { private const string Success = nameof(Success); [JsonPropertyName("errors")] public WeaviateOperat...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
4af61c3699a452c7
java
55
Default Light+
package com.thealgorithms.backtracking; import java.util.ArrayList; import java.util.List; /** * Class generates all subsequences for a given list of elements using backtracking */ public final class SubsequenceFinder { private SubsequenceFinder() { } /** * Find all subsequences of given list usin...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
c5585e9fd564cc4e
rust
51
Solarized Dark
use super::CmdResult; use crate::{ cmd::StringifyErr as _, config::{Config, IVerge}, core, feat, }; use reqwest_dav::list_cmd::ListFile; use smartstring::alias::String; /// 保存 WebDAV 配置 #[tauri::command] pub async fn save_webdav_config(url: String, username: String, password: String) -> CmdResult<()> { ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
3c6fba405170bb43
java
47
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
0348b5db897adb13
csharp
64
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.Logging; namespace Microsoft.SemanticKernel.Agents.Chat; #pragma warning disable SYSLIB1006 // Multiple logging methods cannot use the same event id within a class /// <summary> /// Exten...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
68f61aec03b07ca5
python
57
Solarized Light
# https://byjus.com/equivalent-resistance-formula/ from __future__ import annotations def resistor_parallel(resistors: list[float]) -> float: """ Req = 1/ (1/R1 + 1/R2 + ... + 1/Rn) >>> resistor_parallel([3.21389, 2, 3]) 0.8737571620498019 >>> resistor_parallel([3.21389, 2, -3]) Traceback (m...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...