Git Product home page Git Product logo

evalbot's People

Contributors

alexdaniel avatar arodland avatar diakopter avatar froggs avatar gfldex avatar krisshannon avatar lizmat avatar moritz avatar mouq avatar peschwa avatar pmichaud avatar raydiak avatar sergeyromanov avatar softmoth avatar sorear avatar stmuk avatar thundergnat avatar timtoady avatar zoffixznet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

evalbot's Issues

Truncation of output is done before comparison

Here's an example of me talking to the evalbot on irc:
[22:23] rpn: .say for 1..200
[22:23] niecza v24-95-ga6d4c5f: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤11␤12␤13␤14␤15␤16␤17␤18␤19␤20␤21␤22␤23␤24␤25␤26␤27␤28␤29␤30␤31␤32␤33␤34␤35␤36␤37␤38␤39␤40␤41␤42␤43␤44␤45␤46␤47␤48␤49␤50␤51␤52␤53␤54␤55␤56␤57␤58␤59␤60␤61␤62␤63␤64␤65␤66␤67␤68␤69␤70␤71␤72␤73␤74␤75␤76␤77␤78␤79␤80â�
[22:23] ..pugs: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤11␤12␤13␤14␤15␤16␤17␤18␤19␤20␤21␤22␤23␤24␤25␤26␤27␤28␤29␤30␤31␤32␤33␤34␤35␤36␤37␤38␤39␤40␤41␤42␤43␤44␤45␤46␤47␤48␤49␤50␤51␤52␤53␤54␤55␤56␤57␤58␤59␤60␤61␤62␤63␤64␤65␤66␤67␤68␤69␤70␤71␤72␤73␤74␤75␤76␤77␤78␤79␤80␤81␤82␤83␤
[22:23] ..rakudo 67c6fd: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤11␤12␤13␤14␤15␤16␤17␤18␤19␤20␤21␤22␤23␤24␤25␤26␤27␤28␤29␤30␤31␤32␤33␤34␤35␤36␤37␤38␤39␤40␤41␤42␤43␤44␤45␤46␤47␤48␤49␤50␤51␤52␤53␤54␤55␤56␤57␤58␤59␤60␤61␤62␤63␤64␤65␤66␤67␤68␤69␤70␤71␤72␤73␤74␤75␤76␤77␤78␤79␤80␤81␤8

All three perl6 implementations originally produced the same output (I hope!) but the results were not consolidated into one line, like the following:

[22:27] rpn: .say for 1..80
[22:27] rakudo 67c6fd, niecza v24-95-ga6d4c5f, pugs: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤11␤12␤13␤14␤15␤16␤17␤18␤19␤20␤21␤22␤23␤24␤25␤26␤27␤28␤29␤30␤31␤32␤33␤34␤35␤36␤37␤38␤39␤40␤41␤42␤43␤44␤45␤46␤47␤48␤49␤50␤51␤52␤53␤54␤55␤56␤57␤58␤59␤60␤61␤62␤63␤64␤65␤66␤67␤68␤69␤70␤71␤72␤73␤74␤75␤76â

Also, on a related note, when truncation occurs, the output is missing a » to match the « after the word OUTPUT.

Missing "»" after truncation

When the output is truncated, the final "»" is often missing if there is a multi-byte character at the end of the truncation:

04:36 <Mouq> rpn: .say for 1..200
04:36 <camelia> rakudo 223075, niecza v24-95-ga6d4c5f, pugs: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤11␤12␤13␤14␤15␤16␤17␤18␤19␤20␤21␤22␤23␤24␤25␤26␤27␤28␤29␤30␤31␤32␤33␤34␤35␤36␤37␤38␤39␤40␤41␤42␤43␤44␤45␤46␤47␤48␤49␤50␤51␤52␤53␤54␤55␤56␤57␤58␤59␤60␤61␤62␤63␤64␤65␤66␤67␤68␤69␤70␤71␤72␤73␤74␤75␤76␤77␤
04:40 <Mouq> rpn: .say for "↑"..*
04:41 <camelia> pugs: OUTPUT«(timeout)↑␤→␤↓␤↔␤↕␤↖␤↗␤↘␤↙␤↚␤↛␤↜␤↝␤↞␤↟␤↠␤↡␤↢␤↣␤↤␤↥␤↦␤↧␤↨␤↩␤↪␤↫␤↬␤↭␤↮␤↯␤↰␤↱␤↲␤↳␤↴␤↵␤↶␤↷␤↸␤↹␤↺␤↻␤↼␤↽␤↾␤↿␤⇀␤⇁␤⇂␤⇃␤⇄␤⇅␤⇆␤⇇␤⇈␤⇉␤⇊␤⇋␤⇌␤⇍␤⇎␤⇏␤⇐␤⇑␤⇒␤⇓␤⇔�
04:41 <camelia> ..niecza v24-95-ga6d4c5f: OUTPUT«(timeout)↑␤WTF␤WTG␤WTH␤WTI␤WTJ␤WTK␤WTL␤WTM␤WTN␤WTO␤WTP␤WTQ␤WTR␤WTS␤WTT␤WTU␤WTV␤WTW␤WTX␤WTY␤WTZ␤WUA␤WUB␤WUC␤WUD␤WUE␤WUF␤WUG␤WUH␤WUI␤WUJ␤WUK␤WUL␤WUM␤WUN␤WUO␤WUP␤WUQ␤WUR␤WUS␤WUT␤WUU␤WUV␤WUW␤WUX␤WUY␤WUZ␤WVA␤WVB␤WVC␤WVD␤WVE␤WVF␤WVG␤WVH␤WVI␤WVJ␤WVK␤WVL␤WVM␤W…»
04:41 <camelia> ..rakudo 223075: OUTPUT«(timeout)↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑␤↑��

replace `/tmp/...` in output

1:21 PM P m: say <<# foo>>
1:21 PM C<+camelia> rakudo-moar 9cfcb9: OUTPUT«===SORRY!=== Error while compiling /tmp/wTXSi7ITxR␤Unable to parse expression in shell-quote words; couldn't find final '>>' ␤at /tmp/wTXSi7ITxR:1␤------> say <<# foo>>⏏␤ expecting any of:␤ argument list␤ sh…»

could camelia replace /tmp/..../ with script?
it eats too many chars from the output :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.