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
264e9e082f33e219
rust
42
Solarized Light
//! Miscellaneous configuration options. use std::path::PathBuf; use serde::Serialize; use alacritty_config_derive::ConfigDeserialize; /// General config section. /// /// This section is for fields which can not be easily categorized, /// to avoid common TOML issues with root-level fields. #[derive(ConfigDeserializ...
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" ...
e678a6a440231a94
cpp
25
Solarized Light
#pragma once #ifndef QT_NO_ACCESSIBILITY #include <QAccessibleWidget> #include "AccessibleAbstractTableViewCell.h" class AccessibleAbstractTableView; class AccessibleAbstractTableViewCellTitle : public AccessibleAbstractTableViewCell { public: AccessibleAbstractTableViewCellTitle(AccessibleAbstractTableView* pare...
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"...
413249229b01bb0c
go
61
Solarized Dark
// Copyright 2021 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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" ...
20932dc18125708b
typescript
181
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach, afterEach } from 'vitest'; import { coreEvents, type Config } from '@google/gemini-cli-core'; import { handleList, listCommand } from './list.js'; import { loadSettings, type LoadedSet...
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...
e9c9a5e028b5eea5
typescript
156
Solarized Light
import { create } from "@bufbuild/protobuf"; import { FieldMaskSchema } from "@bufbuild/protobuf/wkt"; import { useInfiniteQuery, useMutation, useQuery, useQueryClient } from "@tanstack/react-query"; import { memoServiceClient } from "@/connect"; import { userKeys } from "@/hooks/useUserQueries"; import type { ListMemo...
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...
a1c49233e08a4eb6
typescript
74
GitHub Dark
import { defHttp } from '/@/utils/http/axios'; enum Api { list = '/sys/gatewayRoute/list', deleteList = '/sys/gatewayRoute/deleteList', save = '/sys/gatewayRoute/add', edit = '/sys/gatewayRoute/updateAll', delete = '/sys/gatewayRoute/delete', copyRoute = '/sys/gatewayRoute/copyRoute', batchPutRecycleBin...
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.", ...
28e1a1b663f32a59
go
477
Default Light+
package cloudreve_v4 import ( "bytes" "context" "encoding/base64" "encoding/json" "errors" "fmt" "io" "net/http" "strconv" "strings" "time" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/al...
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...
08895003758ee267
go
74
Default Light+
package glm4moelite import ( "testing" "github.com/ollama/ollama/ml/nn" ) func TestValidate(t *testing.T) { tests := []struct { name string model *Model wantErr bool }{ { name: "valid model with KB and VB", model: &Model{ Layers: []Layer{ {Attention: &Attention{KB: &nn.Linear{}, VB: &...
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"...
1fc5c87be5bcd67d
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading; namespace SemanticKernel.Process.TestsShared.Services; internal sealed class CounterService : ICounterService { internal int _counter = 0; public int GetCount() { return this._counter; } public int IncreaseCount() ...
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...
d69d975c728333e6
csharp
40
Dracula
namespace ServiceLib.Services.CoreConfig; public partial class CoreConfigSingboxService { private void GenLog() { try { switch (_config.CoreBasicItem.Loglevel) { case "debug": case "info": case "error": ...
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...
005628705156ebd0
python
134
Solarized Light
from __future__ import annotations arr = [-10, -5, 0, 5, 5.1, 11, 13, 21, 3, 4, -21, -10, -5, -1, 0] expect = [-5, 0, 5, 5.1, 11, 13, 21, -1, 4, -1, -10, -5, -1, 0, -1] def next_greatest_element_slow(arr: list[float]) -> list[float]: """ Get the Next Greatest Element (NGE) for each element in the array 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...
226696e4348c2361
java
159
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"...
797d5194ff262f2d
cpp
71
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2013 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...
47c6635b05b38106
csharp
112
Monokai
using System.Windows.Media; using ScreenToGif.Domain.Enums; using ScreenToGif.Util; using ScreenToGif.Util.Settings; namespace ScreenToGif.ViewModel.Tasks; public class MouseEventsViewModel : BaseTaskViewModel { private Color _highlightForegroundColor; private Color _leftButtonForegroundColor; private Col...
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...
46bad9aa6cfe8be4
python
114
Default Light+
from .common import InfoExtractor from ..utils import ( float_or_none, int_or_none, ) class CONtvIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?contv\.com/details-movie/(?P<id>[^/]+)' _TESTS = [{ 'url': 'https://www.contv.com/details-movie/CEG10022949/days-of-thrills-&-laughter', ...
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"...
efaeb4ab4db774f8
typescript
111
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, expect } from 'vitest'; import { evalTest } from './test-helper.js'; describe('Edits location eval', () => { /** * Ensure that Gemini CLI always updates existing test files, if present, * instead of crea...
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...
219001a8ea574f73
csharp
343
Dracula
namespace ServiceLib.Models; public class SingboxConfig { public Log4Sbox log { get; set; } public Dns4Sbox? dns { get; set; } public List<Inbound4Sbox> inbounds { get; set; } public List<Outbound4Sbox> outbounds { get; set; } public List<Endpoints4Sbox>? endpoints { get; set; } public Route4Sb...
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...
85b0787c3581ff00
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Runtime.Serialization; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Process.Models; /// <summary> /// Process state used for State Persistence serialization /// </summary> public sealed record...
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"...
a6765c5effd2ad47
javascript
115
Default Dark+
// @ts-check import { retryer } from "../common/retryer.js"; import { MissingParamError } from "../common/error.js"; import { request } from "../common/http.js"; const QUERY = ` query gistInfo($gistName: String!) { viewer { gist(name: $gistName) { description owner { ...
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...
204008adc094b012
java
302
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...
10096032d85ab54b
typescript
60
Solarized Light
"use client" import { Button } from "@/examples/base/ui/button" import { toast } from "sonner" export function SonnerPosition() { return ( <div className="flex flex-wrap justify-center gap-2"> <Button variant="outline" onClick={() => toast("Event has been created", { position: "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"...
3c97b5d9c91e4b65
python
56
Solarized Light
""" Create a Long Short Term Memory (LSTM) network model An LSTM is a type of Recurrent Neural Network (RNN) as discussed at: * https://colah.github.io/posts/2015-08-Understanding-LSTMs * https://en.wikipedia.org/wiki/Long_short-term_memory """ import numpy as np import pandas as pd from keras.layers import LSTM, Dens...
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"...
3f2d39173ca94db8
java
108
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" ...
3a0b1174b50c53c6
java
53
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...
a87397d32bb17902
java
98
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class SmsFlashPromotionLog implements Serializable { private Integer id; private Integer memberId; private Long productId; private String memberPhone; privat...
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...
4c7e7cb6deb5f053
typescript
39
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { useEffect, useState } from 'react'; import { Text, Box } from 'ink'; import { theme } from '../semantic-colors.js'; import process from 'node:process'; import { formatBytes } from '../utils/...
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...
08ca183d047d1d62
cpp
94
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...
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...
cebb9fe8a3b99d68
csharp
78
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...
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" ...
e3c07e23d4299488
python
483
Monokai
"""Tests for sync_references_with_filesystem in scanner.py.""" import os import tempfile from datetime import datetime from pathlib import Path from unittest.mock import patch import pytest from sqlalchemy import create_engine from sqlalchemy.orm import Session from app.assets.database.models import ( Asset, ...
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.", ...
c518d140088df6f5
cpp
142
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...
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...
d0934c34d5979231
csharp
50
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...
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...
372d477efdf68105
go
135
Solarized Dark
// Copyright 2021 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
35df102a037aa963
go
166
Default Light+
package safetensors import ( "os" "path/filepath" "testing" "github.com/ollama/ollama/x/imagegen/mlx" ) func TestLoadModelWeights(t *testing.T) { // Skip if no model available modelDir := "../weights/gpt-oss-20b" if _, err := os.Stat(modelDir); os.IsNotExist(err) { t.Skip("model weights not available") } ...
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"...
e72e15be9fb8f63b
python
213
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import TYPE_CHECKING, Any, ClassVar, Literal, TypeVar from xml.etree.ElementTree import Element # nosec from pydantic import Field, field_serializer from typing_extensions import deprecated from semantic_kernel.const import DEFAULT_FULLY_QUALIFIED_NAME_SEP...
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.", ...
c004606c1e4faeda
csharp
309
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"...
0766712ede6f3ca3
java
39
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...
ab4e3d00dff5dd3d
javascript
34
Dracula
import a14 from './a14' import a15 from './a15' import a16 from './a16' import a17 from './a17' import a18 from './a18' import a19 from './a19' import a20 from './a20' import a21 from './a21' import a22 from './a22' import a23 from './a23' import a24 from './a24' export const that = () => import('./a12.js') export fu...
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.", ...
025953a80f065151
java
54
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.", ...
3da9e489db079455
csharp
102
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
4e0b80b09bdfbcb0
python
199
Default Light+
import re from .common import InfoExtractor from ..utils import ( ExtractorError, clean_html, determine_ext, merge_dicts, parse_duration, parse_resolution, str_to_int, url_or_none, urlencode_postdata, urljoin, ) from ..utils.traversal import find_element, traverse_obj, trim_str ...
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.", ...
a6adbf3a9ec9808f
csharp
203
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel; namespace Microsoft.Extensions.VectorData; /// <summary> /// Re...
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...
442e3a25161201ba
cpp
34
Solarized Light
#pragma once #include <QDialog> #include "dbg_types.h" namespace Ui { class PageMemoryRights; } class PageMemoryRights : public QDialog { Q_OBJECT public: explicit PageMemoryRights(QWidget* parent = nullptr); void RunAddrSize(duint, duint, QString); ~PageMemoryRights(); private slots: void ...
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"...
08459d168877f2cd
python
89
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging import sys from typing import TYPE_CHECKING, Any if sys.version_info >= (3, 12): from typing import override # pragma: no cover else: from typing_extensions import override # pragma: no cover import torch from numpy import ndarray from semanti...
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"...
5bf01e7d61ec0135
java
119
GitHub Dark
package com.xxl.job.admin.core.alarm.impl; import com.xxl.job.admin.core.alarm.JobAlarm; import com.xxl.job.admin.core.conf.XxlJobAdminConfig; import com.xxl.job.admin.core.model.XxlJobGroup; import com.xxl.job.admin.core.model.XxlJobInfo; import com.xxl.job.admin.core.model.XxlJobLog; import com.xxl.job.admin.core.ut...
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...
c30c4f9321fc2ea7
csharp
64
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Net.Http; using Azure.AI.Agents.Persistent; using Azure.Core; using Azure.Core.Pipeline; using Microsoft.SemanticKernel.Http; namespace Microsoft.SemanticKernel.Agents.AzureAI; /// <summary> /// Provides an <see cref="PersistentAgentsClient"/> for use by ...
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.", ...
a479ffc9e9b49751
typescript
100
One Dark Pro
import * as E from "fp-ts/Either" import { BehaviorSubject } from "rxjs" import { platform } from "~/platform" import { GQLError } from "../backend/GQLClient" import { GetMyTeamsQuery } from "../backend/graphql" const BACKEND_PAGE_SIZE = 10 const POLL_DURATION = 10000 export default class TeamListAdapter { error$: ...
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" ...
b786375610044dea
cpp
34
One Dark Pro
#pragma once #include <string> #include <set> #include <memory> // just basic validation // fixme: missing en passant, castling, promotion, etc. struct State; class Piece; class Chessboard { public: Chessboard(); ~Chessboard(); std::string process(const std::string& command); std::string stringifyBoard...
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" ...
ea5b955385c98ed1
csharp
59
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...
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...
82c809058ffbd37e
go
46
Solarized Dark
// Copyright 2019 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.", ...
a74289e5b453e820
typescript
79
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as Diff from 'diff'; import type { DiffStat } from './tools.js'; const DEFAULT_STRUCTURED_PATCH_OPTS: Diff.StructuredPatchOptionsNonabortable = { context: 3, ignoreWhitespace: false, }; export const DEFAULT_DIFF_OPTI...
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...
38f30e24caf371b2
go
191
Default Light+
package cmd import ( "testing" ) func TestIsLocalModel(t *testing.T) { tests := []struct { name string modelName string expected bool }{ { name: "local model without suffix", modelName: "llama3.2", expected: true, }, { name: "local model with version", modelName: "qwen2....
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" ...
1467fc266f42d551
csharp
41
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ClientModel; using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Agents.OpenAI; /// <summary> /// Provides extension methods for <see cref="ModelConnection"/>. /// </summary> [ExcludeFromCodeCoverage] internal static c...
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...
3431c50e0ef90896
typescript
176
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { renderWithProviders } from '../../../test-utils/render.js'; import { EnumSelector } from './EnumSelector.js'; import type { SettingEnumOption } from '../../../config/settingsSchema.js'; import { describe, it, expect } from...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
7af03a4615be7927
typescript
26
Default Dark+
import type { GetServerSideProps, InferGetServerSidePropsType } from 'next'; import Head from 'next/head'; import OffersSubmissionForm from '~/components/offers/offersSubmission/OffersSubmissionForm'; export const getServerSideProps: GetServerSideProps = async ({ req }) => { return { props: { country: req...
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...
884775482dcad366
cpp
60
Solarized Light
#pragma once #include "StdIconTable.h" class CommonActions; class CallStackView : public StdIconTable { Q_OBJECT public: explicit CallStackView(StdTable* parent = nullptr); void setupContextMenu(); duint getSelectionVa(); protected: QString paintContent(QPainter* painter, duint row, duint col, in...
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"...
5adae555973b3073
java
74
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...
f60edee42a43703b
cpp
65
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...
b79d1ba67a97e2dd
csharp
93
Monokai
using System; using System.Diagnostics; using System.Runtime.ExceptionServices; using winPEAS.Helpers; using winPEAS.Native; namespace winPEAS.KnownFileCreds.Kerberos { static class Helpers { [HandleProcessCorruptedStateExceptions] public static IntPtr LsaRegisterLogonProcessHelper() {...
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...
c5ceacda285ecbd9
python
82
Default Light+
import tqdm class LearnScheduleIterator: def __init__(self, learn_rate, max_steps, cur_step=0): """ specify learn_rate as "0.001:100, 0.00001:1000, 1e-5:10000" to have lr of 0.001 until step 100, 0.00001 until 1000, and 1e-5 until 10000 """ pairs = learn_rate.split(',') se...
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.", ...
e9c453e342f2482b
typescript
45
One Dark Pro
import { ObjectType, Field, ID } from '@nestjs/graphql'; @ObjectType() export class TeamRequest { @Field(() => ID, { description: 'ID of the request', }) id: string; @Field(() => ID, { description: 'ID of the collection the request belongs to.', }) collectionID: string; @Field(() => ID, { d...
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...
f0fd8f3de4ffd97e
go
65
Default Dark+
// Copyright 2014 Manu Martinez-Almeida. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package binding import ( "errors" "net/http" ) const defaultMemory = 32 << 20 type ( formBinding struct{} formPostBinding struct{} ...
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...
406bcf19e1328c8e
rust
175
One Dark Pro
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use micro_http::StatusCode; use vmm::logger::{IncMetric, METRICS}; use vmm::mmds::data_store::MmdsVersion; use vmm::rpc_interface::VmmAction; use vmm::vmm_config::mmds::MmdsConfig; use super::super::parse...
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.", ...
dc5f8c06e2d58b68
rust
160
Solarized Light
use std::{ env, path::Path, process::{Command, Stdio}, }; use anyhow::{Result, anyhow}; use regex::Regex; use crate::{Test, bail_on_err}; pub fn run(args: &Test) -> Result<()> { let test_flags = if args.address_sanitizer { unsafe { env::set_var("CFLAGS", "-fsanitize=undefined,address") }; ...
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"...
be378a2666b99044
typescript
202
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /// <reference types="vitest/globals" /> // Mock 'os' first. import * as osActual from 'node:os'; vi.mock('os', async (importOriginal) => { const actualOs = await importOriginal<typeof osActual>(); return { ...actualOs, ...
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...
be3e49ac88e40abd
java
33
Dracula
package com.macro.mall.portal.service; import com.macro.mall.portal.domain.MemberReadHistory; import org.springframework.data.domain.Page; import java.util.List; /** * 会员浏览记录管理Service * Created by macro on 2018/8/3. */ public interface MemberReadHistoryService { /** * 生成浏览记录 */ int create(Member...
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...
4c780de8546038ab
typescript
71
Solarized Dark
import { Button, Chip, Dialog, DialogActions, DialogContent, DialogTitle, Divider, Typography, } from '@mui/material' import { Fragment } from 'react' import { useTranslation } from 'react-i18next' import { BaseEmpty } from '@/components/base' interface Props { open: boolean logInfo: [string, stri...
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...
7a8a0138fe579902
python
80
Solarized Light
# XGBoost Classifier Example import numpy as np from matplotlib import pyplot as plt from sklearn.datasets import load_iris from sklearn.metrics import ConfusionMatrixDisplay from sklearn.model_selection import train_test_split from xgboost import XGBClassifier def data_handling(data: dict) -> tuple: # Split data...
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...
9712ccea36d7f7bb
csharp
60
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...
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...
451ab289458f18fa
csharp
99
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...
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...
de313fc785421ebd
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...
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...
176731c060263b73
cpp
65
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,...
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.", ...
ceed7d1952afa0b9
python
115
Default Light+
from .common import InfoExtractor from ..utils import ( determine_ext, int_or_none, qualities, ) class DumpertIE(InfoExtractor): _VALID_URL = r'''(?x) (?P<protocol>https?)://(?:(?:www|legacy)\.)?dumpert\.nl/(?: (?:mediabase|embed|item)/| [^#]*[?&]selectedId= )(?...
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.", ...
f6fb2a3fbd505af0
java
80
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...
6223f0269d948295
csharp
465
Dracula
using System.Windows.Controls; using System.Windows.Media; using MaterialDesignThemes.Wpf; using v2rayN.Manager; namespace v2rayN.Views; public partial class MainWindow { private static Config _config; private CheckUpdateView? _checkUpdateView; private BackupAndRestoreView? _backupAndRestoreView; pub...
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"...
0322c8f12860a67d
python
85
Default Light+
from .common import InfoExtractor from ..utils import ( determine_protocol, int_or_none, join_nonempty, try_get, unescapeHTML, ) class DailyMailIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?dailymail\.co\.uk/(?:video/[^/]+/video-|embed/video/)(?P<id>[0-9]+)' _EMBED_REGEX = [r'<ifram...
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...
b824d5fafab07196
csharp
113
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Linq; using Microsoft.SemanticKernel; using Xunit; namespace SemanticKernel.UnitTests.AI.FunctionChoiceBehaviors; /// <summary> /// Unit tests for <see cref="NoneFunctionChoiceBehavior"/> /// </summary> public sealed class NoneFunctionChoiceBehaviorTests...
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...
5efd3d38ccc6b1bf
csharp
414
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ClientModel.Primitives; using System.ComponentModel; using System.Net; using System.Net.Http; using System.Text; using System.Text.Json; using System.Threading.Tasks; using Azure.AI.Agents.Persistent; using Azure.AI.Projects; using Azure.Core...
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...
1689231173bd99a5
typescript
133
One Dark Pro
import { useGQLQuery } from "~/composables/graphql" import { TeamName } from "~/helpers/backend/types/TeamName" import { BackendPlatformDef } from "~/platform/backend" import { HoppRESTRequest } from "@hoppscotch/data" import { runGQLQuery, runMutation } from "~/helpers/backend/GQLClient" import { Email } from "~/hel...
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...
ae44767215fcf7de
csharp
49
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading.Tasks; using Microsoft.SemanticKernel; using ModelContextProtocol.Protocol; namespace MCPClient; /// <summary> /// A filter that intercepts function invocations to allow for human-in-the-loop processing. /// </summary> public clas...
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.", ...
5a6b915b562a06ab
typescript
101
Default Light+
import { clearAppStateForLocalStorage, getDefaultAppState, } from "@excalidraw/excalidraw/appState"; import type { ExcalidrawElement } from "@excalidraw/element/types"; import type { AppState } from "@excalidraw/excalidraw/types"; import { STORAGE_KEYS } from "../app_constants"; export const saveUsernameToLocalS...
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...
a7ad6af6cb29f8ae
typescript
44
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { DefaultArgumentProcessor } from './argumentProcessor.js'; import { createMockCommandContext } from '../../test-utils/mockCommandContext.js'; import { describe, it, expect } from 'vitest'; describe('Argument Processors', (...
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.", ...
7b9f75281f833944
python
175
Solarized Light
""" Project Euler Problem 234: https://projecteuler.net/problem=234 For any integer n, consider the three functions f1,n(x,y,z) = x^(n+1) + y^(n+1) - z^(n+1) f2,n(x,y,z) = (xy + yz + zx)*(x^(n-1) + y^(n-1) - z^(n-1)) f3,n(x,y,z) = xyz*(xn-2 + yn-2 - zn-2) and their combination fn(x,y,z) = f1,n(x,y,z) + f2,n(x,y,z) ...
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...
e336874d1a598000
go
98
Default Dark+
package httpcaddyfile import ( "reflect" "sort" "testing" ) func TestHostsFromKeys(t *testing.T) { for i, tc := range []struct { keys []Address expectNormalMode []string expectLoggerMode []string }{ { []Address{ {Original: "foo", Host: "foo"}, }, []string{"foo"}, []string{"foo...
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...
44fc2c12953c22c3
typescript
70
Solarized Light
import { registryItemSchema, type Registry } from "shadcn/schema" import { z } from "zod" import { themes } from "../_legacy-themes" import { blocks } from "./blocks/_registry" import { charts } from "./charts/_registry" import { examples } from "./examples/_registry" import { hooks } from "./hooks/_registry" import {...
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...
5a8a8682d985c01c
go
173
Default Light+
package convert import ( "cmp" "encoding/json" "errors" "fmt" "io/fs" "log/slog" "os" "reflect" "slices" "google.golang.org/protobuf/proto" "github.com/ollama/ollama/convert/sentencepiece" ) func parseSentencePiece(fsys fs.FS) (*Vocabulary, error) { slog.Debug("using spm vocabulary") ast, err := parse...
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...
b789f2921e36abd7
typescript
46
Solarized Light
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupTextarea, } from "@/examples/radix/ui/input-group" import { IconBrandJavascript, IconCopy, IconCornerDownLeft, IconRefresh, } from "@tabler/icons-react" export default function InputGroupTextareaExample() { return ( ...
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...
9ddc258095684291
java
233
Monokai
package com.termux.shared.termux.shell.am; import android.content.Context; import androidx.annotation.Keep; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.termux.shared.errors.Error; import com.termux.shared.logger.Logger; import com.termux.shared.net.socket.local.LocalClientSock...
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.", ...
e3614a84fddf8387
typescript
202
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { z } from 'zod'; import type { BaseLlmClient } from '../../core/baseLlmClient.js'; import { getPromptIdWithFallback } from '../../utils/promptIdContext.js'; import type { RoutingContext, RoutingDecision, RoutingStrate...
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...
2aed7ca8e58ef485
python
85
Solarized Light
""" Project Euler Problem 7: https://projecteuler.net/problem=7 10001st prime By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10001st prime number? References: - https://en.wikipedia.org/wiki/Prime_number """ from math import sqrt def is_prime(...
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.", ...
5ca8a4d7ac5871d1
cpp
187
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "Common/Utils.h" #include "Common/DateCalculator.h" const int c_maxOffsetValue = 999; namespace CalculatorApp { namespace ViewModel { [Windows::UI::Xaml::Data::Bindable] public ref c...
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"...
86ebe10cfb2cbe87
csharp
43
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; namespace Microsoft.SemanticKernel; /// <summary>Provides an <see cref="EventArgs"/> for operations related to <see cref="Kernel"/>-based operations.</summary> [Obsolete("Events are deprecated in favor of filters. Examp...
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.", ...
06cc19cb7cefccdb
java
61
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...
75f72239299f463a
java
60
Solarized Dark
/* in the classic problem of the Towers of Hanoi, you have 3 towers and N disks of * different sizes which can slide onto any tower. The puzzle starts with disks sorted * in ascending order of size from top to bottom (i.e. each disk sits on top of an even * larger one). You have the following constraints: * (1) On...
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...
5366d8af1fbc15a2
typescript
254
Solarized Light
"use client" import * as React from "react" import { Button } from "@/registry/bases/radix/ui/button" import { Popover, PopoverContent, PopoverTrigger, } from "@/registry/bases/radix/ui/popover" import { Sidebar, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, Si...
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"...
3ab8e11b837bdd26
python
43
Solarized Light
""" A hexagonal number sequence is a sequence of figurate numbers where the nth hexagonal number hₙ is the number of distinct dots in a pattern of dots consisting of the outlines of regular hexagons with sides up to n dots, when the hexagons are overlaid so that they share one vertex. Calculates the hexagonal numb...
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...
8d2763eb7286ca83
typescript
158
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import * as fs from 'node:fs'; import * as path from 'node:path'; import * as os from 'node:os'; import { loadSettings, USER_SETTINGS_PATH } from './settings...
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.", ...
dfa1d274acaab044
java
22
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...
e514bf389adb1cd5
python
130
Solarized Light
""" Author : Alexander Pantyukhin Date : November 1, 2022 Task: Given a list of days when you need to travel. Each day is integer from 1 to 365. You are able to use tickets for 1 day, 7 days and 30 days. Each ticket has a cost. Find the minimum cost you need to travel every day in the given list of days. Impleme...
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" ...
f8598fb1810caf98
csharp
25
Monokai
using System.Runtime.InteropServices; using ScreenToGif.Domain.Enums.Native; using ScreenToGif.Domain.Models.Native; using ScreenToGif.Native.Structs; namespace ScreenToGif.Native.External { public static class DwmApi { [DllImport(Constants.DwmApi)] public static extern int DwmGetWindowAttribut...
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"...
9d1d8868925fa0cb
rust
125
Dracula
extern crate repng; extern crate scrap; use scrap::Display; #[cfg(windows)] use scrap::{CapturerMag, TraitCapturer}; #[cfg(windows)] use std::fs::File; fn main() { let n = Display::all().unwrap().len(); for _i in 0..n { #[cfg(windows)] record(_i); } } #[cfg(windows)] fn get_display(i: usi...
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...