Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [scoring]

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

1
vote
1answer
56 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 ...
0
votes
1answer
51 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 ...
6
votes
2answers
186 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 ...
0
votes
2answers
163 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 ...
0
votes
3answers
121 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 ...
2
votes
0answers
68 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) ...
1
vote
1answer
64 views

Requiring an objectly array in JavaScript

Consider an example challenge: Given a number b and an array a, output the bth element of ...
1
vote
1answer
86 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 ...
11
votes
1answer
240 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 ...
5
votes
1answer
284 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 ...
15
votes
3answers
467 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 ...
0
votes
0answers
63 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 ...
2
votes
1answer
158 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"...
9
votes
3answers
431 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: ...
0
votes
0answers
48 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 ...
2
votes
1answer
82 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 ...
-3
votes
2answers
153 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,...
0
votes
1answer
67 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 ...
0
votes
0answers
44 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?
8
votes
1answer
217 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 ...
-3
votes
1answer
119 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 ...
13
votes
5answers
402 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 ...
1
vote
1answer
82 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 ...
3
votes
0answers
49 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), ...
0
votes
2answers
76 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 ...
12
votes
5answers
322 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 in ...
6
votes
2answers
316 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?
5
votes
1answer
345 views

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

(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 ...
5
votes
2answers
313 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 ...
1
vote
1answer
70 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. ...
10
votes
2answers
270 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 ...
0
votes
0answers
113 views

How to score a golflang with a 9-bit character set [duplicate]

So I’ve been thinking about creating a golflang somewhat inspired by Jelly, but I’ve decided for it to be encoded in a 9-bit codepage, so that there are 512 possible characters to use. I can come up ...
3
votes
2answers
418 views

Jelly- can we really score it by character count? [duplicate]

Jelly is one of those languages that doesn't use ANSI text in its code. Why should we score Jelly by its character count when each character can take up to 4 bytes? For example, take this answer (...
49
votes
0answers
1k views

How to count bytes FAQ

We've got a lot of questions asking how to count the bytes in different situations. This question is here to put them all in one spot. General questions How to count "interactive" answers and flags ...
15
votes
1answer
361 views

On using multiple languages for a singular code golf submission

I was wondering if it were possible to use multiple languages in the same submission. Not a polyglot, but using each of the languages. I have two thoughts on this. One language invokes the other. Let'...
12
votes
2answers
416 views

Byte count for imports (or other things) not needed for definition, but for execution

When we define a function that needs an import, we have to add it to the byte count. So far, so good. What about cases where the definition itself doesn't need the ...
8
votes
1answer
205 views

Bytes for changing a configuration file before running a program?

In this answer using Python's turtle module, I discovered that some default settings for the turtles are set in a configuration file called ...
2
votes
2answers
134 views

Do I need to use imports or can I call a class explicity?

New to code golf and tried finding an answer to this question but couldn't (surprisingly) When scoring my golfed Java code I was told that I need to add in my imports as part of my score. My question ...
10
votes
1answer
335 views

Are languages targeting FPGAs or other non-standard/non-sequential computing platforms acceptable?

So far, almost all submissions on this site are ones that target "standard" computers, namely devices that execute code in a typically linear fashion, with a standard variety of inputs/outputs (...
0
votes
0answers
68 views

Scoring tables in Desmos

There is not a way to copy-paste tables in Desmos & one of my golfs require a table. How should we score tables?
3
votes
5answers
204 views

How to score Box-256 answers

Since asking what I believe is the first Box-256 based question on Code Golf (Box-256 Assembly - BIG SQUARE II) there has been some confusion with regards to scoring. I'd like this question to be a ...
9
votes
1answer
340 views

Scoring Java lambdas with imports [duplicate]

In this answer, I used a java.util.List as a parameter to an anonymous function (lambda) answer. So, my question is, Should this import be counted to the byte ...
4
votes
0answers
168 views

Tag / challenge type proposal: Size coding [duplicate]

This question and proposal is different from this one, since this proposal includes a scoring mechanism that is vastly different from code-golf. What is size coding? Size coding as a form of ...
8
votes
3answers
323 views

What is the best way to actually time an answer for fastest-code challenges

Is there a "best" way to do this? I imagine one could write a bash script that would print the time, execute the program, and then print the time again, but perhaps there are pitfalls with this. Is ...
4
votes
1answer
100 views

How can I ask a question scored by complexity?

I want to post a challenge where the scoring is based on complexity but I don't know a) how to define this and b) how well it would be received. As an example, say the FPU (Floating Point Unit) has ...
0
votes
1answer
72 views

How to score adding a Perl library on the command line? [duplicate]

I know the Perl -p flag is counted as one byte. I've just added the Perl bignum library to my answer to make it shorter. I'm using it like this: ...
12
votes
1answer
411 views

On scoring imported functions

There are lots of questions about whether to count the bytes in an import statement, etc. This question is not about that. Instead, this question is more inline with this question but I think it would ...
16
votes
3answers
134 views

Should we standardise how percentage bonuses combine?

Some questions have a number of bonuses stated as percentages. For code golf (where the majority of these bonuses are seen) these will be percentage reductions of the score. If an answer achieves ...
3
votes
2answers
128 views

Should we consider the starting mechanism for Minecraft programs?

Time to add to the list of Minecraft Meta Questions! So, my question is fairly basic. When we run programs in other langs through the command line, we don't count anything but their flags. For ...
12
votes
5answers
213 views

Should locale be explicitly specified?

Triggered by this comment. Some code-golf answers assume a specific locale. For example this answer assumes a locale of en_US.UTF-8. If the default locale on a ...