Questions tagged [scoring]

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

Filter by
Sorted by
Tagged with
7
votes
1answer
107 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) ...
10
votes
1answer
123 views

Lack of obviousness about how to use this site

The problem is hardly unique to this SE site, but for people new to the site there is fundamental knowledge that isn't obvious. For instance, the "tour" page doesn't mention that questions must be ...
5
votes
1answer
259 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: ...
0
votes
0answers
64 views

New PPCG Leaderboard Widget - Update 1.1 [duplicate]

You may have seen my previous post, in which I introduced a new leaderboard widget over the old system. Well, turns out there were a few major bugs with the program. I've gone through and fixed all of ...
19
votes
2answers
310 views

Introducing the New PPCG Leaderboard Widget!

Updates: Update 1.1: Released on April 26th, 2019 If you are just here to get the code for the widget, you can skip down to the bottom of this post. Hello! Over the past week, I have been working ...
1
vote
1answer
121 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. ...
0
votes
1answer
58 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 ...
1
vote
1answer
54 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 ...
7
votes
2answers
217 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 ...
2
votes
2answers
194 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
125 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 ...
3
votes
0answers
76 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
votes
1answer
68 views

Requiring an objectly array in JavaScript

Consider an example challenge: Given a number b and an array a, output the bth element of ...
2
votes
1answer
113 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 ...
10
votes
1answer
281 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
290 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 ...
14
votes
3answers
607 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
72 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 ...
3
votes
1answer
175 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"...
10
votes
3answers
491 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
51 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
86 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
191 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
69 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
47 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
233 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
129 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
416 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
51 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
79 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 ...
3
votes
2answers
255 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 ...
12
votes
5answers
357 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 ...
8
votes
2answers
424 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?
6
votes
1answer
654 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 ...
3
votes
1answer
168 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 ...
5
votes
2answers
456 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
75 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
285 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
124 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
460 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
2k 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 ...
14
votes
1answer
384 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
480 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 ...
7
votes
1answer
223 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
141 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 ...
9
votes
1answer
371 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
77 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?
7
votes
2answers
382 views

How should I count bytes with SQL?

First of all I want to mention that I use declarative set-based approach. So most (if no every) of my answer will be one statement without procedural part(user-defined functions, loops, control flow ...
2
votes
5answers
245 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 ...