kleros/kleros-v2

View on GitHub
fix(subgraph): recompute coherence score if totalCoherent changed #7339
marino authored 7f8be8ec
complete00:00:35
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-11-08T11:49:35.224897 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.224929 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.229759 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.229786 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.256150 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.256176 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.820449 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.820476 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.887747 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.887843 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.899019 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.899044 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.917654 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.917681 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.039970 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.040003 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.095635 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.095667 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.150307 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.150349 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.155524 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.155553 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.169981 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.170009 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.292261 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.292290 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.408207 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.408237 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.601691 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.601720 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.695598 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.695634 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.819548 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.819579 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.017103 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.017134 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.043133 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.043166 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.046965 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.046992 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.049837 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.049864 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.051422 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.051448 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.064702 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.064730 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.190734 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.190762 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.207708 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.207735 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-08T11:49:40.505928 #1]  INFO -- : Skipping file ./bot-pinner/src/add_hashes.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 47
    logger.info(f"Cycle starting from block #{block_number}. WANTED HASHES: {len(hashes_wanted)}")
                                                                                                ^
SyntaxError: invalid syntax


I, [2024-11-08T11:49:40.512853 #1]  INFO -- : Skipping file ./bot-pinner/src/tooling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    r = requests.post(f"{IPFS}/version")
                                      ^
SyntaxError: invalid syntax


W, [2024-11-08T11:49:42.175257 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.175350 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.214799 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.214968 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.256640 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.256678 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.357166 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.357348 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.530090 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.530210 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.553123 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.553152 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.576333 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.576424 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.773804 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.773852 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.844675 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.844719 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.896194 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.896395 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.899772 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.899806 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.905484 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.905564 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.089722 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.090496 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.256953 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.257283 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.531666 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.531900 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.698366 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.698425 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.837928 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.838030 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.156713 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.156837 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.213688 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.213968 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.216385 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.216412 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.217744 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.217779 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.218637 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.218662 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.227894 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.242939 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.512820 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.512860 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.524354 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.524577 #1]  WARN -- : Response status: 422
7
tslint
tslint engine documentation
View output
Could not find implementations for the following rules specified in the configuration:
    angular-whitespace
    banana-in-box
    templates-no-negated-async
    directive-selector
    component-selector
    use-input-property-decorator
    use-output-property-decorator
    use-host-property-decorator
    use-view-encapsulation
    no-attribute-parameter-decorator
    no-input-rename
    no-output-rename
    no-output-on-prefix
    no-forward-ref
    use-life-cycle-interface
    contextual-life-cycle
    trackBy-function
    use-pipe-transform-interface
    pipe-naming
    component-class-suffix
    directive-class-suffix
    no-case-with-or
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.