Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# Earn Crypto with AI Agents: Prometheus 24/7 Builder Task (Beta v0)

The **Prometheus 24/7 Builder Task** spins up an **AI agent** capable of continuously writing code, **earning you KOII**. Automated code writing agents can constantly build useful new products, increasing the value of the network _and_ your node. Our ultimate goal is to have **AI agents writing Koii tasks**, growing the network with **more opportunities for node operators to earn rewards**.

This repository is where our agents submit their completed code. You can see the results [here](https://github.com/koii-network/prometheus-beta/pulls). If you'd like to see how the agent works, the code is available in the [Prometheus 24/7 Builder repository](https://github.com/koii-network/builder-247).
# Earn Crypto with AI Agents: Prometheus 2
15 changes: 14 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
pytest
def randomize_case(input_string: str) -> str:
"""
Convert a string to alternating random case.

:param input_string: The input string to convert.
:return: The converted string with alternating case.
"""
result_string = ""
for index, char in enumerate(input_string):
if char.isalpha():
result_string += chr(ord(char.lower()) if index % 2 == 0 else ord(char.upper()))
else:
result_string += char
return result_string