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
99dcb6e94c7178bf
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...
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.", ...
f0b0da3c3d696278
csharp
164
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 ...
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"...
655d672f8213c671
go
180
Default Light+
package fs import ( "context" "fmt" "github.com/alist-org/alist/v3/internal/errs" "net/http" stdpath "path" "time" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/op" "github...
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...
394848fe97309303
typescript
42
Solarized Light
"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { PAGES_NEW } from "@/lib/docs" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" export function MainNav({ items, className, ...props }: React.ComponentProps<"nav"> & { ite...
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...
03ff990c29985b2b
typescript
58
One Dark Pro
import { HoppRESTRequest } from "@hoppscotch/data" /** * We use the save context to figure out * how a loaded request is to be saved. * These will be set when the request is loaded * into the request session */ export type HoppRequestSaveContext = | { /** * The origin source of the request *...
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...
36425d76177bdd06
csharp
189
Dracula
using System.Windows.Controls; using System.Windows.Controls.Primitives; using v2rayN.Base; namespace v2rayN.Views; public partial class ProfilesSelectWindow { private static Config _config; public Task<ProfileItem?> ProfileItem => GetProfileItem(); public Task<List<ProfileItem>?> ProfileItems => GetProf...
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" ...
3b38209aa41e4fe9
rust
189
Solarized Dark
use systemstat::{ Platform, System, data::{ByteSize, saturating_sub_bytes}, }; use super::{Context, Module, ModuleConfig}; use crate::configs::memory_usage::MemoryConfig; use crate::formatter::StringFormatter; // Display a `ByteSize` in a human readable format. fn display_bs(bs: ByteSize) -> String { let...
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...
5daf028fc3b104a9
javascript
60
Dracula
/** * @see https://www.youtube.com/watch?v=GTJr8OvyEVQ * @param {string} word * @return {number[]} */ function buildPatternTable(word) { const patternTable = [0]; let prefixIndex = 0; let suffixIndex = 1; while (suffixIndex < word.length) { if (word[prefixIndex] === word[suffixIndex]) { patternTa...
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"...
74b22359af24eede
java
66
GitHub Dark
package com.xxl.job.admin.core.alarm; import com.xxl.job.admin.core.model.XxlJobInfo; import com.xxl.job.admin.core.model.XxlJobLog; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.beans.factory.InitializingBean; import org.springfram...
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...
694d85f434deb431
typescript
40
Solarized Light
import Link from "next/link" import { SlashIcon } from "lucide-react" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/new-york-v4/ui/breadcrumb" export default function BreadcrumbWithCustomSeparator() { return ( <Breadcrumb...
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.", ...
9884aff2b50d53a0
typescript
98
Dracula
import { defineConfig } from 'vite' import type { Plugin } from 'vite' export default defineConfig({ experimental: { hmrPartialAccept: true, }, build: { assetsInlineLimit(filePath) { if (filePath.endsWith('logo-no-inline.svg')) { return false } }, }, plugins: [ { nam...
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...
48942375d802cc5c
cpp
44
Solarized Dark
#ifndef OPENPOSE_CORE_STRING_HPP #define OPENPOSE_CORE_STRING_HPP #include <memory> // std::shared_ptr #include <string> #include <openpose/core/macros.hpp> namespace op { /** * String: Basic container for std::string to avoid std::string in the WrapperStructXXX classes. Otherwise, * cryptic runtime DLL...
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...
c2c4fa3f9a0dbeaf
go
31
Default Light+
package middlewares import ( "strings" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/pkg/utils" "github.com/alist-org/alist/v3/server/common" "github.com/gin-gonic/gin" ) func StoragesLoaded(c *gin.Context) { if conf.StoragesLoaded { c.Next() } else { if utils.SliceContains(...
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" ...
d402392b94689fe8
go
25
Solarized Dark
// Copyright 2026 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...
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...
781dc57273746684
typescript
22
Solarized Light
import { Label } from "@/examples/base/ui/label" import { RadioGroup, RadioGroupItem } from "@/examples/base/ui/radio-group" export function RadioGroupDemo() { return ( <RadioGroup defaultValue="comfortable" className="w-fit"> <div className="flex items-center gap-3"> <RadioGroupItem value="default...
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...
06f693835989296f
java
245
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...
48d83f7b264839bc
cpp
377
One Dark Pro
/********************************************************************** * File: rejctmap.h (Formerly rejmap.h) * Description: REJ and REJMAP class functions. * Author: Phil Cheatle * * (C) Copyright 1994, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you ma...
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.", ...
499d14ffb3b209fb
java
52
Default Light+
package com.thealgorithms.conversions; import static java.util.Map.entry; import java.util.Map; import org.apache.commons.lang3.tuple.Pair; /** * A utility class to perform unit conversions between different measurement systems. * * <p>Currently, the class supports temperature conversions between several scales: ...
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"...
bbe8370084c93278
typescript
215
Solarized Light
"use client" import * as React from "react" import { cn } from "@/lib/utils" export function ChartTooltipDemo() { return ( <div className="grid aspect-video w-full max-w-md justify-center text-foreground md:grid-cols-2 [&>div]:relative [&>div]:flex [&>div]:h-[137px] [&>div]:w-[224px] [&>div]:items-center [&>di...
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.", ...
37a31ff30ce7bc42
python
198
Monokai
"""Tests for tagging services.""" import pytest from sqlalchemy.orm import Session from app.assets.database.models import Asset, AssetReference from app.assets.database.queries import ensure_tags_exist, add_tags_to_reference from app.assets.helpers import get_utc_now from app.assets.services import apply_tags, remove_...
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...
12517bb1933db877
cpp
59
One Dark Pro
#pragma once // clang-format off #include "ggml.h" #include "ggml-backend-impl.h" #include <unordered_map> #include <unordered_set> #include <vector> #include <cstdint> // clang-format on // ggml_tensor is serialized into apir_rpc_tensor struct apir_rpc_tensor { uint64_t id; uint32_t type; uint64_t buffe...
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" ...
ae18b8105b8e1f7f
python
41
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import List from pydantic import BaseModel from fastapi import FastAPI from evaluate import load from comet import download_model, load_from_checkpoint app = FastAPI() class SummarizationEvaluationRequest(BaseModel): sources: List[str] summaries: L...
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" ...
97da79d2768c5aab
java
347
GitHub Dark
package com.github.mikephil.charting.charts; import android.content.Context; import android.graphics.RectF; import android.util.AttributeSet; import android.util.Log; import com.github.mikephil.charting.components.XAxis.XAxisPosition; import com.github.mikephil.charting.components.YAxis.AxisDependency; import com.git...
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...
b27b6c5949dafd0b
cpp
82
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...
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.", ...
fd5871666cd128dc
cpp
21
One Dark Pro
// // MIT license // Copyright (C) 2024 Intel Corporation // SPDX-License-Identifier: MIT // // // 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 // #ifndef GGML_SYCL_...
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...
570c99d45cc9a7a9
csharp
155
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents.OpenAI.Internal; using OpenAI.Assistants; namespace Microsoft.SemanticKernel.Agents.OpenAI; #pragma warning disable SYSLIB1006 // Multiple lo...
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" ...
653787f3523400dd
csharp
232
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" ...
18ffad459d6029ea
cpp
38
Solarized Light
#ifndef QT_NO_ACCESSIBILITY #include "Accessible.h" #include "AccessibleRegistersView.h" #include "AccessibleAbstractTableView.h" #include "AccessibleDisassembly.h" #include "AccessibleHexDump.h" #include "AccessibleStdTable.h" #include "AccessibleTraceBrowser.h" QAccessibleInterface* accessibleInterfaceFactory(const ...
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...
ec599867ff5eef5e
java
30
GitHub Dark
package org.jeecg.config.init; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.util.RedisUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunne...
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...
4a5b318636bc5097
java
365
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"...
e357d79d7816fe72
cpp
29
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #ifndef SPDLOG_COMPILED_LIB #error Please define SPDLOG_COMPILED_LIB to compile this file. #endif #include <spdlog/common-inl.h> #include <spdlog/details/backtracer-inl.h> #includ...
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...
5c00cf07a042db23
python
86
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from samples.concepts.setup.chat_completion_services import ( Services, get_chat_completion_service_and_request_settings, ) from semantic_kernel.contents import ChatHistory # This sample shows how to create a chatbot whose output can be stored fo...
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...
6a485d8f892a9470
cpp
217
One Dark Pro
/********************************************************************** * File: fixxht.cpp (Formerly fixxht.c) * Description: Improve x_ht and look out for case inconsistencies * Author: Phil Cheatle * Created: Thu Aug 5 14:11:08 BST 1993 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Licensed...
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...
25d1fcf73d07d851
python
22
Dracula
from fastapi import Depends, FastAPI app = FastAPI() class FixedContentQueryChecker: def __init__(self, fixed_content: str): self.fixed_content = fixed_content def __call__(self, q: str = ""): if q: return self.fixed_content in q return False checker = FixedContentQuery...
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...
fd38adf021cb12ac
cpp
48
One Dark Pro
// (C) Copyright 2017, Google Inc. // 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,...
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" ...
edb52e813deb768e
go
45
Default Light+
package gitee import ( "fmt" "net/url" "github.com/alist-org/alist/v3/pkg/utils" "github.com/go-resty/resty/v2" ) func (d *Gitee) getRepo() (*Repo, error) { req := d.client.R() if d.Token != "" { req.SetQueryParam("access_token", d.Token) } if d.Cookie != "" { req.SetHeader("Cookie", d.Cookie) } escape...
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...
2ab9318e3ffb5449
cpp
73
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...
131f1bd7a06f96d1
typescript
326
Solarized Light
"use client" import * as React from "react" import { Combobox as ComboboxPrimitive } from "@base-ui/react" import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from "@/registry...
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"...
8e54b7d45f9f058a
csharp
22
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.TemplateEngine; /// <summary> /// Interface of dynamic blocks that need async IO to be rendered. /// </summary> internal interface ICodeRendering { /// <summary> /// Rend...
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"...
904dc9ecca13e35e
cpp
124
One Dark Pro
#include "models.h" llm_build_orion::llm_build_orion(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v(); GGML_ASSERT(n_embd_head == hparams.n_embd_head_k()); GGML_ASSERT(n_embd_head == n_rot); ggml_tensor * cur...
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...
b81e1866d2798ac3
java
424
Default Light+
package com.thealgorithms.geometry; import java.awt.geom.Point2D; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.NavigableSet; import java.util.Objects; import java.util.PriorityQueue; import jav...
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...
70e447bc23151597
typescript
40
Solarized Light
import { Field, FieldContent, FieldDescription, FieldGroup, FieldLabel, FieldTitle, } from "@/examples/base/ui/field" import { Switch } from "@/examples/base/ui/switch" export function SwitchChoiceCard() { return ( <FieldGroup className="w-full max-w-sm"> <FieldLabel htmlFor="switch-share"> ...
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" ...
5da3c1d98a9c765e
cpp
47
Solarized Light
#pragma once #include <QSplitter> class LabeledSplitter; class QMenu; class QAction; class LabeledSplitterDetachedWindow; class LabeledSplitter : public QSplitter { Q_OBJECT public: LabeledSplitter(QWidget* parent); void addWidget(QWidget* widget, const QString & name); void insertWidget(int index, Q...
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.", ...
56935a1ee2313d29
csharp
294
Default Light+
// Copyright (c) 2020 Daniel Grunwald // // 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, // publi...
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.", ...
5f8eb8cdba0fac57
typescript
61
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { Field, FieldGroup, FieldLabel } from "@/examples/radix/ui/field" import { Input } from "@/examples/radix/ui/input" import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from "@/examples/radix/ui/input-group" import { CopyIcon, Tra...
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...
cbff313dedadb6f2
cpp
248
Dracula
#ifndef WF_CLIPRDR_H__ #define WF_CLIPRDR_H__ #ifdef __cplusplus extern "C" { #endif typedef signed char INT8, *PINT8; typedef signed short INT16, *PINT16; typedef signed int INT32, *PINT32; typedef unsigned char UINT8, *PUINT8; typedef unsigned short UINT16, *PUINT16; typedef unsigned int UIN...
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...
def24b431832dd60
java
34
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...
eacad0c4aacb1822
typescript
381
Default Light+
import { useChats } from "@/hooks/useChats"; import { useRenameChat } from "@/hooks/useRenameChat"; import { useDeleteChat } from "@/hooks/useDeleteChat"; import { useQueryClient } from "@tanstack/react-query"; import { getChat } from "@/api"; import { Link } from "@/components/ui/link"; import { useState, useRef, useE...
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.", ...
0b7901b306275685
python
36
Monokai
# Copyright (c) Microsoft. All rights reserved. from dataclasses import dataclass from typing import Protocol, runtime_checkable from semantic_kernel.utils.feature_stage_decorator import experimental @experimental @runtime_checkable class AgentType(Protocol): """Defines the minimal interface an AgentType.""" ...
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...
3b0cacd2819b511f
java
82
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...
b1a6f4d1f96e0146
typescript
60
Default Dark+
import type { ResumeBadgeProps } from '../resume-badge'; export default function ResumeBadgeDetectiveIcon({ className, }: ResumeBadgeProps) { return ( <svg aria-hidden="true" className={className} height="36px" preserveAspectRatio="xMidYMid meet" role="img" viewBox="0 0 36 3...
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...
bbf0d73a986a8de9
csharp
75
Default Light+
using System.Windows.Forms; namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty { internal class Issue2260 { private void dgvItemList_CellValueChanged(object sender, DataGridViewCellEventArgs e) { string text = default(string); string s = default(string); switch (text) { case "rowno": b...
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...
47e4b6a9c3dec6e4
cpp
478
Dracula
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class ml_dmlc_xgboost4j_java_XGBoostJNI */ #ifndef _Included_ml_dmlc_xgboost4j_java_XGBoostJNI #define _Included_ml_dmlc_xgboost4j_java_XGBoostJNI #ifdef __cplusplus extern "C" { #endif /* * Class: ml_dmlc_xgboost4j_java_XGBoostJ...
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" ...
f73238b0af6c3ee5
csharp
41
Monokai
// Copyright (c) Microsoft. All rights reserved. #if !NET7_0_OR_GREATER namespace System.Diagnostics.CodeAnalysis; /// <summary> /// Polyfill for the RequiresDynamicCodeAttribute not available in .NET Standard 2.0. /// Indicates that the specified method requires the ability to generate new code at runtime, /// for ...
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" ...
f33ed5dc019bfe25
csharp
121
Monokai
// Copyright (c) Microsoft. All rights reserved. using Google.Apis.Auth.OAuth2; using Microsoft.Extensions.AI; using Microsoft.SemanticKernel; using xRetry; namespace Memory; // The following example shows how to use Semantic Kernel with Google AI and Google's Vertex AI for embedding generation, // including the ab...
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...
7c30c5a2d477fe5c
python
69
Solarized Light
import math """ In cryptography, the TRANSPOSITION cipher is a method of encryption where the positions of plaintext are shifted a certain number(determined by the key) that follows a regular system that results in the permuted text, known as the encrypted text. The type of transposition cipher demonstrated under is t...
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...
8b9f825c8567485e
go
206
Default Light+
package llama 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" "github.com/ollama/ollama/model/input" "github.com/ollama/ollama/tokenize...
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.", ...
ad44476a90c283da
java
202
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class CmsSubject implements Serializable { private Long id; private Long categoryId; private String title; @ApiModelProperty(value = "专题主图") private String pi...
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...
7daabf5acb3e22ca
java
217
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...
51899a8ee56e4979
csharp
37
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.AI; namespace Microsoft.SemanticKernel.Connectors.PgVector; /// <summary> /// Options when creating a <see cref="PostgresVectorStore"/>. /// </summary> public sealed class PostgresVectorStoreOptions { internal static readonly PostgresVe...
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"...
4aaeedebd0b7242b
csharp
158
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" ...
4de7beff0892b068
cpp
22
Solarized Light
#pragma once #include "FileParser.h" #include <BasicView/Disassembly.h> #include "MagicMenu.h" #include "Navigation.h" class MiniDisassembly : public Disassembly, public MagicMenu<MiniDisassembly> { Q_OBJECT public: MiniDisassembly(Navigation* navigation, Architecture* architecture, QWidget* parent = nullptr...
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.", ...
343df7f4674f520c
python
86
Solarized Light
# https://www.geeksforgeeks.org/convert-ip-address-to-integer-and-vice-versa/ def ipv4_to_decimal(ipv4_address: str) -> int: """ Convert an IPv4 address to its decimal representation. Args: ip_address: A string representing an IPv4 address (e.g., "192.168.0.1"). Returns: int: The dec...
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"...
fcccb00733c8037f
typescript
125
GitHub Dark
import { BasicColumn } from '/@/components/Table'; import { FormSchema } from '/@/components/Table'; import { h } from 'vue'; import { Switch } from 'ant-design-vue'; import { setRoleStatus } from '/@/api/demo/system'; import { useMessage } from '/@/hooks/web/useMessage'; export const columns: BasicColumn[] = [ { ...
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...
df7326faca5e45ae
typescript
108
One Dark Pro
import { auth } from '~/helpers/auth'; import { UNAUTHORIZED } from '~/helpers/errors'; import { HoppModule } from '.'; const isSetupRoute = (to: unknown) => to === 'setup'; const isGuestRoute = (to: unknown) => ['index', 'enter', 'onboarding'].includes(to as string); const getFirstTimeInfraSetupStatus = async () ...
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...
208f92d8c1e0148d
typescript
270
Solarized Light
import { Response } from "express"; import { config } from "../../config"; import { v7 as uuidv7 } from "uuid"; import { BatchScrapeRequest, batchScrapeRequestSchema, batchScrapeRequestSchemaNoURLValidation, URL as urlSchema, RequestWithAuth, ScrapeOptions, BatchScrapeResponse, } from "./types"; import { ...
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.", ...
6119550a5488a818
typescript
25
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ export const ExperimentFlags = { CONTEXT_COMPRESSION_THRESHOLD: 45740197, USER_CACHING: 45740198, BANNER_TEXT_NO_CAPACITY_ISSUES: 45740199, BANNER_TEXT_CAPACITY_ISSUES: 45740200, ENABLE_PREVIEW: 45740196, ENABLE_NUMERIC...
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...
c1901f41d6549ad3
go
96
Solarized Dark
// Copyright 2016 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...
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.", ...
727a7b79b4938c90
java
52
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" ...
7c3b86b4255b2049
rust
223
One Dark Pro
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 //! Defines state and support structures for persisting Vsock devices and backends. use std::fmt::Debug; use std::sync::Arc; use serde::{Deserialize, Serialize}; use super::*; use crate::devices::virtio...
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...
af03e418757a3781
csharp
24
Monokai
using System; using System.Globalization; using System.Windows.Data; namespace ScreenToGif.Util.Converters; public class TimeSpanToTotalMilliseconds : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is not TimeSpan timeSpan) ...
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...
7b160dff961e9417
python
74
Default Light+
from .common import InfoExtractor from ..networking import HEADRequest class FujiTVFODPlus7IE(InfoExtractor): _VALID_URL = r'https?://fod\.fujitv\.co\.jp/title/(?P<sid>[0-9a-z]{4})/(?P<id>[0-9a-z]+)' _BASE_URL = 'https://i.fod.fujitv.co.jp/' _BITRATE_MAP = { 300: (320, 180), 800: (640, 360...
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...
c791a3f0f215390e
cpp
117
Dracula
/** * Copyright 2021-2025, XGBoost Contributors */ #include "proxy_dmatrix.h" #include <memory> // for shared_ptr #include <type_traits> // for is_same_v #include <utility> // for move #include "../common/type.h" // for GetValueT #include "adapter.h" // for ColumnarAdapter #include "xgboost/...
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...
4bd2866c905fb127
rust
145
Default Dark+
use std::io::{self, Write}; use grenad::{CompressionType, WriterBuilder}; use serde::de::Deserializer; use serde_json::to_writer; use super::{DocumentsBatchIndex, Error, DOCUMENTS_BATCH_INDEX_KEY}; use crate::documents::serde_impl::DocumentVisitor; use crate::Object; /// The `DocumentsBatchBuilder` provides a way to...
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...
49a8ee43d419ef39
java
82
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...
b413fe3086fe311c
python
88
Default Light+
from .common import InfoExtractor from .vimeo import VHXEmbedIE from ..utils import ( ExtractorError, clean_html, update_url, urlencode_postdata, ) from ..utils.traversal import find_element, traverse_obj class SoftWhiteUnderbellyIE(InfoExtractor): _LOGIN_URL = 'https://www.softwhiteunderbelly.com...
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...
9c84e572c622710e
typescript
31
One Dark Pro
import { Parent, ResolveField, Resolver } from '@nestjs/graphql'; import { User } from 'src/user/user.model'; import { UserEnvironment } from './user-environments.model'; import { UserEnvironmentsService } from './user-environments.service'; import * as E from 'fp-ts/Either'; import { throwErr } from '../utils'; @Reso...
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"...
cc406587e2dd6f8f
rust
70
Default Dark+
use http_client::reqwest::StatusCode; use meilisearch_types::error::{ErrorCode as _, ResponseError}; #[derive(Debug, thiserror::Error)] pub enum ProxyError { #[error(transparent)] IndexScheduler { #[from] error: Box<index_scheduler::Error>, }, #[error("{0}")] CouldNotSendRequest(Req...
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...
b73145bf85a86181
python
127
Solarized Light
def manhattan_distance(point_a: list, point_b: list) -> float: """ Expectts two list of numbers representing two points in the same n-dimensional space https://en.wikipedia.org/wiki/Taxicab_geometry >>> manhattan_distance([1,1], [2,2]) 2.0 >>> manhattan_distance([1.5,1.5], [2,2]) 1.0 ...
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...
022eaa5702d9e2a6
java
27
Solarized Dark
// You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security system connected and it will automatically contact the police if two adjacent houses were broken into...
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...
d7a550101d74dd47
cpp
91
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: reversed.h // Description: Runs a single network on time-reversed input, reversing output. // Author: Ray Smith // // (C) Copyright 2013, Google Inc. // Licensed 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"...
3013c5d5091cc36a
typescript
26
One Dark Pro
import { Injectable, NestInterceptor, ExecutionContext, CallHandler, } from '@nestjs/common'; import { Observable } from 'rxjs'; import { tap } from 'rxjs/operators'; import { AuthUser } from 'src/types/AuthUser'; import { UserService } from 'src/user/user.service'; @Injectable() export class UserLastLoginInte...
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.", ...
0d2331e077f34853
java
104
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...
06b969e0c4647b0f
csharp
24
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel; /// <summary> /// A class for describing the reponse/return type of an KernelFunctionFactory in a JSON Schema friendly way. /// </summary> internal sealed class JsonSchemaFunctionResponse { ...
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"...
f990c1c05d68083a
typescript
194
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render, cleanup } from '../../../test-utils/render.js'; import { SubagentProgressDisplay } from './SubagentProgressDisplay.js'; import type { SubagentProgress } from '@google/gemini-cli-core'; import { describe, it, expect...
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...
5028e63079261d60
typescript
48
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { DiffStat, FileDiff } from '../tools/tools.js'; import type { ToolCallRecord } from '../services/chatRecordingService.js'; /** * Safely extracts the FileDiff object from a tool call's resultDisplay. * This helper pe...
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.", ...
f857edea3e2ca4d1
typescript
293
Dracula
import type * as Rolldown from 'rolldown' import { parseAst as _parseAst, parseAstAsync as _parseAstAsync, } from 'rolldown/parseAst' import type * as Rollup from '#types/internal/rollupTypeCompat' export type { Rollup, Rolldown } export { esmExternalRequirePlugin } from 'rolldown/plugins' export { parse, pars...
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" ...
b28eff7cdc18da56
csharp
389
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Microsoft.SemanticKernel.Text; namespace Microsoft.SemanticKernel.Connectors.HuggingFace; /// <summary> /// HuggingFace Execution Settings. /// </summary> [JsonNumbe...
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...
1b271f5370aa5d7a
typescript
121
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { waitFor } from '../../../test-utils/async.js'; import { render } from '../../../test-utils/render.js'; import { SubagentGroupDisplay } from './SubagentGroupDisplay.js'; import { Kind, CoreToolCallStatus } from '@google/gemi...
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...
05eaad69cca59119
javascript
62
Default Light+
#!/usr/bin/env node const fs = require("fs"); const path = require("path"); const versionFile = path.join("build", "version.json"); const indexFile = path.join("build", "index.html"); const versionDate = (date) => date.toISOString().replace(".000", ""); const commitHash = () => { try { return require("child_pr...
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"...
ab8fefe57f0530fe
csharp
206
Default Light+
// Copyright (c) 2011 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, cop...
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...
11ad7345797b2475
csharp
124
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.Orchestration; using Microsoft.SemanticKernel.Agents.Orchestration.Handoff; using Microsoft.SemanticKernel.Agents.Runtime.InProcess; using Microsoft.SemanticKer...
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...
5630072b144f36f2
csharp
65
Monokai
using System; using winPEAS._3rdParty.BouncyCastle.math.raw; namespace winPEAS._3rdParty.BouncyCastle.crypto.util { public abstract class Longs { public static long Reverse(long i) { i = (long)Bits.BitPermuteStepSimple((ulong)i, 0x5555555555555555UL, 1); i = (long)Bits....
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" ...
53e74506eb4e105a
javascript
31
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ // // 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...
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.", ...
9a8f36eadf435a65
cpp
38
Dracula
/** * Copyright 2016-2023 by XGBoost contributors */ #ifndef XGBOOST_COMMON_API_ENTRY_H_ #define XGBOOST_COMMON_API_ENTRY_H_ #include <string> // std::string #include <vector> // std::vector #include "xgboost/base.h" // GradientPair,bst_ulong #include "xgboost/predictor.h" // Predi...
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...
cf7ccc7ba8a2258d
java
144
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" ...
f0b45d2315770593
csharp
70
Default Light+
using NimblePros.SampleToDo.Core.Interfaces; using NimblePros.SampleToDo.Core.ProjectAggregate; using NimblePros.SampleToDo.Core.ProjectAggregate.Specifications; namespace NimblePros.SampleToDo.Core.Services; public class ToDoItemSearchService : IToDoItemSearchService { private readonly IRepository<Project> _repos...
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...
2c5404cb57eae9f0
go
358
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"...
18f32a2c5d893e33
csharp
108
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.ComponentModel; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstr...
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...
3a13793a14937252
typescript
73
Solarized Light
import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/registry/bases/radix/lib/utils" const alertVariants = cva("cn-alert group/alert relative w-full", { variants: { variant: { default: "cn-alert-variant-default", destructive: "cn-aler...
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...