Skip navigation
colf has launched! compete by solving 10 coding challenges where you generate the code solution with…
0:00 / 0:23

colf has launched! compete by solving 10 coding challenges where you generate the code solution with…

eric zakariasson

@ericzakariasson89K followers

Visit on X
1,294 likesDownloadOriginal post

183,715 views

colf has launched! compete by solving 10 coding challenges where you generate the code solution with prompts. you win by having the least amount of tokens in your prompt and code try it out at colf​.dev

59 Comments

Comments from the original post on X (Twitter)

  • eric zakariasson's profile picture

    @ericzakariasson

    i built this to make it easier to understand how prompting and code generation work under the hood. once you see how tokens map to code, you start to build intuition and can hopefully use it to write more performant prompt! available at

    88 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    here's how it works 1.write your prompt & see the token count update as you type generate to send the prompt to the model and watch it stream code into the viewer 3.tests run automatically to verify solution 4.submit & see how you rank on the leaderboard

    34 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    let me know what you think and send any feedback you have!

    30 likes

  • John's profile picture

    @jrysana

    I've reached #1 on the whole site and most of the individual leaderboards, but I'm pretty confident a <700 total is possible. I suspect a few people on the individual leaderboards have figured out the current 'meta' and will land <800 total on all 10 pretty soon.

    29 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    nice. the token ratio says a lot haha

    9 likes

  • John's profile picture

    @jrysana

    Humans win for now

    7 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    ok i checked your submissions, well played sir

    6 likes

  • John's profile picture

    @jrysana

    Thanks! For most of them I'm pretty confident there's a more elegant and more interesting shorter solution but I wanted to sprint to 10/10 #1 first before refining Not proud of the regex one... yet

    7 likes

  • dmnk's profile picture

    @filligerr

    @ericzakariasson Well played, as soon as I saw the token ratio I got a bit sad Using the LLM as an autocomplete seems to be meta but should be discouraged with a similarity score or something punishing overlap Thoughts? Would love to see a 5 token prompt finish even if code is inefficient

    5 likes

  • John's profile picture

    @jrysana

    @ericzakariasson I agree to some extent which is why I asked @ericzakariasson to add a prompts-only leaderboard earlier today - which he did (impressively fast btw) If you go to the global leaderboard -> full leaderboard, there's a link to it near the top. More interesting results & I'm not #1

    4 likes

  • sui's profile picture

    @birdabo

    i thought bro launched a coin 😭

    13 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    lmao

    6 likes

  • Pietro Schirano's profile picture

    @skirano

    Right behind you ahah I am going to try again today, this is fun!

    12 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    haha nice! i need to put some more time into it as well

    8 likes

  • david fant's profile picture

    @da_fant

    this nerd sniped me last night - very addictive

    8 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    thank you for being an early tester!!

    5 likes

  • John's profile picture

    @jrysana

    it would be cool if there was a leaderboard for shortest successful prompt on top of just shorted combined size

    6 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    mm good idea can add that

    4 likes

  • Michael Feldstein's profile picture

    @msfeldstein

    colf

    3 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    can i see a hole in one?

    2 likes