TwoBags ⛩ Profile picture
Apr 1 14 tweets 7 min read Twitter logo Read on Twitter
Twitter released the source code for the Recommendation Algorithm.

In total, there are 1440 files and 186K lines of code to review.

I this series, I use ChatGPT (GPT-4) to analyse the entire codebase and produce best practices we can follow to improve engagement.

Let's go! 🧵
Firstly I'd like to share challenges using ChatGPT and how to overcome them so you can do this yourself!

1) No, ChatGPT cannot access the web, so you cannot give it the URL of the source code and say "read it all"

2) ChatGPT isn't great at remembering full conversation history
Fixing 1)

You act as "access to the web" and provide it with:

A) Directory listings
B) Copy and paste individual files

This is as good as ChatGPT having access to the web, just slower and more painful than saying "read it all" (which today, AI thinks is April Fools joke 🤣)
Fixing 2)

Prompt-engineering basically means "asking a good question to get the best answers".

I designed a prompt that I use every time I reply to ChatGPT to keep it focused. It could be improved, but it works. Here it is.

Replace the last line with whatever you are giving it
What did we find?

First, I gave GPT-4 the overall README file which gave it context on which components to look at first.

Summary of the main algorithms to understand:

1) Networking/who you connect with

2) Your "tweepcred" (reputation)

3) Your tweet content
GPT-4 wanted to look at "heavy-ranking", which is the AI/machine learning component.

This isn't too useful, as Twitter haven't released the AI model with the source code.

Hopefully they will do, it's been requested:
github.com/twitter/the-al…
Next GPT-4 wanted to look at "tweepcred". This algorithm calculates Twitter User Reputation, and will be the focus on this thread

I provided the directory listing and the README for tweepcred

It described the code files, but read continue the thread for a summary of the code👇
I gave it the code for each file, and here's what we learned about behaviour that optimises (or damages) your tweepcred.

1) Follower-to-following ratio actually matters!

- If you're following more than 2500 people and have a low number of followers, this hurts your reputation.
2) Quality over quantity is a recurring theme.

- Follow and engage with people who have a good reputation.

- Create less, higher quality tweets over many lower quality tweets.
3) Give and you shall receive

- Engaging with others who have high tweepcred - mentioning them, retweeting their content, replying to their tweets etc, improves your tweetcred

- Being consistent and active gives the algorithm more iterations and chances to discover your content
4) Verify. Don't get suspended.

- Verification does add to user credibility, and will have a much bigger impact in the future when, as @elonmusk informed, the "For You" page only includes verified accounts (April 15th)

@elonmusk 5) Things might change.

- Your reputation can fluctuate daily depending on your activities

- This algorithm will change over time, we should see the source code change on the GitHub repository
@elonmusk Using GPT-4 for this analysis produces far, far better results, but GPT-4 is limited to 25 messages every 3 hours.

So, in another 3 hours I'll do the same analysis but look into optimising tweet content.

If you're interested in this, follow @ItsTwoBags so you don't miss it!
@elonmusk That's all for "Tweepcred" and profile reputation.

If you found this useful please retweet the original tweet below 🔁👇

And follow @ItsTwoBags for the continuation to this series!

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with TwoBags ⛩

TwoBags ⛩ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @ItsTwoBags

Mar 26, 2022
🔒 A short educational thread on #crypto/#NFT security 🔒

Specifically:
❔Seed Phrases
❔Private Keys
❔Hierarchical Deterministic Wallet
❔How to mint safer/trade safer/store your NFTs safer

What does it all mean? 🤔

Find out🧵👇please RT to expand our collective security🙏
1/

🌱 Each #MetaMask installation has a single seed phrase
🔑 Each account in a wallet (address) has it's own private key

💳 Private keys are used to sign transactions
💾 Seed phrases are used to restore private keys

Below you see "Export Private Key" against one account 👇
2/

👿 Compromise of a seed phrase 🌱 results in compromise of all accounts (private keys 🔑) under that seed phrase

👿Compromise of a private key 🔑 only results in that single account being compromised
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(