Questions tagged [scoring]

For questions about scoring a challenge or how to score a particular language

Filter by
Sorted by
Tagged with
7 votes
0 answers
196 views

A clarification on Vyncode [closed]

This was prompted by the recent meta post about byte compression in scores, as well as other bits of confusion and uncertainty I've seen on the site. If you've been around on the main site in the last ...
lyxal's user avatar
  • 32.3k
-3 votes
3 answers
171 views

Byte compression in scores

I am asking this because Vyxal, and mainly Vyxal has a compression algorithm to shave bytes off. I think of this as a bit unfair, so I would like to propose the following: If a programming language ...
Joao-3's user avatar
  • 683
1 vote
1 answer
114 views

What counts towards the byte count in a code golf answer?

I use Racket as my primary programming language and have been having fun the past week solving challenges using it. I came across a few answers from other programming languages that use TIO's header ...
Ed The ''Pro'''s user avatar
1 vote
1 answer
63 views

Size in DB ?for opcode submission

If an opcode solution uses but doesn't rely on value of somewhere At the beginning/end of program In the middle of program , then do these count as program size? Example where placed at end: ...
l4m2's user avatar
  • 20.5k
1 vote
4 answers
152 views

Desmos Active Sliders

The Desmos Graphing Calculator, or Desmos, has sliders, which can run, animating a graph. Also, they can have multiple animation modes: (default) loop forwards an backwards, repeat in one direction, ...
Dadsdy's user avatar
  • 2,035
12 votes
5 answers
408 views

Allow answers to be scored in things other than bytes to stop the log byte madness

On January 4th, 2022, it was decided we would allow scoring in fractional bytes. A decision I mostly agree with. Just to recap, the main reason this is beneficial for the site is: It allows comparing ...
mousetail's user avatar
  • 11.8k
7 votes
0 answers
201 views

Does the initial `:` in a TI-BASIC program count?

According to this meta post, TI-BASIC is scored in tokens rather than characters, to more accurately reflect the byte count in-memory. On my graphing calculator (TI-84 Plus C Silver Edition), the ...
Bbrk24's user avatar
  • 2,745
3 votes
1 answer
85 views

Is byte count on TIO valid, specifically for non-ASCII C code?

When I have non-ASCII characters in my C code, TIO counts them as 1 byte. For example, the following C program prints 56 music-related characters on the terminal. Link TIO reports its length as "...
anatolyg's user avatar
  • 13.1k
2 votes
2 answers
76 views

Byte counting for BASIC style DATA / READ inputs

Background Many BASIC dialects idiomatically use DATA and READ commands to store and read input data from the source code. We ...
Taylor Alex Raine's user avatar
6 votes
1 answer
200 views

How should taking in string input be scored in GeoGebra?

I have recently started to use GeoGebra for some code golf challenges involving strings, and have come across a conundrum which I want to ask the meta about, and prompts the more general question of ...
Aiden Chow's user avatar
  • 12.7k
19 votes
1 answer
208 views

Tag proposal: [self-scoring]

I'd like to propose self-scoring or a similar tag, but I'd like to get some feedback on whether this is useful and how the tag might work. First the proposal: self-scoring is a scoring criterion ...
Wheat Wizard's user avatar
  • 96.5k
15 votes
4 answers
1k views

What is our consensus for fractional byte functions?

In a discussion about SBCSs and other code pages, fractional byte counts were briefly brought up. I brought up our consensus that fractional byte programs are disallowed, and it was pointed out that ...
Rydwolf Programs's user avatar
4 votes
3 answers
316 views

Online tool to determine number of bytes for UTF-8 characters?

Is there an online tool that will tell me the number of bytes in a UTF-8 character? Or, if not, how do I determine this? I'm currently trying to determine the number of the bytes for the left and ...
theorist's user avatar
  • 1,477
1 vote
1 answer
131 views

What to count in assembly?

Yes, I've checked this post (How are bytes counted in assembly), but I'm asking a different question. I'm asking, if I have an .asm file, an ...
atzlt's user avatar
  • 487
11 votes
1 answer
402 views

Scoring Desmos equations

The Desmos graphing calculator, commonly referred to as just Desmos1, has been used for a number of answers, by me as well as others. However, scoring (as well as I/O, but that's for another post) ...
Ethan Chapman's user avatar
5 votes
1 answer
635 views

Zsh: Functions and Math functions

I have been using functions for Zsh submissions for some time. I typically submit the body alone, as the body can be run as a full program with no modification: ...
GammaFunction's user avatar
1 vote
1 answer
140 views

It seems the consensus on Scratch is to use scratchblocks2 syntax, but what about "when green flag clicked"?

In many code-golf Scratch submissions, I see when green flag clicked used, when when gf clicked is also valid in scratchblocks2. ...
Silas Reel's user avatar
0 votes
1 answer
62 views

How to score MathNode? [duplicate]

MathNode is a graphical language made by myself with an interpreter currently not publicized, so I'm asking this ahead of time. In MathNode, surprise surprise! You have nodes. These nodes can be ...
kepe's user avatar
  • 927
1 vote
1 answer
62 views

Judging the score of physically constructed electronic logic

How would physically constructed logic be scored? Say, for example, a mixture of resistors, diodes, wires, and 74xx/4000 type ICs. Handmade logic fits the "programming language" criteria, as using ...
moonheart08's user avatar
7 votes
2 answers
253 views

Definition of a Function in Concatenative Languages

Concatenative languages are languages where juxtaposition of functions represents composition. Programs consist of the primitives in the language combining to form a large function which takes program ...
Esolanging Fruit's user avatar
2 votes
2 answers
275 views

What exactly is a "byte" here?

Possibly relevant. So I was looking at this answer and was amazed by the compactness and unreadability, when I suddenly thought: "That are an awful lot of non standard characters!" So I get that ...
SK19's user avatar
  • 181
0 votes
3 answers
138 views

Scoring that rewards useability

In my dream world, I would rather have code challenges generate a code that's actually useful in the real world, a code that makes its way to be an idiom, to be used in real world projects, and put in ...
Ignat Insarov's user avatar
3 votes
0 answers
89 views

List of Good Numeric Scoring Systems

I suggest that we should have a list of scoring functions. When there is only one variable in the score for example: Length of submission (code-golf) Portion of test cases passed (test-battery) ...
Frames Catherine White's user avatar
-1 votes
1 answer
76 views

Requiring an objectly array in JavaScript

Consider an example challenge: Given a number b and an array a, output the bth element of ...
l4m2's user avatar
  • 20.5k
2 votes
1 answer
151 views

Rust Golfing Crates

So, i have started creating a golfing library for Rust, as i saw some questions about it here, with some pretty good response. The usual requirement, was usually including the include statement in the ...
Håvard Nygård's user avatar
11 votes
1 answer
361 views

Is a transliteration tool enough to grant count as SBCS?

Prompted by this. I'll speak about Dyalog APL here, but this could really apply to any language. Background Dyalog APL has its own SBCS called ⎕AV. For backwards ...
Adám's user avatar
  • 29.9k
5 votes
1 answer
298 views

Measuring Sticky Tape in Bytes

This answer: https://codegolf.stackexchange.com/a/107882/64538 received a comment which reads: Hello, and welcome to PPCG! I don't know if tape is valid, but it should at least be 1 byte. Is this ...
12Me21's user avatar
  • 6,641
15 votes
3 answers
742 views

A proposal on command line flags [duplicate]

I've been thinking about command line flags for a while, and I think that we should stop adding them to our byte counts. And instead consider different invocations to be different languages. Now ...
Wheat Wizard's user avatar
  • 96.5k
0 votes
0 answers
82 views

Can I create own language and count multibyte characters as single bytes? [duplicate]

So, I'm creating a language using UTF-8 characters. It is a functional language, but I decided to create a golfing version of it. The problem is that the golfed functions use multibyte characters, so ...
RedClover's user avatar
  • 747
4 votes
1 answer
193 views

How should a full program in R be invoked?

Related to the discussion in this post. There are multiple ways of executing an R-file. Each of these methods have either challenges in input or output. Which are acceptable to count as "Full program"...
JAD's user avatar
  • 2,984
10 votes
3 answers
541 views

Byte count for named, recursive lambda expressions in C# answers

I have been questioned about the byte count in my C# answer for the The Snail in the Well challenge. Usually C# answers only need to count the following bytes: ...
Charlie's user avatar
  • 12.8k
0 votes
0 answers
56 views

How should we score programs in languages that tokenize instructions? [duplicate]

I feel like this should be said, because many answers have been made in TI-BASIC, Applesoft BASIC, and other languages that tokenize instructions. How exactly should they be scored? Should we score ...
ckjbgames's user avatar
  • 1,309
2 votes
1 answer
95 views

Byte count for programs in visual languages

for code golf challenges, how would bytes be counted for visual programming/patcher languages like puredata? I thought maybe a system based on the language's saved file size for a patch, but that ...
lukeoftheaura's user avatar
-3 votes
2 answers
230 views

How do we count bytes in BBC micro:bit languages? [duplicate]

BBC micro:bit is a piece of hardware wich allows to to run code, such as Python or Javascript, that is custom made for the micro:bit chip. However, it in itself is not a programming language. Instead,...
caird coinheringaahin g's user avatar
0 votes
1 answer
78 views

Can a language containing very few characters be mapped to only several bits to reduce byte counts? [duplicate]

For example, could I invent a language that contained only two characters (for example 1, and 0) and use it to answer a question (assuming it fulfilled all the necessary site criteria), and then score ...
Gryphon's user avatar
  • 7,199
0 votes
0 answers
49 views

What should be done when there are joint winners? [duplicate]

On the question How long is my number: Restricted Version, there are multiple answers which are 1 byte long? How should judge which answer to give the green check to?
Beta Decay's user avatar
  • 23.3k
8 votes
1 answer
256 views

Scoring mandatory but varying command-line arguments [duplicate]

I made a language (and its not based on Brain-flak for once!). My language, Klein requires that you specify a topological surface in which the program is embedded. Currently this means passing 3 ...
Wheat Wizard's user avatar
  • 96.5k
-3 votes
1 answer
142 views

How should I score my new language?

Disclaimer: a symbol is in this post. This is not a swastika, this is a religious Hindu symbol. I apologise in advance if I cause any offence I am currently ...
caird coinheringaahin g's user avatar
12 votes
5 answers
441 views

Potential execution flag rule break

I am currently developing a golfing language for a specific type of task. I was hoping to use some command line flags for different options in the language. Since the language is intended to be a ...
Wheat Wizard's user avatar
  • 96.5k
1 vote
1 answer
85 views

Language util name byte counting

I'm trying to figure out how the byte counting works in "Sum the numbers on standard in". In one answer using the jq util counts the non-space bytes after the util ...
agc's user avatar
  • 151
3 votes
0 answers
52 views

Answer-Chaining Tree/Leaderboard Snippet

This thread is devoted to the development of an answer-chaining stack snippet, which was originally used in Evolution of OEIS. By making this snippet available here (following this meta guideline), ...
PhiNotPi's user avatar
  • 29k
0 votes
2 answers
86 views

How do mandatory flags in new languages get counted [duplicate]

This is different then this I am writing a new code-golf language and am thinking about making two modes. One would be stack and other tacit. However you would have to specify what one you want to ...
user avatar
3 votes
2 answers
356 views

How should the length of a Commodore 64 BASIC program be measured?

Commodore 64 BASIC has abbreviated forms for most of its keywords, ranging from ? being short for PRINT (common across many ...
Mark's user avatar
  • 2,405
12 votes
5 answers
420 views

How do we score turing complete cellular automata (GoL, Wireworld, etc)

Here is a checkbox I made in wireworld, for the "Create a checkbox!" question. The problem is, we don't have a way to score answers like these. Do we score these by pixels, like piet did, or ...
Matthew Roh's user avatar
  • 5,353
12 votes
3 answers
704 views

How to determine the length of a Piet program?

I noticed that Piet is not mentioned in the How to count bytes FAQ. How should we determine the length of a piet program?
Mike Bufardeci's user avatar
8 votes
1 answer
995 views

How to count bytes in 7 (and other languages that use fractional numbers of bytes) [duplicate]

(See also this question, which is similar, but talks about the situation where the language is normally stored on disk with one command per byte.) This question originally came up in connection with ...
user avatar
3 votes
1 answer
185 views

Should a command line argument for increasing memory limits count towards byte/character count?

Most Java interpreters have a predefined memory limit. However, it's a -X setting - an implementation specific setting. With C, the call stack is usually heavily ...
SoniEx2's user avatar
  • 377
5 votes
2 answers
635 views

Scoring Algodoo and other physics sims with logic capability

Although physics simulator Algodoo has been used it to construct questions here, I just used it for a joke answer. For more involved answers, how would you score code length for something like a ...
wyldstallyns's user avatar
1 vote
1 answer
89 views

How to answer a Code Golf Puzzle [duplicate]

In some languages such as PHP you need to add these <?php ?> before you can start to program in PHP. And in C++ too. ...
BoeNoe's user avatar
  • 121
10 votes
2 answers
317 views

How to count bytes in languages with autoformatters [duplicate]

In QBasic, VBA, AppleScript, etc., there is an autoformatter that adds spaces and expands some syntactic sugar. For example, if I type this code: ?x*2 QBasic ...
DLosc's user avatar
  • 38k