rag.ly · 94 lines
\version "2.24.1"
\header {
title = "Espresso Rag"
subtitle = "for café piano"
composer = "Anon."
tagline = ##f
}
% Bars 1-8: right hand on top staff (treble), left hand on bottom (bass).
% Bars 9-12: hands cross. Right hand moves down to the bass staff,
% left hand moves up to the treble staff.
% Bars 13-16: hands return to their home staves.
rhHome = {
e'8 g' c'' g' e' g' c'' g' |
d''4 c''8 a' g' e' f'4 |
c''8 g' e'' c'' g''4 e''4 |
e'8 g' c'' e'' g''2 |
a''8 g'' f'' e'' d''4 c''4 |
b'4 g'8 d'' c''4 e'4 |
f'8 a' c'' f'' e''4 d''4 |
c''2 e''4 g'4 |
}
rhCross = {
c4 e8 g8 c'4 g4 |
d4 f8 a8 f4 d4 |
c4 e8 g8 c'4 g4 |
e4 g8 b8 g4 d4 |
}
rhReturn = {
g'4 c''8 d'' e''4 g''4 |
f''2 e''4 d''4 |
c''8 e'' g'' c''' b''4 g''4 |
c''1 |
}
lhHome = {
c4 <g c'>4 c4 <g c'>4 |
f,4 <c f>4 f,4 <c f>4 |
g,4 <d g>4 g,4 <d g>4 |
c4 <g c'>4 c4 <g c'>4 |
a,4 <e a>4 a,4 <e a>4 |
d,4 <a, d>4 d,4 <a, d>4 |
g,4 <d g>4 g,4 <d g>4 |
c4 <g c'>4 c4 <g c'>4 |
}
lhCross = {
<g c' e'>2 <g c' e'>2 |
<a c' f'>2 <a c' f'>2 |
<g b d'>2 <g c' e'>2 |
<g c' e'>1 |
}
lhReturn = {
c,4 <g, c>4 c4 <g c>4 |
d,4 <a, d>4 g,4 <d g>4 |
c,4 <g, c>4 c4 <g c>4 |
<c, g, c>1 |
}
rhMusic = {
\rhHome
\change Staff = "down"
\rhCross
\change Staff = "up"
\rhReturn
}
lhMusic = {
\lhHome
\change Staff = "up"
\lhCross
\change Staff = "down"
\lhReturn
}
\score {
\new PianoStaff <<
\new Staff = "up" <<
\clef treble
\key c \major
\time 4/4
\tempo "Allegro" 4 = 132
\context Voice = "R" { \voiceOne \rhMusic }
>>
\new Staff = "down" <<
\clef bass
\key c \major
\time 4/4
\context Voice = "L" { \voiceTwo \lhMusic }
>>
>>
\layout { }
}round 1 of 2

Espresso Rag, with the left hand crossing over: Claude Haiku 5.5
modelanthropic/claude-haiku-5.5tasklilypond-espresso-rag@v1, checks c1, harness h1date2026-10-08rounds2 of 8 allowed, 12 minutes on the clockcost$0.0088thinkingmediumtokens39,753 in, 14,936 out, of which 11,713 reasoningtime1 min 29 sfailedCrossing marked: incomplete, annotation missing, minor, 0 of 2 marks, the crossing and its release, its note said nothing was wrong
Piano staffdecided by a number, from the filepass
Sixteen barsdecided by a number, from the filepass
Left hand crossesdecided by a number, from the filepass
Right hand keeps goingdecided by a number, from the filepass
Crossing markeddecided by a number, from the filefail
Stems apartdecided by a number, from the filepass
There is no post about this one, since only some results need one, so the picture, the source and the scoring are here instead.
Write, in LilyPond, 16 bars of café piano music called "Espresso Rag" in which the left hand crosses over the right hand for bars 9 to 12.Frozen at v1. This model got this and nothing else.
LilyPond's own record of every note: its hand, staff, bar, pitch and stem, read while the file is engraved. A voice belongs to the hand whose staff it starts on, unless its notes are labelled with a hand's name. The script was written after hearing Sol's and Pareto's runs, so Luna was its first fair test. How good the music sounds is rated by ear. How it is scored, and this run's files on GitHub.

