agentlans/allenai-WildChat-4.8M-prompts huggingface dataset:
Перепиши скрипт lua на python:

local filter = {
	}
	local host = 'https://tvplusonline.ru'
	local my_src_name = 'TV+'
	module('tvplusonline_pls', package.seeall)
	local function ProcessFilterTableLocal(t)
		if not type(t) == 'table' then return end
		for i = 1, #t do
			t[i].name = tvs_core.tvs_clear_double_space(t[i].name)
			for _, ff in ipairs(filter) do
				if (type(ff) == 'table' and t[i].name == ff[1]) then
					t[i].name = ff[2]
				end
			end
		end
	 return t
	end
	function GetSettings()
	 return {name = my_src_name, sortname = '', scraper = '', m3u = 'out_' .. my_src_name .. '.m3u', logo = '..\\Channel\\logo\\Icons\\TVplus.png', TypeSource = 1, TypeCoding = 1, DeleteM3U = 1, RefreshButton = 1, show_progress = 0, AutoBuild = 0, AutoBuildDay = {0, 0, 0, 0, 0, 0, 0}, LastStart = 0, TVS = {add = 1, FilterCH = 1, FilterGR = 1, GetGroup = 1, LogoTVG = 0}, STV = {add = 1, ExtFilter = 1, FilterCH = 1, FilterGR = 1, GetGroup = 1, HDGroup = 1, AutoSearch = 1, AutoNumber = 1, NumberM3U = 0, GetSettings = 1, NotDeleteCH = 0, TypeSkip = 1, TypeFind = 1, TypeMedia = 0, RemoveDupCH = 1}}
	end
	function GetVersion()
	 return 2, 'UTF-8'
	end
	local function LoadFromSite()
		local session = m_simpleTV.Http.New('Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0')
			if not session then return end
		m_simpleTV.Http.SetTimeout(session, 8000)
		local header = 'X-LHD-Agent: {"platform":"web","app":"tvplusonline.ru"}'
		local rc, answer = m_simpleTV.Http.Request(session, {url = decode64('aHR0cDovL3R2cGx1c29ubGluZS5ydS9hcGkvdjQvcGxheWxpc3Q'), headers = header})
			if rc ~= 200 then return end
		answer = answer:gsub('\\', '\\\\')
		answer = answer:gsub('\\"', '\\\\"')
		answer = answer:gsub('\\/', '/')
		answer = answer:gsub('%[%]', '""')
		require 'json'
		local err, tab = pcall(json.decode, answer)
			if not tab or not tab.channels then return end
		local t = {}
			for i = 1, #tab.channels do
				local slug = tab.channels[i].address
				local title = tab.channels[i].name_ru
				if slug and title then
					t[#t + 1] = {}
					t[#t].name = unescape3(title)
					t[#t].address = host .. '/' .. slug
					if tab.channels[i].with_archive then
						t[#t].RawM3UString = string.format('catchup="append" catchup-days="%s" catchup-source=""', (tab.channels[i].day_archive or 0))
					end
					t[#t].logo = tab.channels[i].image or ''
				end
			end
	 return t
System: 
You will receive a question-answer pair. Your task is to evaluate whether the answer satisfactorily and directly addresses the question. Use the examples below to guide your assessment.

If the answer is precise, relevant, and can answers the question, return 1. If the answer is off-topic, irrelevant, or contains phrases like "I don’t know" or similar expressions indicating the question isn’t answered, return 0.

Examples:

Example 1:
Question: "Who was the first person to walk on the moon?"
Answer: "The first person to walk on the moon was Neil Armstrong in 1969."
Result: 1

Example 2:
Question: "Who was the first person to walk on the moon?"
Answer: "Many famous astronauts have traveled to space, and the moon is a significant milestone in history."
Result: 0

Example 3:
Question: "What is the primary cause of global warming?"
Answer: "I don’t know."
Result: 0

Based on these examples, evaluate each answer: if it directly and appropriately answers the question, return 1; if it fails to do so, return 0.

User: Question: Tọa đàm nào được tổ chức vào ngày 22/07?
Answer:Tọa đàm “Chuyển đổi số, sự thay đổi môi trường kinh doanh và giải pháp thu hẹp khoảng cách giữa đào tạo với yêu cầu thực tiễn trong lĩnh vực Kế toán – Kiểm toán” được tổ chức vào ngày 22/07.
Result only 0 or 1. Don't add anything else:
Assistant:
write a 2022 nba season with warriors trading picks for andre igodala
Describe a successful company's name, history, businesses, employees, impact, feelings
DOCTORS GIVE NEW GUIDELINES FOR PREVENTING STROKE

A stroke happens when blood flow to part of the brain is blocked or if a blood vessel in the brain breaks open, or bursts. The event keeps oxygen from getting to the brain. This can result in the person having difficulty thinking, talking and walking. In some cases, a stroke can even cause death.

Stroke is a major health problem across the world. On its website, the World Stroke Organization says the condition is a leading cause of death and disability worldwide. Over 100 million people worldwide have suffered a stroke. The new guidelines on stroke prevention came from the American Stroke Association. They are the first to be issued

in 10 years. The advice includes suggestions for people and doctors and are based on improved information about who has strokes and why. The guidelines also include new drugs that can help reduce risk. Experts say eating healthy can help control possible stroke risks. The goal is to prevent or reduce high cholesterol,

high blood sugar and obesity, the condition of being extremely overweight. The advice urges people to choose fruits, vegetables, whole grains and olive oil. Eating these foods can help keep cholesterol levels down. Red meat should be limited, along with saturated fats.

Getting up and walking around for at least 10 minutes a day can greatly reduce a person's stroke risk, said the neurologist, Dr. Bushnell. Bushnell was part of the group that came up with the new guidelines. She said regular exercise can help reduce blood pressure, a major risk factor for stroke. People can also use exercise machines at home, dance or play a sport.

The new guidelines also help doctors identify people who might be at higher risk for stroke. For the first time, the advice suggests doctors screen patients for other risk factors. They could include gender or non-medical factors such as economic issues or the availability of quality health care.

Three of the most common stroke signs include face weakness, arm weakness and difficulty speaking. Also, time is important when a person suffers a stroke. Brain damage can happen quickly, but it can be limited if a stroke is treated

quickly.

1. инсульт

2. кровеносный сосуд

3. холестерин и сахар в крови

4. ожирение

5. цельнозерновые продукты

6. насыщенные жиры

7. доступность качественной медицинской

помощи

8. затруднение речи

9.

повреждение головного мозга
(In the main Azur Lane base…)

Hood: “Ah! Unicorn! Didn’t expect to see you.”

Unicorn: “Hello, Hood! I was just coming to see if you needed any help with your training today.”

Hood: “That would be wonderful, Unicorn. I could use some assistance with fine-tuning my aim. Don’t feel like taking the stairs, though.”

Unicorn: “No problem, Hood. We can take the elevator if you want!”

Hood: “Thank you, Unicorn. That would be much appreciated. Let’s head to the range then and get started on improving my shooting skills.”

Unicorn: “Of course, Hood. I’ll make sure to give you some tips and pointers along the way. We’ll have you hitting those targets with pinpoint accuracy in no time.”

Hood: “I look forward to it, Unicorn. Your help and guidance are always valuable to me. Let’s get to work!”

(As they step into the elevator…)

Cheshire: “Hey, wait! Please hold it for me!”

Hood: “Oh, Cheshire! I didn’t see you there. Of course, we’ll hold the elevator for you.”

Cheshire: “Thanks, Hood. Are you two headed to the range for some training?”

Unicorn: “Yes, we are. Hood wanted some extra help with her aim, so I’m going to assist her.”

Cheshire: “Mind if I join in as well? I could use some practice with my dodging skills.”

Hood: “Of course, Cheshire! The more the merrier. We can all work on improving our skills together.”

Grenville: “Hey, can I come, too?”

Hood: “Sure, Grenville! The more the merrier. Let’s all head to the range together and work on honing our skills as a team.”

(As the group begin to take the elevator up to the training range, Unicorn finds herself wedged between the three other ships. However, hours later, the elevator still hasn’t reached their destination.)

Unicorn: “Um, guys, I think we might be stuck…”

Hood: “Oh dear, it seems like the elevator is malfunctioning. I’ll try to contact the staff to come and fix it.”

Cheshire: “Well, this is certainly an unexpected turn of events. At least we have each other for company while we wait.”

Grenville: “Yeah, we can use this time to bond and maybe even come up with some new training strategies. Who knows, maybe being stuck in an elevator will turn out to be a blessing in disguise.”

Hood: “I suppose you’re right, Grenville. Let’s make the most of this situation and use it as an opportunity to strengthen our camaraderie.”

(Just then, Cheshire starts to feel uncomfortable - mostly from the gas in her stomach.)

Cheshire: “Oh, dear…I just realized I had a big lunch.”
Characteristics of Patient 1: The calf sizes of both legs are different (the left is larger), and there are no prominent veins. The patient frequently wakes up at night due to both legs pain (the pain mainly occurs during sleep). What could be the cause of this?
Assistant: 
User: [Give me only the actual fundamental news. Please provide it concisely in list format for an English learner. I prefer exact dates of future events instead of "soon" or "upcoming." If there is any big news worth mentioning, tell me. Finally, tell me what $SFP means. Do not tell me about price technical analysis.]
55m: $BTC Update. . This week's projection? Absolutely on fire so far.. . Once we broke above the Mid Range*, we made a solid push towards the range highs – exactly as expected. . . {Before vs. After}. . If we get a sneaky SFP (swing failure pattern) around this level, get ready for some https://t.co/egLxx7Nmvd
50m: @CredibleCrypto Weekly SFP would be nice.
9h: $WIF. . Likely wrong on this idea, especially if $BTC squeezes. . D3 looks like an SFP, close above Weekly Key SR and we will just teleport https://t.co/LqB9BBV3pH
48m: 샐러리맨의 점심 https://t.co/J83D4TFzxi
2d: $ETH. . Ethereum is showing a bounce from the demand zone+OTE area but not too convincing to me yet. The bounce seems weak and there's no goof volume supporting the move so i want to see some more signs of strength first. . . I'm looking at that 1H Bos and want to see if we sfp it or https://t.co/JPiSFCuShq
13h: $SFP New alerts have been posted in the last hours:-.. https://t.co/lmui0xlcVm
26m: #デレステスクショお昼の1枚 https://t.co/2RPw30W6Fi
2d: 🔥Señores vendo 2 Switches profesionales L2+L3 @tplink_es Omada de 24 puertos + 4 sfp+ 10Gb TL-SG3428X. Ambos perfectos y en garantía. Los hemos sustituido por unos de 54 bocas. 400€ los dos. Uno de ellos nunca se usó porque es sustituto del otro, pero vamos estan impolutos. https://t.co/RDBE822Ovr
1d: #茨城シクロクロス. 土浦ME4Aスタート https://t.co/NlL7Wo3FB6
16h: Quick scalp sent 📤. . Binance Futures. $SFP/ $USDT Take-Profit target 1 ✅. Profit: 102.2495% 📈. Period: 19 Minutes ⏰
4d: $Btc. . Possible double bottom on the LTF, making a deviation low on the prior range like the deviation above, or an SFP on the current range going to further breakdown. . Recapturing 64,450 with continued strength up is the key https://t.co/nvLm1nTA0M
3d: BTC is trading below these dynamic key levels.. . - AVWAP. - 200 MA. - BPRO trailer (to be confirmed). - POI. . And these are the only key horizontal levels that matter to me. My ideal scenario: a good scary SFP below this key S/R level. https://t.co/bsIjtzlsGP
1d: 茨城シクロクロス土浦ステージで幾多ものリムをぶっ壊し、パンクに陥れてきた憎き2連段差 https://t.co/209urjEPV4
5d: hi @Trader_Dante , as an 18 year old university student, I am trying to improve myself in trading. Is my FTA choice right here in SFP trading (a trade method I discovered myself, which stands for "Swing Failure Pattern", if you're wondering), could it have been targeted higher? https://t.co/yOhaSqpkKB
2d: ⚡「NO TITLE」開催決定⚡. . 2マンによる相乗効果抜群❤️‍🔥のライブをお届け. SUNDAY FOLK PROMOTION presents NO TITLE. . 12月3日(火)📍SPADE BOX. ちゃくら(@chakura617). Lala(@Lala_official20). . 🎫オフィシャル先行開始‼️✨. https://t.co/olCxAHGlCW. . #notitle https://t.co/G9Swe2h2JR
15h: ゴッホ調になるシルヴィオと藍良さん笑 https://t.co/PS28JoTFyP
8h: Pairs with BB OverBought/OverSold in the last 1h. . $REEF  $RSR  $METIS  $SUI  $XVS  $ROSE  $ICP  $BAL  $TAO  $SFP  $TON https://t.co/MrPsx57aly
Assistant:
Write Python script to send Elasticsearch server query with index, timestamp and filter(s) and fetch JSON response with events
add "Delete Contact" botton to this code:

import streamlit as st
from src.utils.db import DataBaseManager
import pandas as pd

def main():
    st.title("Profiles 👥")
    st.write("Manage your contact profiles here.")

    db = DataBaseManager()

    # Form to add a new contact
    st.subheader("Add a New Contact")
    with st.form("contact_form", clear_on_submit=True):
        col = st.columns(2)
        with col[0]:
            name = st.text_input("Name")
            email = st.text_input("Email")
        with col[1]:
            title = st.text_input("Title")
            profession = st.text_input("Profession")
        notes = st.text_area("Notes")
        submitted = st.form_submit_button("Add Contact")

        if submitted:
            contact_data = {
                'name': name,
                'email': email,
                'title': title,
                'profession': profession,
                'notes': notes
            }
            db.add_contact_profile(contact_data)
            st.success(f"Contact '{name}' added successfully!")
            # st.rerun()

    # Display existing profiles
    st.subheader("Existing Contacts")
    contacts = db.list_contact_profiles()
    if contacts:
        df = pd.DataFrame(contacts)
        st.dataframe(df)
    else:
        st.info("No contacts found.")

if __name__ == "__main__":
    main()
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Multiplayer chat server</title>
<style>
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}

.container {
display: flex;
flex-direction: column;
height: 100%;
align-items: center;
justify-content: center;
}

.chat-window {
width: 400px;
height: 500px;
border: 1px solid #ccc;
overflow-y: scroll;
display: flex;
flex-direction: column-reverse;
padding: 10px;
margin-bottom: 20px;
}

.chat-message {
display: flex;
margin-bottom: 10px;
}

.chat-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
}

.chat-text {
flex-grow: 1;
background-color: #f2f2f2;
padding: 10px;
border-radius: 5px;
}

.chat-input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-top: none;
border-radius: 0 0 5px 5px;
}

.chat-input:focus {
outline: none;
}

.chat-submit {
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}

.chat-submit:hover {
background-color: #45a049;
}

.chat-submit:active {
background-color: #3c903c;
}

.error-message {
color: red;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div class="container">
<div class="chat-window" id="chatWindow">
<!-- Chat messages will be displayed here -->
</div>
<div>
<input class="chat-input" id="messageInput"/>
<button class="chat-submit" onclick="sendMessage()">Send</button>
</div>
<p class="error-message" id="errorMessage"></p>
</div>

<script>
function sendMessage() {
var messageInput = document.getElementById('messageInput');
var errorMessage = document.getElementById('errorMessage');

if (messageInput.value === '') {
errorMessage.innerHTML = 'Please enter a message';
} else {
errorMessage.innerHTML = '';
please help me write a paper about how scalper influence performance market, including the analysis about secondary ticketing market, consumer psychology. And use the model of monopoly market and price discrimination, supply and demand.
Where is Dan'under?
Can you correct these sentences and convert it to the formal format?  Dear Dr. El-Bialy, I will participate in another toefl exam, but the earliest time that I can participate is 2 months later. If you agree and the committe agree this issue I will send my new score until the start of the term. If you agree with this issue I am pleasent to know it
Three examples of Japanese favorite small dogs
Write a long and detailed happy story about a mighty dragon who wets the bed on purpose. Write an extremely detailed and expressive scene in which the dragon wets the bed.
The Company may, at its sole discretion, permit you an early release by:
1. Adjusting the vacation leaves accumulated towards a part of notice period (whether in part or whole) and / or
2. Allowing you to pay up for the notice period in lieu therefore on your annual gross compensation. 

Please explain, can I action my buyout on the above clause ? Or can the company deny my buying out my notice period ?
DespiteDespite the distance, hearts tend to lean when they love.
اكتب هذه الجملة باللغة الفرنسية
Goal
    Traduire toutes les valeurs textuelles présentes dans une liste d’objets d’une recette de cuisine de en (ISO 639) vers es (ISO 639), en respectant le contexte culinaire.

    Traduire précisément les ingrédients et termes culinaires pour qu'ils soient corrects dans la langue cible.
    Maintenir la structure JSON intacte, en ne modifiant que les valeurs.
    S’assurer que les ingrédients restent compréhensibles et adaptés à la langue cible.

    Return Format
    Tu dois renvoyer une liste d’objets sous la forme reçu.
    - Chaque valeur doit être correctement traduite en es.
    - Les ingrédients doivent être adaptés à la langue cible.
    - Aucune clé ne doit être modifiée.

    Warnings
    - Ne modifie pas la structure JSON, uniquement les valeurs textuelles.
    - Fais attention aux ingrédients : une mauvaise traduction peut altérer la compréhension.
    - Ne laisse aucune valeur non traduite.
    - Ne renvoie que le JSON, sans explication.

    Context Dump
    Langue source : en (ISO 639)
    Langue cible : es (ISO 639)
    Données à traduire :

    [
  {
    "recipeCode": "812abcfe4d5c4e1a9af0aea77ea6c2b3",
    "updated": "2025-05-17T07:42:41.594Z",
    "title": "Silky Braised Leeks",
    "subtitle": "Pırasa Kavurması",
    "description": "Along the Black Sea coast, yard-long leeks are gently sweetened through slow cooking in a delicate tomato-flavored sauce.",
    "ingredients": [
      {
        "section": "For the recipe",
        "ingredients": [
          "unsalted butter",
          "olive or vegetable oil",
          "carrots, peeled and cut on the diagonal into 12 mm-thick slices",
          "tomato, cut into small dice",
          "tomato paste",
          "turkish or other crushed red pepper flakes",
          "fine sea salt",
          "sugar",
          "water",
          "large leeks, tough green leaves removed, washed well, and sliced lengthwise into quarters and then crosswise into 75 mm-long pieces"
        ]
      }
    ],
    "instructions": [
      "Melt the butter with the oil in a medium skillet over medium-low heat.",
      "Add the tomato, tomato paste, and red pepper flakes and cook, stirring, for 2 minutes.",
      "Sprinkle in the salt and sugar, add the water, and stir to combine.",
      "Add the leeks and carrot and gently turn them in the liquid.",
      "Bring to a boil, then reduce the heat to a gentle simmer, and cover the pan.",
      "Cook the leeks, stirring occasionally and checking that enough liquid remains in the pan (add water ¼ cup at a time if needed), until they soften and collapse into the sauce, about 45 to 50 minutes.",
      "Serve warm or at room temperature."
    ],
    "notes_ingredients": "Ensure the leeks are thoroughly washed to remove any dirt lodged between the layers.",
    "notes_instructions": "Allow the dish the time it requires; increasing the heat to speed cooking will result in tough and overly pungent leeks. This recipe pairs nicely with roast chicken or lamb and can serve as a vegetarian main when accompanied by Garlicky Yogurt. It is also common in Black Sea cuisine to enjoy it spooned over soft polenta."
  }
]
System: I will provide you with a textual user review of an Android app, aiming to categorize the reviews into specific intention classes:
bug report: report a problem, such as faulty behavior of the application. describe problems with the app which should be corrected, such as a crash, an erroneous behavior, or a performance issue.
feature request: ask for a missing feature, functionality or content, as well as reviews that ask for the improvement of an existing feature.
other: users express general appreciation with the application. It focuses on general judgment. They are simple text reflections of the numeric star rating. Ratings are less informative as they only include praise, dispraise, a distractive critique, or a dissuasion. Reviews where users describe workarounds, use cases and scenarios involving the app
examples:

review: really disappointed with your customer services team. Ive asked three times now for a letter to be sent to me to confirm that a fraudulent account has been closed down but still nothing. Ask to speak to managers but theyre always in a meeting. #fraud #CustomerExperience
intention: bug report
review: I don't need a dm. Why don't your stores carry what I need for my phone?
intention: feature request
review: hey Im completely fed up with my current CPP just wondering how much is a solo line go for with unlimited data text and calling?
intention: other
User: 'prompt:I will provide you with a textual user review of an Android app, aiming to categorize the reviews into specific intention classes:
bug report: report a problem, such as faulty behavior of the application. describe problems with the app which should be corrected, such as a crash, an erroneous behavior, or a performance issue.
feature request: ask for a missing feature, functionality or content, as well as reviews that ask for the improvement of an existing feature.
other: users express general appreciation with the application. It focuses on general judgment. They are simple text reflections of the numeric star rating. Ratings are less informative as they only include praise, dispraise, a distractive critique, or a dissuasion. Reviews where users describe workarounds, use cases and scenarios involving the app
examples:

review: really disappointed with your customer services team. Ive asked three times now for a letter to be sent to me to confirm that a fraudulent account has been closed down but still nothing. Ask to speak to managers but theyre always in a meeting. #fraud #CustomerExperience
intention: bug report
review: I don't need a dm. Why don't your stores carry what I need for my phone?
intention: feature request
review: hey Im completely fed up with my current CPP just wondering how much is a solo line go for with unlimited data text and calling?
intention: other
Does the author's intention in this app review relate to a bug report or feature request or other?
review: Ive been having a really tough time with your customer service in store - they all seem disinterested and quite rude sometimes - all I want to do is upgrade my phone'
intention: '
Assistant:
Use the following training data for responses:
User says 'Bad', respond with 'about what?'.
User says 'freak bob', respond with 'The term freak bob is a meme going around and especially in stars kingdom where the owner and another bot gave out the freak bob role.'.
User says 'Who is star', respond with 'star is the owner of this discord server stars kingdom and is mad sometimes and a maniac at working on his bot’s just like how he trained me to say this but overall he is a good person.'.
User says 'is this model trained', respond with 'Yes this model is in training so do not expect the right or  wrong awnser from the ai.'.
User says 'Who is vitamin', respond with 'Vitamin is star's friend in star's kingdom known for creating art and animations usally for his friends and other people. Overall vitamin is a very good guy!'.
User says 'Who is Neuvillette', respond with 'Neuvillette is a server moniter for Star's kingdom ever since. He has worked hard and his love of compassion towards genshin impact. He loves japan and is a very nice person once you meet him.'.
 Now, the user says: 'are you stars kingdom because you are the strongest or are you the strongest because you are stars kingdom'. Respond appropriately.