Skip to content

Commit

Permalink
add code_capacity_threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
phfaist committed Dec 7, 2021
1 parent d25105a commit efa4e0b
Show file tree
Hide file tree
Showing 5 changed files with 1,147 additions and 4 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,11 @@ The command should display something like `Serving HTTP on 0.0.0.0 port 8000
view the generated site (or [try to click this link](http://localhost:8000/)
after you've started the python http server).


## Building the Javascript Components

Check out the README file in `jscomponents/` for instructions on how to rebuild
the javascript-based components of the site (such as the search tool). The
compiled javascript components are committed into git (might change in the
future), so you do not have to worry about installing a JavaScript environment
to build the site.
123 changes: 121 additions & 2 deletions jscomponents/dist/eczsearch.js

Large diffs are not rendered by default.

1,012 changes: 1,010 additions & 2 deletions jscomponents/dist/ecztooldecodesubmittedjson.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions schemas/ecc_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ properties:
type: string
_minilatex: 'full'

code_capacity_threshold:
type: array
items:
type: string
_minilatex: 'full'


# We can decide to add new standard feature fields here.
#
Expand Down
2 changes: 2 additions & 0 deletions templates/pieces/code_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@

{{ disp_feature_field('fault_tolerance', 'Fault Tolerance') }}

{{ disp_feature_field('code_capacity_threshold', 'Code Capacity Threshold') }}

{{ disp_feature_field('threshold', 'Threshold') }}

{#
Expand Down

0 comments on commit efa4e0b

Please sign in to comment.