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
08d2c5d83d5baa79
typescript
453
Default Dark+
import { z } from 'zod'; import type { FilterCounts } from '~/utils/resumes/resumeFilters'; import { getWhereClauseFilters, resumeGetFilterCounts, } from '~/utils/resumes/resumePrismaUtils'; import { createProtectedRouter } from '../context'; import type { Resume } from '~/types/resume'; export const resumesRes...
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.", ...
31e368c4bca0f347
typescript
27
GitHub Dark
import type { Component } from 'vue'; import { Input, Select, Checkbox, InputNumber, Switch, DatePicker, TimePicker } from 'ant-design-vue'; import type { ComponentType } from './types/componentType'; import { ApiSelect, ApiTreeSelect } from '/@/components/Form'; const componentMap = new Map<ComponentType, Component>(...
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...
cc2e334569bf578d
cpp
194
One Dark Pro
#pragma once #include <hex.hpp> #include <hex/api/localization_manager.hpp> #include <string> #include <list> #include <variant> #include <hex/ui/imgui_imhex_extensions.h> struct ImRect; EXPORT_MODULE namespace hex { class TutorialManager { public: enum class Position : u8 { None =...
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...
49f088ddd1f592b7
java
33
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 ...
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...
d72f66d29718bbd5
python
77
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import TYPE_CHECKING from semantic_kernel.kernel import Kernel from semantic_kernel.kernel_pydantic import KernelBaseModel from semantic_kernel.processes.local_runtime.local_process import LocalProcess from semantic_kernel.utils.feature_stage_decorator impor...
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.", ...
5b8bfd46e8dc3303
go
327
Default Light+
package updater import ( "archive/zip" "io/fs" "os" "path/filepath" "strings" "testing" ) func TestDoUpgrade(t *testing.T) { tmpDir := t.TempDir() BundlePath = filepath.Join(tmpDir, "Ollama.app") appContents := filepath.Join(BundlePath, "Contents") appBackupDir = filepath.Join(tmpDir, "backup") appContents...
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...
72e3f79bfa11d27b
go
362
Default Light+
package gemma3n import ( "cmp" "math" "github.com/ollama/ollama/fs" "github.com/ollama/ollama/kvcache" "github.com/ollama/ollama/ml" "github.com/ollama/ollama/ml/nn" "github.com/ollama/ollama/ml/nn/rope" "github.com/ollama/ollama/model/input" ) type TextModel struct { TokenEmbedding *TextScaledWordEmbedding...
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...
ba497bf68fe16924
go
28
Solarized Dark
// Copyright 2015 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...
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" ...
1aafe97e576ea38c
cpp
152
One Dark Pro
#pragma once #include "ggml.h" #include "ggml-backend.h" #ifdef __cplusplus extern "C" { #endif // the compute plan that needs to be prepared for ggml_graph_compute() // since https://github.com/ggml-org/ggml/issues/287 struct ggml_cplan { size_t work_size; // size of work buffer, calculated ...
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.", ...
876e59ac8fac94aa
python
109
Monokai
# code adapted from: https://github.com/Stability-AI/stable-audio-tools import torch import torch.nn as nn from torch import Tensor from typing import List, Union from einops import rearrange import math import comfy.ops class LearnedPositionalEmbedding(nn.Module): """Used for continuous time""" def __init__...
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...
c8cf1b2947dbcf48
go
401
Default Light+
package fs import ( "context" stderrors "errors" "fmt" "io" "math/rand" "mime" "net/http" "os" stdpath "path" "path/filepath" "strconv" "strings" "time" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github....
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...
bf14360a3d6e1894
java
35
Default Light+
package com.thealgorithms.bitmanipulation; /** * The ParityCheck class provides a method to check the parity of a given number. * <p> * Parity is a mathematical term that describes the property of an integer's binary representation. * The parity of a binary number is the number of 1s in its binary representation. ...
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"...
d8005cc0e294a7cd
typescript
115
Solarized Light
import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" import { Card, CardContent } from "@/registry/bases/radix/ui/card" import { Field, FieldDescription, FieldGroup, FieldLabel, FieldSeparator, } from "@/registry/bases/radix/ui/field" import { Input }...
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"...
fc8838e003bb6d7c
java
41
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" ...
d405f46607b11bdc
java
78
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 ...
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" ...
f9861687d6c59e09
cpp
23
Solarized Light
#pragma once #include "StdTable.h" class SEHChainView : public StdTable { Q_OBJECT public: explicit SEHChainView(StdTable* parent = nullptr); void setupContextMenu(); protected slots: void updateSEHChain(); void contextMenuSlot(const QPoint pos); void doubleClickedSlot(); void followAddre...
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.", ...
02ac9f340e99424e
typescript
43
Default Light+
import clsx from "clsx"; import React, { useState } from "react"; import { getNameInitial } from "../clients"; import "./Avatar.scss"; type AvatarProps = { onClick: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void; color: string; name: string; src?: string; className?: string; }; export const Ava...
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...
8d5eea5975172160
python
338
Monokai
from __future__ import annotations from typing import Type, Literal import nodes import asyncio import inspect from comfy_execution.graph_utils import is_link, ExecutionBlocker from comfy.comfy_types.node_typing import ComfyNodeABC, InputTypeDict, InputTypeOptions # NOTE: ExecutionBlocker code got moved to graph_util...
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...
51e981387f2804f9
csharp
182
Default Light+
// C:\Users\Siegfried\Documents\Visual Studio 2017\Projects\ConsoleApp13\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe // ConsoleApplication1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // Global type: <Module> // Entry point: Program.main // Architecture: AnyCPU (32-bit preferred) // Runtime: .NET 4...
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...
bcc453bf3d5c358d
java
65
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 ...
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.", ...
e46c0717f425c7c8
rust
56
Solarized Light
use std::io::Write; use anstyle::{AnsiColor, Color, Style}; use log::{Level, LevelFilter, Log, Metadata, Record}; pub fn paint(color: Option<impl Into<Color>>, text: &str) -> String { let style = Style::new().fg_color(color.map(Into::into)); format!("{style}{text}{style:#}") } struct Logger; impl Log for Lo...
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"...
ae65d8ac6a30b664
java
44
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...
57eff25491acd122
java
31
GitHub Dark
package org.jeecg.modules.airag.prompts.consts; /** * AI提示词常量类 * */ public class AiPromptsConsts { /** * 状态:进行中 */ public static final String STATUS_RUNNING = "run"; /** * 状态:完成 */ public static final String STATUS_COMPLETED = "completed"; /** * 状态:失败 */ public...
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...
85f3491ad0d4789e
java
69
GitHub Dark
package org.jeecg.modules.system.controller; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; import lombok.extern.slf4j.Slf4j; import org.apache.shiro.authz.annotation.RequiresRoles; import org.jeecg.common.api.vo.Result; import org.jeecg.common.util.RedisUtil; import org...
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"...
32494297021e54e4
python
253
Monokai
import torch import torch.nn as nn from comfy.ldm.modules.attention import optimized_attention_masked class LayerNormConv(nn.Module): def __init__(self, in_channels, out_channels, kernel_size, stride, bias=False, dtype=None, device=None, operations=None): super().__init__() self.conv = operations....
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...
97c688bc63ef019b
typescript
188
Solarized Light
"use client" import * as React from "react" import { zodResolver } from "@hookform/resolvers/zod" import { Controller, useForm } from "react-hook-form" import { toast } from "sonner" import * as z from "zod" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardContent, CardDescription, ...
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"...
ad0dcd9b5a00a83d
typescript
393
GitHub Dark
import { defHttp } from '/@/utils/http/axios'; enum Api { cpuCount = '/actuator/metrics/system.cpu.count', cpuUsage = '/actuator/metrics/system.cpu.usage', processStartTime = '/actuator/metrics/process.start.time', processUptime = '/actuator/metrics/process.uptime', processCpuUsage = '/actuator/metrics/proce...
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...
3eebaec37b036ea0
typescript
88
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Text } from 'ink'; import { theme } from '../semantic-colors.js'; import { useUIState, type UIState } from '../contexts/UIStateContext.js'; import { TransientMessageType } from '../../utils/...
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"...
add778bda308a534
csharp
33
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.Logging; namespace Microsoft.SemanticKernel.TemplateEngine; internal sealed class TextBlock : Block, ITextRendering { internal override BlockTypes Type => BlockTypes.Text; public TextBlock(string? text, ILoggerFactory? loggerFactor...
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...
76bd7ce1eb9dc156
csharp
171
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 ...
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...
656547dab5abb4eb
cpp
82
One Dark Pro
#include "ggml-remoting.h" static ggml_backend_buffer_t ggml_backend_remoting_buffer_type_alloc_buffer(ggml_backend_buffer_type_t buft, size_t size) { virtgpu * gpu = BUFT_TO_GPU(buft); ggml_backend_remoting_buffer...
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...
cb3d0394bf49ae16
python
155
Default Light+
import itertools from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, extract_attributes, get_element_by_class, get_element_html_by_class, get_element_text_and_html_by_tag, get_elements_html_by_class, int_or_none, join_non...
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...
a89f029e733d650d
csharp
114
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 ...
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...
424bf664de7cec70
csharp
45
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.", ...
194629d5304e38f3
typescript
62
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import { TestRig, printDebugInfo, assertModelHasOutput, checkModelOutputContent, } from './test-helper.js'; describe('read_many_files', () => { let ri...
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...
4564610a5e559f2a
java
78
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...
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...
4670d678316662cf
python
116
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import logging import os from pathlib import Path from semantic_kernel.agents import ChatCompletionAgent from semantic_kernel.connectors.ai.open_ai import OpenAIChatCompletion from semantic_kernel.connectors.mcp import MCPStdioPlugin # set this lower or ...
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...
576446198730aa31
java
76
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...
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...
46d730df71616198
java
65
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...
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...
a8186dff96d6be11
java
56
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...
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.", ...
9d4e01917d0280f0
typescript
153
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach, afterEach } from 'vitest'; import os from 'node:os'; import fs from 'node:fs'; import { readFile } from 'node:fs/promises'; import { getContainerPath, parseImageName, ports, en...
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...
6f7bc0daf61a3c9f
cpp
66
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...
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...
5c15f01709a16f88
python
39
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import TYPE_CHECKING, Annotated from semantic_kernel.functions.kernel_function_decorator import kernel_function if TYPE_CHECKING: from semantic_kernel.connectors.search_engine.connector import ConnectorBase class WebSearchEnginePlugin: """A plugin...
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.", ...
a44d1f1849674189
csharp
165
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...
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"...
88beff4482216a95
java
57
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...
190ad4717bd8bd44
python
61
Default Light+
from .common import InfoExtractor from ..utils import int_or_none, merge_dicts class AitubeKZVideoIE(InfoExtractor): _VALID_URL = r'https?://aitube\.kz/(?:video|embed/)\?(?:[^\?]+)?id=(?P<id>[\w-]+)' _TESTS = [{ # id paramater as first parameter 'url': 'https://aitube.kz/video?id=9291d29b-c038...
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...
edc659c8a4c4a202
java
128
Solarized Dark
// Google is one of the most famous Internet search engines which hosts and develops a number of Internetbased // services and products. On its search engine website, an interesting button ‘I’m feeling lucky’ // attracts our eyes. This feature could allow the user skip the search result page and goes directly to the //...
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...
afae95ec5143d451
typescript
70
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { MCPServerConfig, ExtensionInstallMetadata, CustomTheme, } from '@google/gemini-cli-core'; import * as fs from 'node:fs'; import * as path from 'node:path'; import { INSTALL_METADATA_FILENAME } from './extensions...
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" ...
889100a2ea5a22e8
typescript
167
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render } from '../../test-utils/render.js'; import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import { act } from 'react'; import { CloudFreePrivacyNotice } from './CloudFreePrivacyNotice.js'; impor...
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...
527926a8be6a1bd2
java
417
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...
ef2dc9c449301114
go
110
Default Light+
package tui import ( "fmt" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" ) var ( confirmActiveStyle = lipgloss.NewStyle(). Bold(true). Background(lipgloss.AdaptiveColor{Light: "254", Dark: "236"}) confirmInactiveStyle = lipgloss.NewStyle(). Foreground(lipgloss.Adaptiv...
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...
631edc88ed048eba
rust
194
GitHub Dark
use super::Point; const TOLERANCE: f64 = 0.0001; pub struct Segment { pub a: Point, pub b: Point, } impl Segment { pub fn new(x1: f64, y1: f64, x2: f64, y2: f64) -> Segment { Segment { a: Point::new(x1, y1), b: Point::new(x2, y2), } } pub fn from_points(a:...
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...
cd83ada2843a53e1
rust
444
Solarized Dark
use crate::module::ALL_MODULES; use serde::de::{ Deserializer, Error, IntoDeserializer, Visitor, value::{Error as ValueError, MapDeserializer, SeqDeserializer}, }; use std::{cmp::Ordering, fmt}; use toml::Value; /// A `toml::Value` that borrows its contents instead of owning them. #[derive(Debug, Clone, Copy)]...
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...
4b5d8891b26d61f6
typescript
182
Solarized Light
"use client" import * as React from "react" import { IconCamera, IconChartBar, IconDashboard, IconDatabase, IconFileAi, IconFileDescription, IconFileWord, IconFolder, IconHelp, IconInnerShadowTop, IconListDetails, IconReport, IconSearch, IconSettings, IconUsers, } from "@tabler/icons-reac...
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"...
e164a0e3ace37293
java
41
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 ...
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...
cffd570de05c269c
java
54
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...
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...
889bd21c7f5fdaff
csharp
118
Default Light+
using FluentValidation; using Microsoft.AspNetCore.Http.HttpResults; using MinimalClean.Architecture.Web.Domain.CartAggregate; namespace MinimalClean.Architecture.Web.CartFeatures.AddToCart; public sealed class AddToCartRequest { public const string Route = "/cart"; public Guid? CartId { get; init; } public in...
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...
bf36cacf3243ce54
csharp
92
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 ...
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.", ...
44400c75b4e564bd
javascript
21
Dracula
// no `exports` key, should resolve to entries/dir/index.js import dirEntry from '@vitejs/test-entries/dir' // no `exports` key, should resolve to entries/file.js import fileEntry from '@vitejs/test-entries/file' // has `exports` key, should resolve to pkg-exports/entry import pkgExportsEntry from '@vitejs/test-resolve...
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.", ...
d3bbbaecef7c44aa
java
52
GitHub Dark
package org.jeecg.modules.oss.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.jeecg.common.exception.JeecgBootException; import org.jeecg.common.util.CommonUtils; import org.jeecg.common.util.oConvertUtils; import org.jeecg.common.util.oss.OssBootUtil; import org.jeecg.modu...
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...
652dc1793c41f525
typescript
45
Solarized Light
export default function TypographyTable() { return ( <div className="my-6 w-full overflow-y-auto"> <table className="w-full"> <thead> <tr className="m-0 border-t p-0 even:bg-muted"> <th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right...
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"...
b58d7935c0806ee1
python
141
Solarized Light
from __future__ import annotations from collections.abc import Iterator from dataclasses import dataclass @dataclass class TreeNode: """ A binary tree node has a value, left child, and right child. Props: value: The value of the node. left: The left child of the node. right: The ...
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...
afd9b8e47c609623
java
76
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 ...
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" ...
6267cd4ac33413cf
typescript
175
One Dark Pro
import DeleteIcon from "../icons/delete.svg"; import styles from "./home.module.scss"; import { DragDropContext, Droppable, Draggable, OnDragEndResponder, } from "@hello-pangea/dnd"; import { useChatStore } from "../store"; import Locale from "../locales"; import { useLocation, useNavigate } from "react-rout...
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"...
3c977e345cb51a40
java
49
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...
892e3108eb50b841
cpp
105
Default Light+
/* Copyright © 2023-2024 Apple Inc. */ #ifndef MLX_IO_TYPES_H #define MLX_IO_TYPES_H #include <stdbool.h> #include "mlx/c/string.h" #ifdef __cplusplus extern "C" { #endif /** * \defgroup mlx_io_types IO Types * MLX IO type objects. */ /**@{*/ /** * A MLX IO reader object. */ typedef struct mlx_io_reader_ { ...
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...
d4f646dff99cde9b
python
167
Default Light+
import json import re from .common import InfoExtractor from .jwplatform import JWPlatformIE from ..utils import ( determine_ext, js_to_json, url_or_none, ) from ..utils.traversal import find_element, traverse_obj class TV2DKIE(InfoExtractor): _VALID_URL = r'''(?x) https?:// ...
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" ...
4e89cd715a5fba03
python
277
Monokai
# code adapted from: https://github.com/Stability-AI/stable-audio-tools import torch from torch import nn from typing import Literal import math import comfy.ops ops = comfy.ops.disable_weight_init def vae_sample(mean, scale): stdev = nn.functional.softplus(scale) + 1e-4 var = stdev * stdev lo...
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...
f0e295f94d80e636
typescript
455
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { ThinkingLevel } from '@google/genai'; import type { ModelConfigServiceConfig } from '../services/modelConfigService.js'; import { DEFAULT_THINKING_MODE } from './models.js'; // The default model configs. We use `base` as ...
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"...
674622d1d7f1acfb
javascript
32
Default Dark+
const { MonitorType } = require("./monitor-type"); const { UP } = require("../../src/util"); const { GameDig } = require("gamedig"); class GameDigMonitorType extends MonitorType { name = "gamedig"; /** * @inheritdoc */ async check(monitor, heartbeat, server) { try { const sta...
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" ...
7765923fa7127d51
typescript
45
Default Light+
import clsx from "clsx"; import { useState, useEffect } from "react"; import { THEME } from "@excalidraw/common"; import type { Theme } from "@excalidraw/element/types"; import { t } from "../i18n"; import Spinner from "./Spinner"; export const LoadingMessage: React.FC<{ delay?: number; theme?: Theme }> = ({ del...
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...
c5900c740b54c5e6
java
126
Default Light+
package com.thealgorithms.backtracking; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** * A class to solve a crossword puzzle using backtracking. * Example: * Input: * puzzle = { * {' ', ' ', ' '}, * {' ', ' ', ' '}, * {' ', ' ', ' '} * } * words = List.o...
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"...
0d6c4e8e16b25c60
java
63
Dracula
package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.PmsProduct; import com.macro.mall.portal.domain.PmsPortalProductDetail; import com.macro.mall.portal.domain.PmsProductCategoryNode; import com.macro.mall.por...
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"...
f91e1e915614fd1d
csharp
200
Default Light+
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using MinimalClean.Architecture.Web.Infr...
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.", ...
44bd5f186aeed0cc
python
426
Default Light+
import base64 import hashlib import hmac import itertools import json import re import time import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, dict_get, int_or_none, join_nonempty, merge_dicts, parse_iso8601, traverse_obj, try_get, unified_ti...
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" ...
b97e02e066c37839
typescript
58
Solarized Light
import { AppSidebar } from "@/registry/bases/base/blocks/sidebar-04/components/app-sidebar" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/bases/base/ui/breadcrumb" import { Separator } from "@/registry/bases/base/ui/separator" im...
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...
0de51f0bc7d23870
python
375
Default Light+
import json from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, int_or_none, join_nonempty, parse_age_limit, traverse_obj, ) class ViewLiftBaseIE(InfoExtractor): _API_BASE = 'https://prod-api.viewlift.com/' _DOMAINS_REGEX =...
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.", ...
59daa7c5aafd12d9
java
57
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 ...
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.", ...
94ffad1af2422b8d
java
89
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...
36b1fec5cf0af6fb
cpp
111
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...
2b5a7a4e6ab019f6
typescript
173
Solarized Light
import { Meta } from "../.."; import { EngineScrapeResult } from ".."; import { fetchFileToBuffer } from "../utils/downloadFile"; import { DocumentConverter, DocumentType } from "@mendable/firecrawl-rs"; import type { Response } from "undici"; import { DocumentAntibotError, DocumentPrefetchFailed } from "../../error"; ...
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...
a461ed8c26081d4c
rust
52
Default Dark+
use crate::types::OpenAIError; use derive_builder::Builder; use serde::{Deserialize, Serialize}; use super::OrganizationRole; /// Represents an individual `user` within an organization. #[derive(Debug, Serialize, Deserialize, Clone, PartialEq)] pub struct User { /// The object type, which is always `organization....
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" ...
7186e08b5263ab87
python
22
Monokai
# Copyright (c) Microsoft. All rights reserved. from semantic_kernel.kernel_pydantic import KernelBaseModel from semantic_kernel.processes.kernel_process.kernel_process_edge import KernelProcessEdge from semantic_kernel.processes.kernel_process.kernel_process_step_state import KernelProcessStepState from semantic_ker...
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...
e0432ad461cd2d42
python
44
Solarized Light
""" Name scores Problem 22 Using names.txt (right click and 'Save Link/Target As...'), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical value for each name, multiply this value by its alphabetical position in the list to obtain a ...
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...
3dd8653bfaf8c6a0
cpp
62
Solarized Light
#include "XByteArray.h" XByteArray::XByteArray() { } QByteArray & XByteArray::data() { return _data; } void XByteArray::setData(const QByteArray & data) { _data = data; } int XByteArray::size() { return _data.size(); } QByteArray & XByteArray::insert(int i, char ch) { _data.insert(i, ch); retur...
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"...
6365189255c8df1c
java
63
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...
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" ...
e6733acd620e4b3e
go
127
Default Light+
package parsers import ( "strings" "unicode" "github.com/ollama/ollama/api" ) type Nemotron3NanoParserState int const ( Nemotron3NanoCollectingThinking Nemotron3NanoParserState = iota Nemotron3NanoSkipWhitespaceAfterThinking Nemotron3NanoCollectingContent ) const ( nemotronThinkClose = "</think>" nemotro...
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...
7fcdf82196694f5e
typescript
81
Default Dark+
import clsx from 'clsx'; import { useId } from 'react'; import { useRadioListContext } from './RadioListContext'; type Props<T> = Readonly<{ description?: string; disabled?: boolean; label: string; value: T; }>; export default function RadioListItem<T>({ description, disabled = false, label, value, }...
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" ...
27eae415fd509d54
typescript
32
Solarized Light
import type { FC } from "react"; import { useEditorContext } from "../state"; import type { EditorMetadataProps } from "../types"; import AttachmentList from "./AttachmentList"; import LocationDisplay from "./LocationDisplay"; import RelationList from "./RelationList"; export const EditorMetadata: FC<EditorMetadataPro...
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" ...
9996f389ba859518
cpp
29
Solarized Light
#pragma once #include "command.h" bool cbDebugSetBPX(int argc, char* argv[]); bool cbDebugDeleteBPX(int argc, char* argv[]); bool cbDebugEnableBPX(int argc, char* argv[]); bool cbDebugDisableBPX(int argc, char* argv[]); bool cbDebugSetHardwareBreakpoint(int argc, char* argv[]); bool cbDebugDeleteHardwareBreakpoint(in...
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...
253a213f6b41dce2
javascript
29
Default Dark+
const defaultTheme = require('tailwindcss/defaultTheme'); const colors = require('tailwindcss/colors'); /** @type {import('tailwindcss').Config} */ module.exports = { content: ['./src/**/*.{js,jsx,ts,tsx,md,mdx}'], theme: { extend: { fontFamily: { sans: ['Inter var', ...defaultTheme.fontFamily.sa...
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...
15d948540f683cf2
cpp
73
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 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...
d309084c0d2e0bed
java
49
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...
0890c451914006de
typescript
214
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { BaseDeclarativeTool, BaseToolInvocation, type ToolResult, Kind, type ToolAskUserConfirmationDetails, type ToolConfirmationPayload, ToolConfirmationOutcome, } from './tools.js'; import { ToolErrorType } from '...
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"...
87fd1baeb61e3950
go
472
Default Light+
package convert import ( "bytes" "crypto/sha256" "encoding/binary" "encoding/hex" "encoding/json" "flag" "fmt" "io" "io/fs" "log/slog" "maps" "os" "path/filepath" "slices" "strings" "testing" "github.com/google/go-cmp/cmp" fsc "github.com/ollama/ollama/fs" "github.com/ollama/ollama/fs/ggml" ) type...
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...
2eff9eaa4815bf87
cpp
50
Solarized Light
#pragma once #ifndef QT_NO_ACCESSIBILITY #include <array> #include <QAccessibleWidget> #include "Gui/RegistersView.h" class AccessibleRegistersView; class AccessibleRegistersViewItem : public QAccessibleInterface { RegistersView::REGISTER_NAME id; AccessibleRegistersView* mParent; public: AccessibleRegist...
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.", ...
7ce80eb6a04d25bf
java
223
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"...
f0e4c2633b866504
typescript
109
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/base/lib/utils" import { Avatar as AvatarPrimitive } from "@base-ui/react/avatar" function Avatar({ className, size = "default", ...props }: AvatarPrimitive.Root.Props & { size?: "default" | "sm" | "lg" }) { return ( <AvatarPrimi...
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...
b40f9768ee8e7a1d
python
25
Dracula
from fastapi import FastAPI from fastapi.testclient import TestClient app = FastAPI() items = {} @app.on_event("startup") async def startup_event(): items["foo"] = {"name": "Fighters"} items["bar"] = {"name": "Tenders"} @app.get("/items/{item_id}") async def read_items(item_id: str): return items[item...
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.", ...
43d71965426006a4
java
45
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"...