@@ -19,10 +19,10 @@ jobs:
1919 - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
2020 with :
2121 python-version : " 3.11"
22- - run : python -m pip install numpy
22+ - run : python -m pip install numpy cairosvg
2323 - run : python -m scripts.export_offline_evidence --output docs/benchmark-evidence/offline-fixtures-v152.json
24- - run : python scripts/render_benchmark_report.py --report docs/benchmark-evidence/offline-fixtures-v152.json --output /tmp/context-efficiency.svg
25- - run : python -m scripts.render_benchmark_examples --report docs/benchmark-evidence/offline-fixtures-v152.json --output /tmp/evidence-backed-agent-examples.svg
24+ - run : python scripts/render_benchmark_report.py --report docs/benchmark-evidence/offline-fixtures-v152.json --output /tmp/context-efficiency.svg --png-output /tmp/context-efficiency.png
25+ - run : python -m scripts.render_benchmark_examples --report docs/benchmark-evidence/offline-fixtures-v152.json --output /tmp/evidence-backed-agent-examples.svg --png-output /tmp/evidence-backed-agent-examples.png
2626 - name : Show generated public artifacts
2727 run : |
2828 echo "BEGIN_OFFLINE_FIXTURES_JSON"
3737 echo "BEGIN_EVIDENCE_BACKED_EXAMPLES_SVG"
3838 cat /tmp/evidence-backed-agent-examples.svg
3939 echo "END_EVIDENCE_BACKED_EXAMPLES_SVG"
40+ echo "BEGIN_CONTEXT_EFFICIENCY_PNG_BASE64"
41+ base64 -w 76 /tmp/context-efficiency.png
42+ echo "END_CONTEXT_EFFICIENCY_PNG_BASE64"
43+ echo "BEGIN_EVIDENCE_BACKED_EXAMPLES_PNG_BASE64"
44+ base64 -w 76 /tmp/evidence-backed-agent-examples.png
45+ echo "END_EVIDENCE_BACKED_EXAMPLES_PNG_BASE64"
4046 - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
4147 with :
4248 name : offline-fixtures-v152
4551 docs/benchmark-evidence/offline-fixtures-v152.json.sha256
4652 /tmp/context-efficiency.svg
4753 /tmp/evidence-backed-agent-examples.svg
54+ /tmp/context-efficiency.png
55+ /tmp/evidence-backed-agent-examples.png
4856 retention-days : 1
0 commit comments